helm_splitter.xml
<abilities>
<ability>
<name>Helm Splitter</name>
<key>helm_splitter</key>
<skill>blades</skill>
<icon>helm_splitter</icon>
<tagline>"Everyone's got a weakness. Guess this one's yours!"</tagline>
<description>
Perform an attack with -15% damage and -15% crit chance.
[p]Finds a chink in the enemies' defenses, reducing their protection by -3 and physical resist by -20%
for 3 turns.
</description>
<type>Target</type>
<subType>2_Abilities</subType>
<abilitySoundPack>blade_spell</abilitySoundPack>
<cost>30.0</cost>
<cooldown>8</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>
<abilityUseTime>
<type>weapon</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>-1</autoDiscover>
<unlockRequirements>
<requiredLevel>8</requiredLevel>
<requiredPoints>2</requiredPoints>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Blade</params>
</params>
</requirements>
</requirements>
<attacks>
<attacks>
<count>0</count>
<animation>spell_slash_02</animation>
<modifiers>
<modifiers>
<type>Damage</type>
<amount>-0.15</amount>
</modifiers>
<modifiers>
<type>CritChance</type>
<amount>-0.15</amount>
</modifiers>
</modifiers>
<debuffs>
<debuffs>
<turns>3</turns>
<name>Shattered</name>
<resistedBy>PhysicalWarding</resistedBy>
<modifiers>
<modifiers>
<type>Protection</type>
<amount>-3.0</amount>
</modifiers>
<modifiers>
<type>PhysicalResist</type>
<amount>-0.2</amount>
</modifiers>
</modifiers>
</debuffs>
</debuffs>
</attacks>
</attacks>
</ability>
</abilities>