Difference between revisions of "Template:Modifier"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 10: Line 10:
 
|extraattack={{{2}}} extra attack(s) per turn.[[Category:Extra Attacks]]
 
|extraattack={{{2}}} extra attack(s) per turn.[[Category:Extra Attacks]]
 
|strength={{{2}}} Strength[[Category:Strength Modifiers]]
 
|strength={{{2}}} Strength[[Category:Strength Modifiers]]
 +
|hp={{{2}}} to maximum HP[[Category:Maximum HP]]
 
|#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 40: Line 41:
 
|-
 
|-
 
| Strength modifiers || <nowiki>{{modifier|strength|-1}}</nowiki> || <b>-1 Strength</b>
 
| Strength modifiers || <nowiki>{{modifier|strength|-1}}</nowiki> || <b>-1 Strength</b>
 +
|-
 +
| Maximum HP || <nowiki>{{modifier|hp|-2}}</nowiki> || <b>-2 to maximum HP</b>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 13:52, 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 {{modifier|chips|+5%}} +5% chips
Item drops {{modifier|items|+5%}} +5% item drops
Extra attacks {{modifier|extraattack|+1}} +1 extra attack(s) per turn.
Strength modifiers {{modifier|strength|-1}} -1 Strength
Maximum HP {{modifier|hp|-2}} -2 to maximum HP