Template:Item acid corrode
From Tales of Maj'Eyal
Revision as of 20:07, 11 November 2016 by WangHW (Talk | contribs) (Created page with "<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #008645;">corrode armour</span></onlyinclude></includeonly> C...")
This template is used to show an item's acid corrode effects. In lua file you will see, for example:
[DamageType.ITEM_ACID_CORRODE] = resolvers.mbonus_material(20, 10)
Convert it to wiki format as
{{item acid corrode|20|10}}
to produce the follwing text:
(10-30)% chance to reduce armor by (10–45cSS:Spellpower + 5)%