Difference between revisions of "Template:Modifier"
From Twilight Heroes Wiki
Line 11: | Line 11: | ||
|strength={{{2}}} Strength[[Category:Strength Modifiers]] | |strength={{{2}}} Strength[[Category:Strength Modifiers]] | ||
|hp={{{2}}} to maximum HP[[Category:Maximum HP]] | |hp={{{2}}} to maximum HP[[Category:Maximum HP]] | ||
+ | |spelldamage={{{2}}} spell damage[[Category:Bonus Spell Damage]] | ||
|#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 43: | Line 44: | ||
|- | |- | ||
| Maximum HP || <nowiki>{{modifier|hp|-2}}</nowiki> || <b>-2 to maximum HP</b> | | Maximum HP || <nowiki>{{modifier|hp|-2}}</nowiki> || <b>-2 to maximum HP</b> | ||
+ | |- | ||
+ | | Bonus spell damage || <nowiki>{{modifier|spelldamage|22}}</nowiki> || <b>+2 spell damage</b> | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 13:57, 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 |
Bonus spell damage | {{modifier|spelldamage|22}} | +2 spell damage |