Module:Monsters: Difference between revisions

against my better judgment, saving a fix to monster EV and hoping things don't explode even though testing console is broken right now
(Fixed drop tables sometimes not auto-sorting properly)
(against my better judgment, saving a fix to monster EV and hoping things don't explode even though testing console is broken right now)
Line 441: Line 441:
       result = result..'style="text-align:right"|'..lootChance..'.00%'
       result = result..'style="text-align:right"|'..lootChance..'.00%'
     end
     end
    --Account for GP only dropping when other loot is dropped
    avgGp = avgGP * (lootChance * .01)
     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"