Difference between revisions of "Template:Data damageType"

From Wildermyth Wiki
m (testing bold font)
m (testing boldness on "stunt")
Line 10: Line 10:
| Chain Lightning = ''x'' magic damage, range 4.6 (Ranged)<!-- assets/data/effects/storm/chainLightningUpgrade.json -->
| Chain Lightning = ''x'' magic damage, range 4.6 (Ranged)<!-- assets/data/effects/storm/chainLightningUpgrade.json -->
| Chain Lightning+ = ''x'' magic damage, range 4.6 (Ranged)<!-- assets/data/effects/storm/chainLightningUpgrade.json -->
| Chain Lightning+ = ''x'' magic damage, range 4.6 (Ranged)<!-- assets/data/effects/storm/chainLightningUpgrade.json -->
| Cone of Fire = ''x'' magic damage, 4.6 range (Ranged)<br>{{Icon|fire}}<span style="color:#b1623c">'''Fire'''</span><!-- assets/data/effects/monster/fireArmFlameCone.json -->
| Cone of Fire = ''x'' magic damage, 4.6 range (Ranged)<br>{{Icon|fire}}<span style="color:#b1623c">'''Fire Stunt'''</span><!-- assets/data/effects/monster/fireArmFlameCone.json -->
| Cone of Fire+ = ''x'' magic damage, 4.6 range (Ranged)<br>{{Icon|fire}}<span style="color:#b1623c">'''Fire'''</span><!-- assets/data/effects/monster/fireArmFlameCone.json -->
| Cone of Fire+ = ''x'' magic damage, 4.6 range (Ranged)<br>{{Icon|fire}}<span style="color:#b1623c">'''Fire''' Stunt</span><!-- assets/data/effects/monster/fireArmFlameCone.json -->
| Crow Scratch = ''x'' damage, 1 shred, range 1.6 (Melee)<!-- assets/data/effects/attack/crowArmClaw.json -->
| Crow Scratch = ''x'' damage, 1 shred, range 1.6 (Melee)<!-- assets/data/effects/attack/crowArmClaw.json -->
| Crow Scratch+ = ''x'' damage, 1 shred, range 1.6 (Melee)<!-- assets/data/effects/attack/crowArmClaw.json -->
| Crow Scratch+ = ''x'' damage, 1 shred, range 1.6 (Melee)<!-- assets/data/effects/attack/crowArmClaw.json -->

Revision as of 21:37, 3 August 2023

This documentation is transcluded from Template:Data damageType/doc

This template is used by the game data process to help automatically keep pages up-to-date.

Warning: Manually editing this template data may cause your changes to be overwritten or lost if the template is automatically updated. If specific game data is missing from this template, please ask about it on the Discord #wiki channel (to arrange for its data to automatically be added to these templates).

Usage

This template returns the damage (type) for a specific theme ability. A future update will add hero abilities.

The template uses the following parameter:

1
The name associated with the specific damage.

Examples

Theme ability damageType

{{Data damageType|Frenzy}}

x damage, 1 pierce, range 1.6 (Melee)

Hero ability actionPoints (to be added)

{{Data damageType|Infernal Rain}}
(No damage type is returned, as this hero ability data has not been added yet to the template.)

Technical details

Damage type data comes from Wildermyth's.json files. For example, assets/data/effects/pets/fireChicken_lightFire.json includes the following line:

{ "class": "Damage", "amount": "2", "type": "MAGIC", "pierce": "1" }

This shows the type of damage (magic), the (non-formula constant) amount of damage (2), and that the damage also pierces (for 1).

UI DiamondFeather.png swift action (free once per turn)

Fire Chicken

2 magic damage

<name>'s Pet can light a fire on an adjacent tile, once every three turns.