Difference between revisions of "Template:Item blight disease"

From Tales of Maj'Eyal
Jump to: navigation, search
(Created page with "<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #324D0C;">disease</span></onlyinclude></includeonly> Category...")
 
 
Line 1: Line 1:
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #324D0C;">disease</span></onlyinclude></includeonly>
+
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #324D0C;">reduce strength, dexterity, and constitution</span> by {{CSS|Spellpower|1|35}} + 5</onlyinclude></includeonly>
 
[[Category:Templates]]
 
[[Category:Templates]]
  

Latest revision as of 17:12, 4 November 2019


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

[DamageType.ITEM_BLIGHT_DISEASE] = resolvers.mbonus_material(15, 5)

Convert it to wiki format as

{{item blight disease|15|5}}

to produce the follwing text:
(5-20)% chance to reduce strength, dexterity, and constitution by 1–35cSS:Spellpower + 5