Difference between revisions of "Template:Item mind expose"

From Tales of Maj'Eyal
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to reduce all saves and defense by ({{CSS|Mindpower|1|45}} + 5)</onlyinclude></includeonly>
+
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to reduce all saves and defense by {{CSS|Mindpower|1|45}} + 5</onlyinclude></includeonly>
 
[[Category:Templates]]
 
[[Category:Templates]]
  

Revision as of 18:04, 4 November 2019


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

[DamageType.ITEM_MIND_EXPOSE] = resolvers.mbonus_material(10, 5)

Convert it to wiki format as

{{item mind expose|10|5}}

to produce the follwing text:
(5-15)% chance to reduce all saves and defense by 1–45cSS:Mindpower + 5