Difference between revisions of "Template:Item nature slow"
From Tales of Maj'Eyal
Helminthauge (Talk | contribs) |
Helminthauge (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude>{{#expr:{{{2}}}+{{{1}}}}} chance to <span style="font-weight: bold; color: #00FF00;">slow global speed</span> by ({{CSS|Mindpower|20|70}} + 10)%</onlyinclude></includeonly> | + | <includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #00FF00;">slow global speed</span> by ({{CSS|Mindpower|20|70}} + 10)%</onlyinclude></includeonly> |
[[Category:Templates]] | [[Category:Templates]] | ||
Latest revision as of 18:26, 5 November 2019
This template is used to show an item's nature slow effects. In lua file you will see, for example:
[DamageType.ITEM_NATURE_SLOW] = resolvers.mbonus_material(7, 3)
Convert it to wiki format as
{{item nature slow|7|3}}
to produce the follwing text:
(3-10)% chance to slow global speed by (20–70cSS:Mindpower + 10)%