Difference between revisions of "Template:Item acid corrode"
From Tales of Maj'Eyal
Helminthauge (Talk | contribs) |
Helminthauge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #008645;">reduce armor</span> by {{CSS|Spellpower|10|45}} + 5</onlyinclude></includeonly> | + | <includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #008645;">reduce armor</span> by ({{CSS|Spellpower|10|45}} + 5)%</onlyinclude></includeonly> |
[[Category:Templates]] | [[Category:Templates]] | ||
Latest revision as of 16:47, 10 August 2021
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)%