Difference between revisions of "Template:Modifier"

From Twilight Heroes Wiki
Jump to: navigation, search
(Adding elemental damage resistance)
m
Line 15: Line 15:
 
| Bonus melee damage || <nowiki>{{modifier|meleedamage|+3}}</nowiki> || <b>+3 melee damage</b>
 
| Bonus melee damage || <nowiki>{{modifier|meleedamage|+3}}</nowiki> || <b>+3 melee damage</b>
 
|-
 
|-
| rowspan=2 | Bonus melee damage  
+
| rowspan=2 | Resist elemental damage
 
| <nowiki>{{modifier|elementalres|fire|+10%}}</nowiki> || <b>+10% resist fire damage</b>
 
| <nowiki>{{modifier|elementalres|fire|+10%}}</nowiki> || <b>+10% resist fire damage</b>
 
|-
 
|-

Revision as of 11:20, 29 January 2009

This template is to be used to specify and autocat modifiers. It is going to be build incrementally.

Currently you can use it to set:

modifier format example yields
Bonus elemental damage {{modifier|elementaldamage|electric|+1}} +1 electric damage
Bonus melee damage {{modifier|meleedamage|+3}} +3 melee damage
Resist elemental damage {{modifier|elementalres|fire|+10%}} +10% resist fire damage
{{modifier|elementalres|all|+4%}} +4% resist fire, ice, electric, and acid damage