Anonymous

Module:Sandbox/FushiTest: Difference between revisions

From Melvor Idle
m
Another effective hp fix
m (Effective HP Fix)
m (Another effective hp fix)
Line 1,138: Line 1,138:
         table.insert(output, '|-')
         table.insert(output, '|-')
         table.insert(output, '| '..Icons.Icon({v.monster.name, type="monster"}))
         table.insert(output, '| '..Icons.Icon({v.monster.name, type="monster"}))
         table.insert(output, '| '..Shared.formatNumber({v.effectiveHp}))
         table.insert(output, '| '..Shared.formatnum(v.effectiveHp))
         table.insert(output, '| '..v.dropChance..'%')
         table.insert(output, '| '..v.dropChance..'%')
         table.insert(output, '| {{#invoke:Shared|formatNumber|{{#expr:'..(quantity/(v.dropChance/100))..' round 0}}}}')
         table.insert(output, '| {{#invoke:Shared|formatNumber|{{#expr:'..(quantity/(v.dropChance/100))..' round 0}}}}')
20

edits