Module:Sandbox/FushiTest: Difference between revisions

m
Effective HP fix
m (Update monster icon)
m (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, '| {{#invoke:Shared|formatNumber|'..v.effectiveHp..'}}')
         table.insert(output, '| '..Shared.formatNumber(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