Difference between revisions of "Template:Item antimagic scouring"

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: #80008B;">reduce power</span> by 20%</onlyinclude></includeonly...")
 
 
Line 1: Line 1:
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #80008B;">reduce power</span> by 20%</onlyinclude></includeonly>
+
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #8F00FF;">reduce effective powers</span> by 20%</onlyinclude></includeonly>
 
[[Category:Templates]]
 
[[Category:Templates]]
  

Latest revision as of 17:21, 4 November 2019


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

[DamageType.ITEM_ANTIMAGIC_SCOURING] = resolvers.mbonus_material(20, 15)

Convert it to wiki format as

{{item antimagic scouring|20|15}}

to produce the follwing text:
(15-35)% chance to reduce effective powers by 20%