chain_lightning_4.xml
<abilities>
<ability>
<clone>chain_lightning</clone>
<key>chain_lightning_4</key>
<description>
Unleash a surge of thunder that strikes a primary target up to 6 tiles away for ⮃19 thunder damage⮃,
then
arcs to up to 2 nearby enemies within 4 tiles, continuing to arc as long as there are valid targets.
[p]Each arc deals ⮃75% of the previous damage⮃. A target can only be struck once.
</description>
<cooldown>13</cooldown>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>1</requiredPoints>
</unlockRequirements>
<replaces>chain_lightning_3</replaces>
</unlockInfo>
<attacks>
<attacks>
<count>0</count>
<specialModifiers>
<specialModifiers>
<type>EffectsOnly</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>NoSlide</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>IsMagic</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
<targetEffects>
<targetEffects>
THEN ChainLightning -> initialDamage:19, arcCount:2, arcRange:4, damageDecay:0.75,
animation:chain_lightning, sound:lightning_spell_08;
</targetEffects>
</targetEffects>
</attacks>
</attacks>
</ability>
</abilities>