Difference between revisions of "Template:Modifier"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 9: Line 9:
 
|items={{{2}}} item drops [[Category:Item Drops]]
 
|items={{{2}}} item drops [[Category:Item Drops]]
 
|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]]
 
|#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 36: Line 37:
 
| Item drops || <nowiki>{{modifier|items|+5%}}</nowiki> || <b>+5% item drops</b>
 
| Item drops || <nowiki>{{modifier|items|+5%}}</nowiki> || <b>+5% item drops</b>
 
|-
 
|-
| Item drops || <nowiki>{{modifier|extraattack|+1}}</nowiki> || <b>+1 extra attack(s) per turn.</b>
+
| Extra attacks || <nowiki>{{modifier|extraattack|+1}}</nowiki> || <b>+1 extra attack(s) per turn.</b>
 +
|-
 +
| Strength modifiers || <nowiki>{{modifier|strength|-1}}</nowiki> || <b>-1 Strength</b>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 13:46, 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