Difference between revisions of "Template:Modifier"
From Twilight Heroes Wiki
(melee -> Melee) |
|||
Line 1: | Line 1: | ||
<includeonly>'''{{#switch:{{lc:{{{1|?}}}}}||?=<i>Unknown Modifier</i>[[Category:Incomplete]] | <includeonly>'''{{#switch:{{lc:{{{1|?}}}}}||?=<i>Unknown Modifier</i>[[Category:Incomplete]] | ||
|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}}} | + | |meleedamage={{{2}}} Melee damage[[Category:Bonus Melee Damage]] |
|spelldamage={{{2}}} spell damage[[Category:Bonus Spell 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]] | ||
Line 25: | Line 25: | ||
| Bonus elemental damage || <nowiki>{{modifier|elementaldamage|electric|+1}}</nowiki> || <b>+1 electric damage</b> | | Bonus elemental damage || <nowiki>{{modifier|elementaldamage|electric|+1}}</nowiki> || <b>+1 electric damage</b> | ||
|- | |- | ||
− | | Bonus melee damage || <nowiki>{{modifier|meleedamage|+3}}</nowiki> || <b>+3 | + | | 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> | | Bonus spell damage || <nowiki>{{modifier|spelldamage|+2}}</nowiki> || <b>+2 spell damage</b> |
Revision as of 04:24, 30 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 |
Auras duration | {{modifier|auras|+10%}} | +10% to the duration of auras |