Difference between revisions of "Template:Modifier"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 3: Line 3:
 
|meleedamage={{{2}}} Melee damage[[Category:Bonus Melee Damage]]
 
|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}}} {{#ifeq:{{{2|}}}|all|resist fire, ice, electric, and acid damage[[Category:Resist Elemental Damage by Type|*]]|{{{2}}} resistance[[Category:Resist Elemental Damage by Type|{{{2}}}]]}}[[Category:Resist Elemental Damage]]
 
|tohit={{{2}}} to hit [[Category:Bonus To Hit]]
 
|tohit={{{2}}} to hit [[Category:Bonus To Hit]]
 
|hpregen={{{2}}} HP per turn [[Category:HP Regeneration]]
 
|hpregen={{{2}}} HP per turn [[Category:HP Regeneration]]
Line 34: Line 34:
 
|-
 
|-
 
| rowspan=2 | Resist elemental damage
 
| rowspan=2 | Resist elemental damage
| <nowiki>{{modifier|elementalres|fire|+10%}}</nowiki> || <b>+10% resist fire damage</b>
+
| <nowiki>{{modifier|elementalres|fire|+10%}}</nowiki> || <b>+10% fire resistance</b>
 
|-
 
|-
 
| <nowiki>{{modifier|elementalres|all|+4%}}</nowiki> || <b>+4% resist fire, ice, electric, and acid damage</b>
 
| <nowiki>{{modifier|elementalres|all|+4%}}</nowiki> || <b>+4% resist fire, ice, electric, and acid damage</b>

Revision as of 05: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% fire resistance
{{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
PP regeneration {{modifier|ppregen|+3}} +3 PP 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
Maximum PP {{modifier|pp|+8}} +8 to maximum PP
Auras duration {{modifier|auras|+10%}} +10% to the duration of auras
PP returned {{modifier|ppreturned|+5%}} +5% of weapon damage returned as PP
Initiative modifiers {{modifier|initiative|+5}} +5 to initiative


The following seem to be singleton modifiers so they are not autocat:

  • X to the cost of combat spells