windmill_of_doom.xml
<abilities>
<ability>
<name>Windmill of DOOOM</name>
<key>windmill_of_doom</key>
<skill>Flails</skill>
<icon>flails_2</icon>
<tagline>"If it sounds stupid but works, then it's not stupid."</tagline>
<description>
Swing your flail in a wide overhead arc, striking all adjacent targets with -30% damage and -5 accuracy, but
with a ⮃+60% knockback chance⮃. Best used in conjunction with Wind-Up.
</description>
<type>Target</type>
<subType>2_Abilities</subType>
<abilitySoundPack>hammer</abilitySoundPack>
<cost>50.0</cost>
<cooldown>12</cooldown>
<targetInfo>
<type>AutoSelf</type>
<autoSelfTargeting>
<targetArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>false</allowPlayer>
</allowTargets>
<params>
<params type="width">0</params>
<params type="height">0</params>
<params type="expandStat">Range</params>
</params>
</targetArea>
</autoSelfTargeting>
<abilityUseTime>
<type>weapon</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredLevel>5</requiredLevel>
<requiredPoints>3</requiredPoints>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Flail</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<animation>spell_smash_02</animation>
<modifiers>
<modifiers>
<type>Damage</type>
<amount>-0.3</amount>
</modifiers>
<modifiers>
<type>Accuracy</type>
<amount>-5.0</amount>
</modifiers>
<modifiers>
<type>knockBackChance</type>
<amount>0.6</amount>
</modifiers>
</modifiers>
</attacks>
</attacks>
</ability>
</abilities>