Difference between revisions of "Template:Item darkness numbing"
From Tales of Maj'Eyal
Helminthauge (Talk | contribs) (1.6 update) |
Helminthauge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to reduce damage dealt by ({{CSS|Mindpower|1|35}} + 5)%</onlyinclude></includeonly> | + | <includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #7F7F7F;">reduce damage dealt</span> by ({{CSS|Mindpower|1|35}} + 5)%</onlyinclude></includeonly> |
[[Category:Templates]] | [[Category:Templates]] | ||
Latest revision as of 18:08, 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)%