cluster_volley.xml
<abilities>
<ability>
<name>Cluster Volley</name>
<key>cluster_volley</key>
<skill>arbalism</skill>
<icon>arbalism_5</icon>
<tagline>"Our bolts will blot out the sun!"</tagline>
<description>
Fire a bundle of bolts down onto an area with +15 accuracy but dealing ⮃-40% damage⮃.
[p]Targets hit by the volley receive -40 movement speed for 3 turns.
</description>
<type>Target</type>
<subType>2_Abilities</subType>
<abilitySoundPack>triplenock</abilitySoundPack>
<cost>45.0</cost>
<cooldown>9</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">0</params>
<params type="height">0</params>
<params type="expandStat">Range</params>
</params>
</selectionArea>
<targetArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>true</allowPlayer>
</allowTargets>
<params>
<params type="width">1</params>
<params type="height">1</params>
</params>
</targetArea>
</aoeTargeting>
<usesAmmo>true</usesAmmo>
<abilityUseTime>
<type>weapon</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredLevel>8</requiredLevel>
<requiredPoints>4</requiredPoints>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Crossbow</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<animation>spell_arrowhit</animation>
<modifiers>
<modifiers>
<type>Accuracy</type>
<amount>15.0</amount>
</modifiers>
<modifiers>
<type>Damage</type>
<amount>-0.4</amount>
</modifiers>
</modifiers>
<debuffs>
<debuffs>
<turns>3</turns>
<name>Slowed</name>
<key>slowed</key>
<resistedBy>PhysicalWarding</resistedBy>
<modifiers>
<modifiers>
<type>MoveSpeedBonus</type>
<amount>-40.0</amount>
</modifiers>
</modifiers>
</debuffs>
</debuffs>
</attacks>
</attacks>
</ability>
</abilities>