galvanic_bloom.xml
<abilities>
<ability>
<name>Galvanic Bloom</name>
<key>galvanic_bloom</key>
<skill>fulmination</skill>
<icon>galvanic_bloom</icon>
<description>
Deal ⮃5-15 thunder damage⮃ to tiles in a cross shape, up to 6 tiles away, with a ⮃10% stun chance⮃.
[p]Targeted tiles remain electrified for 5 turns, dealing 5 thunder damage per turn.
</description>
<type>Target</type>
<abilitySoundPack>galvanic_bloom</abilitySoundPack>
<cost>40.0</cost>
<cooldown>10</cooldown>
<targetInfo>
<type>TileSelection</type>
<aoeTargeting>
<selectionArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>false</allowPlayer>
</allowTargets>
<params>
<params type="width">6</params>
<params type="height">6</params>
</params>
</selectionArea>
<targetArea>
<type>cross</type>
<params>
<params type="length">1</params>
</params>
</targetArea>
</aoeTargeting>
<usesAmmo>false</usesAmmo>
<abilityUseTime>
<type>standard</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>1</requiredPoints>
</unlockRequirements>
</unlockInfo>
<extraTexts>
<extraTexts>
{{upgrade_text -> ability:crackling_touch}}
</extraTexts>
</extraTexts>
<requirements>
<requirements>
<type>HasStat</type>
<params>
<params type="key">TyrosAttunement</params>
<params type="amount">1</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<modifiers>
<modifiers>
<type>MinimumThunderDamage</type>
<amount>5.0</amount>
</modifiers>
<modifiers>
<type>MaximumThunderDamage</type>
<amount>15.0</amount>
</modifiers>
<modifiers>
<type>StunChance</type>
<amount>0.1</amount>
</modifiers>
</modifiers>
<specialModifiers>
<specialModifiers>
<type>IgnoreBaseDamage</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>AlwaysHit</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>NoSlide</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>IsMagic</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
<tileEffects>
<tileEffects>
THEN PlaceFeature -> key:electrified_tile, positionSource:entity, delay:200;
</tileEffects>
</tileEffects>
<originTileEffects>
<originTileEffects>
THEN ShowAnimation -> key:galvanic_bloom;
</originTileEffects>
</originTileEffects>
</attacks>
</attacks>
</ability>
</abilities>