glimpse_of_despair.xml
<abilities>
<ability>
<hideHitSplash>false</hideHitSplash>
<name>Glimpse of Despair</name>
<key>glimpse_of_despair</key>
<skill>zun</skill>
<icon>icon_status_despair</icon>
<tagline>"Behold the unbearable vastness of destiny, and despair."</tagline>
<description>
Reveal a horrible future to targets in a plus-shaped area centered up to 4 tiles away.
[p]Targets within the affected cross-section suffer 14 Hex Damage and receive a 25 reduction in
accuracy and dodge for 10 turns.
[p]Cannot miss.
</description>
<type>Target</type>
<subType>1_Abilities</subType>
<abilitySoundPack>curse4</abilitySoundPack>
<cost>15.0</cost>
<cooldown>80</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">4</params>
<params type="height">4</params>
</params>
</selectionArea>
<targetArea>
<type>cross</type>
<allowTargets>
<allowCreature>true</allowCreature>
<allowEmpty>true</allowEmpty>
<allowPlayer>false</allowPlayer>
</allowTargets>
<params>
<params type="thickness">1</params>
<params type="length">1</params>
</params>
</targetArea>
</aoeTargeting>
<usesAmmo>false</usesAmmo>
<abilityUseTime>
<type>standard</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>-1</autoDiscover>
<unlockRequirements>
<requiredLevel>0</requiredLevel>
<requiredPoints>1</requiredPoints>
</unlockRequirements>
</unlockInfo>
<attacks>
<attacks>
<count>0</count>
<animation>mindcontrol</animation>
<modifiers>
<modifiers>
<type>MinimumHexDamage</type>
<amount>14.0</amount>
</modifiers>
<modifiers>
<type>MaximumHexDamage</type>
<amount>14.0</amount>
</modifiers>
</modifiers>
<debuffs>
<debuffs>
<turns>10</turns>
<name>Glimpse of Despair</name>
<key>glimpse_of_despair</key>
<resistedBy>MentalWarding</resistedBy>
<modifiers>
<modifiers>
<type>Accuracy</type>
<amount>-25.0</amount>
</modifiers>
<modifiers>
<type>Dodge</type>
<amount>-25.0</amount>
</modifiers>
</modifiers>
</debuffs>
</debuffs>
<specialModifiers>
<specialModifiers>
<type>ModifiersOnly</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>AlwaysHit</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>IsMagic</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
</attacks>
</attacks>
</ability>
</abilities>