snap_shot.xml
<abilities>
<ability>
<name>Snap Shot</name>
<key>snap_shot</key>
<skill>archery</skill>
<icon>archery_3</icon>
<tagline>"Don't think, don't aim: Just shoot!"</tagline>
<description>
Quickly fire an arrow with an accuracy penalty of -10, and -10% crit chance.
[n]This ability is very fast, requiring 50% less time to perform.
</description>
<type>Target</type>
<subType>2_Abilities</subType>
<abilitySoundPack>bow</abilitySoundPack>
<cost>20.0</cost>
<cooldown>3</cooldown>
<targetInfo>
<type>TileSelection</type>
<aoeTargeting>
<selectionArea>
<type>square</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>false</allowEmpty>
<allowPlayer>false</allowPlayer>
</allowTargets>
<params>
<params type="width">0</params>
<params type="height">0</params>
<params type="expandStat">Range</params>
</params>
</selectionArea>
<targetArea>
<type>square</type>
<params>
<params type="width">0</params>
<params type="height">0</params>
</params>
</targetArea>
</aoeTargeting>
<usesAmmo>true</usesAmmo>
<abilityUseTime>
<type>weapon</type>
<multiplier>0.5</multiplier>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredLevel>5</requiredLevel>
<requiredPoints>2</requiredPoints>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Bow</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<modifiers>
<modifiers>
<type>Accuracy</type>
<amount>-10.0</amount>
</modifiers>
<modifiers>
<type>CritChance</type>
<amount>-0.1</amount>
</modifiers>
</modifiers>
</attacks>
</attacks>
</ability>
</abilities>