Difference between revisions of "Template:Item darkness numbing"

From Tales of Maj'Eyal
Jump to: navigation, search
(Created page with "<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to inflict <span style="font-weight: bold; color: #7F7F7F;">damage reduction</span></onlyinclude></includ...")
 
(1.6 update)
Line 1: Line 1:
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to inflict <span style="font-weight: bold; color: #7F7F7F;">damage reduction</span></onlyinclude></includeonly>
+
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to reduce damage dealt by ({{CSS|Mindpower|1|35}} + 5)%</onlyinclude></includeonly>
 
[[Category:Templates]]
 
[[Category:Templates]]
  

Revision as of 18:00, 4 November 2019


This template is used to show an item's darkness numbing effects. In lua file you will see, for example:

[DamageType.ITEM_DARKNESS_NUMBING] = resolvers.mbonus_material(9, 5)

Convert it to wiki format as

{{item darkness numbing|9|5}}

to produce the follwing text:
(5-14)% chance to reduce damage dealt by (1–35cSS:Mindpower + 5)%