Template:Resistances: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (fix alphabetical order for psychic) |
||
Line 11: | Line 11: | ||
|}}{{#if:{{{Necrotic|}}}|<tr><td>{{DamageType|Necrotic}}</td><td>{{{Necrotic}}}</td></tr> | |}}{{#if:{{{Necrotic|}}}|<tr><td>{{DamageType|Necrotic}}</td><td>{{{Necrotic}}}</td></tr> | ||
|}}{{#if:{{{Poison|}}}|<tr><td>{{DamageType|Poison}}</td><td>{{{Poison}}}</td></tr> | |}}{{#if:{{{Poison|}}}|<tr><td>{{DamageType|Poison}}</td><td>{{{Poison}}}</td></tr> | ||
|}}{{#if:{{{Psychic|}}}|<tr><td>{{DamageType|Psychic}}</td><td>{{{Psychic}}}</td></tr> | |||
|}}{{#if:{{{Radiant|}}}|<tr><td>{{DamageType|Radiant}}</td><td>{{{Radiant}}}</td></tr> | |}}{{#if:{{{Radiant|}}}|<tr><td>{{DamageType|Radiant}}</td><td>{{{Radiant}}}</td></tr> | ||
|}}{{#if:{{{Thunder|}}}|<tr><td>{{DamageType|Thunder}}</td><td>{{{Thunder}}}</td></tr> | |}}{{#if:{{{Thunder|}}}|<tr><td>{{DamageType|Thunder}}</td><td>{{{Thunder}}}</td></tr> | ||
|}}</table></includeonly><noinclude> | |}}</table></includeonly><noinclude> | ||
Example: | Example: |
Revision as of 20:31, 30 January 2023
Example:
{{Resistances|Slashing=Resistant|Fire=Immune|Cold=Vulnerable}}
Result:
Slashing | Resistant |
Cold | Vulnerable |
Fire | Immune |
All possible damage types; accepts damage types in any order:
{{Resistances | Bludgeoning = Immune | Slashing = Immune | Piercing = Resistant | Acid = Resistant | Cold = Resistant | Fire = Resistant | Force = Vulnerable | Lightning = Resistant | Necrotic = Resistant | Poison = Resistant | Radiant = Resistant | Thunder = Resistant | Psychic = Resistant }}
Result:
Bludgeoning | Immune |
Piercing | Resistant |
Slashing | Immune |
Acid | Resistant |
Cold | Resistant |
Fire | Resistant |
Force | Vulnerable |
Lightning | Resistant |
Necrotic | Resistant |
Poison | Resistant |
Psychic | Resistant |
Radiant | Resistant |
Thunder | Resistant |