Difference between revisions of "Template:Item nature slow"

From Tales of Maj'Eyal
Jump to: navigation, search
(Created page with "<includeonly><onlyinclude>slows global speed by ({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})%</onlyinclude></includeonly> Category:Templates This template is used to show an item'...")
 
Line 1: Line 1:
<includeonly><onlyinclude>slows global speed by ({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})%</onlyinclude></includeonly>
+
<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>
 
[[Category:Templates]]
 
[[Category:Templates]]
  

Revision as of 18:19, 4 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)%