Difference between revisions of "Template:Modifier"

From Twilight Heroes Wiki
Jump to: navigation, search
(Added 3 more)
Line 6: Line 6:
 
|hpregen={{{2}}} HP per turn [[Category:HP Regeneration]]
 
|hpregen={{{2}}} HP per turn [[Category:HP Regeneration]]
 
|absorb={{{2}}} damage absorption [[Category:Damage Absorption]]
 
|absorb={{{2}}} damage absorption [[Category:Damage Absorption]]
 +
|chips={{{2}}} chips [[Category:Chips Drop]]
 
|#default=<i>Unknown Modifier</i>[[Category:Incomplete]]}}'''<br></includeonly><noinclude>
 
|#default=<i>Unknown Modifier</i>[[Category:Incomplete]]}}'''<br></includeonly><noinclude>
 
This template is to be used to specify and autocat modifiers. It is going to be build incrementally.
 
This template is to be used to specify and autocat modifiers. It is going to be build incrementally.
Line 28: Line 29:
 
|-
 
|-
 
| Damage absorption || <nowiki>{{modifier|absorb|+2}}</nowiki> || <b>+2 damage absorption</b>
 
| Damage absorption || <nowiki>{{modifier|absorb|+2}}</nowiki> || <b>+2 damage absorption</b>
 +
|-
 +
| Chips drop || <nowiki>{{modifier|chips|+5%}}</nowiki> || <b>+5% chips</b>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 11:55, 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
Bonus to hit {{modifier|tohit|+5%}} +5% to hit
HP regeneration {{modifier|hpregen|+3}} +3 HP per turn
Damage absorption {{modifier|absorb|+2}} +2 damage absorption
Chips drop {{modifier|chips|+5%}} +5% chips