magnetic_pull.xml
<abilities>
<ability>
<name>Magnetic Pull</name>
<key>magnetic_pull</key>
<skill>fulmination</skill>
<icon>magnetic_pull</icon>
<description>
Pull everybody in a 7x7 square towards the center. Entities can be pulled up to 2 tiles.
[p]The 7x7 square can be up to 5 tiles away from your position.
</description>
<type>Target</type>
<abilitySoundPack>magnetic_pull</abilitySoundPack>
<cost>30.0</cost>
<cooldown>8</cooldown>
<targetInfo>
<type>TileSelection</type>
<aoeTargeting>
<selectionArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>true</allowPlayer>
</allowTargets>
<params>
<params type="width">5</params>
<params type="height">5</params>
</params>
</selectionArea>
<targetArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>true</allowPlayer>
</allowTargets>
<params>
<params type="width">3</params>
<params type="height">3</params>
</params>
</targetArea>
</aoeTargeting>
<usesAmmo>false</usesAmmo>
<abilityUseTime>
<type>standard</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>2</requiredPoints>
<requires>overload OR static_field</requires>
</unlockRequirements>
</unlockInfo>
<extraTexts>
<extraTexts>
{{upgrade_text -> ability:crackling_touch}}
</extraTexts>
<extraTexts>
{{upgrade_text -> ability:voltaic_binding, text:Gain 10 energy for every target pulled.}}
</extraTexts>
</extraTexts>
<requirements>
<requirements>
<type>HasStat</type>
<params>
<params type="key">TyrosAttunement</params>
<params type="amount">2</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<specialModifiers>
<specialModifiers>
<type>EffectsOnly</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>NonAggressive</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>IsMagic</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
<originTileEffects>
<originTileEffects>
THEN ShowAnimation -> key:magnetic_pull;
THEN MagneticPull;
</originTileEffects>
</originTileEffects>
</attacks>
</attacks>
</ability>
</abilities>