Difference between revisions of "Template:Item acid corrode"
From Tales of Maj'Eyal
(Created page with "<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #008645;">corrode armour</span></onlyinclude></includeonly> C...") |
Helminthauge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #008645;"> | + | <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]] | ||
Revision as of 18:11, 4 November 2019
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)%