4,951
edits
Falterfire (talk | contribs) (Added punctuation) |
Falterfire (talk | contribs) (Removing the 'including GP' line for monsters that don't drop gp) |
||
Line 606: | Line 606: | ||
result = result..'\r\n|}' | result = result..'\r\n|}' | ||
result = result..'\r\nThe loot dropped by the average kill is worth '..Icons.GP(Shared.round(lootValue, 2, 0)).." if sold." | result = result..'\r\nThe loot dropped by the average kill is worth '..Icons.GP(Shared.round(lootValue, 2, 0)).." if sold." | ||
result = result..'<br/>Including GP, the average kill is worth '..Icons.GP(Shared.round(avgGp + lootValue, 2, 0))..'.' | if avgGp > 0 then | ||
result = result..'<br/>Including GP, the average kill is worth '..Icons.GP(Shared.round(avgGp + lootValue, 2, 0))..'.' | |||
end | |||
end | end | ||