thrashing_swipe.xml
<abilities>
<ability>
<name>Thrashing Swipe</name>
<key>thrashing_swipe</key>
<skill>archery</skill>
<icon>archery_2</icon>
<tagline>"Desperation can make a person do surprising things."</tagline>
<description>
Lash out with your bow at up to 3 targets in melee range dealing 10-20 damage with ⮃+65% knockback chance⮃.
Then retreat a tile directly away from your target.
[p]This attack ignores your weapon stats and other bonuses, and has 100 accuracy.
</description>
<type>Target</type>
<subType>2_Abilities</subType>
<abilitySoundPack>bow_swipe</abilitySoundPack>
<cost>45.0</cost>
<cooldown>5</cooldown>
<targetInfo>
<type>RotationSelection</type>
<rotationTargeting>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>false</allowPlayer>
</allowTargets>
<shape>3line</shape>
<params>
<params type="stopAtFirstTarget">false</params>
<params type="length">1</params>
</params>
</rotationTargeting>
<usesAmmo>false</usesAmmo>
<abilityUseTime>
<type>weapon</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>3</requiredPoints>
</unlockRequirements>
</unlockInfo>
<tags>melee</tags>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Bow</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<hideWeaponAnimation>true</hideWeaponAnimation>
<modifiers>
<modifiers>
<type>KnockbackChance</type>
<amount>0.65</amount>
</modifiers>
<modifiers>
<type>KnockbackMagnitude</type>
<amount>1.0</amount>
</modifiers>
<modifiers>
<type>Accuracy</type>
<amount>100.0</amount>
</modifiers>
<modifiers>
<type>RetreatChance</type>
<amount>1.0</amount>
</modifiers>
<modifiers>
<type>MinimumDamage</type>
<amount>10.0</amount>
</modifiers>
<modifiers>
<type>MaximumDamage</type>
<amount>20.0</amount>
</modifiers>
</modifiers>
<specialModifiers>
<specialModifiers>
<type>ModifiersOnly</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
</attacks>
</attacks>
</ability>
</abilities>