Difference between revisions of "Template:Modifier"
From Twilight Heroes Wiki
Line 2: | Line 2: | ||
|elementaldamage={{{3}}} {{{2}}} damage[[Category:Bonus Elemental Damage]][[Category:Bonus Elemental Damage by Type|{{{2}}}]] | |elementaldamage={{{3}}} {{{2}}} damage[[Category:Bonus Elemental Damage]][[Category:Bonus Elemental Damage by Type|{{{2}}}]] | ||
|meleedamage={{{2}}} melee damage[[Category:Bonus Melee Damage]] | |meleedamage={{{2}}} melee damage[[Category:Bonus Melee Damage]] | ||
+ | |spelldamage={{{2}}} spell damage[[Category:Bonus Spell Damage]] | ||
|elementalres={{{3}}} resist {{#ifeq:{{{2|}}}|all|fire, ice, electric, and acid[[Category:Resist Elemental Damage by Type|*]]|{{{2}}}[[Category:Resist Elemental Damage by Type|{{{2}}}]]}} damage[[Category:Resist Elemental Damage]] | |elementalres={{{3}}} resist {{#ifeq:{{{2|}}}|all|fire, ice, electric, and acid[[Category:Resist Elemental Damage by Type|*]]|{{{2}}}[[Category:Resist Elemental Damage by Type|{{{2}}}]]}} damage[[Category:Resist Elemental Damage]] | ||
|tohit={{{2}}} to hit [[Category:Bonus To Hit]] | |tohit={{{2}}} to hit [[Category:Bonus To Hit]] | ||
Line 10: | Line 11: | ||
|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]] | ||
+ | |intellect={{{2}}} Intellect[[Category:Intellect Modifiers]] | ||
+ | |reflexes={{{2}}} Reflexes[[Category:Reflexes Modifiers]] | ||
|hp={{{2}}} to maximum HP[[Category:Maximum HP]] | |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 23: | Line 25: | ||
|- | |- | ||
| 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> | ||
+ | |- | ||
+ | | Bonus spell damage || <nowiki>{{modifier|spelldamage|+2}}</nowiki> || <b>+2 spell damage</b> | ||
|- | |- | ||
| rowspan=2 | Resist elemental damage | | rowspan=2 | Resist elemental damage | ||
Line 42: | Line 46: | ||
|- | |- | ||
| Strength modifiers || <nowiki>{{modifier|strength|-1}}</nowiki> || <b>-1 Strength</b> | | Strength modifiers || <nowiki>{{modifier|strength|-1}}</nowiki> || <b>-1 Strength</b> | ||
+ | |- | ||
+ | | Intellect modifiers || <nowiki>{{modifier|intellect|-1}}</nowiki> || <b>-1 Intellect</b> | ||
+ | |- | ||
+ | | Reflexes modifiers || <nowiki>{{modifier|reflexes|-1}}</nowiki> || <b>-1 Reflexes</b> | ||
|- | |- | ||
| 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> | ||
− | + | ||
− | |||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 14:04, 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 |
Bonus spell damage | {{modifier|spelldamage|+2}} | +2 spell 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 |
Intellect modifiers | {{modifier|intellect|-1}} | -1 Intellect |
Reflexes modifiers | {{modifier|reflexes|-1}} | -1 Reflexes |
Maximum HP | {{modifier|hp|-2}} | -2 to maximum HP |