knights_challenge.xml
<abilities>
<ability>
<hideHitSplash>true</hideHitSplash>
<name>Knight's Challenge</name>
<key>knights_challenge</key>
<skill>chivalry</skill>
<icon>knights_challenge</icon>
<tagline>"I call upon thee, villain! Face me and forsake your dark deeds."</tagline>
<description>
Issue a challenge to target enemy within 3 tiles. For 5 turns, it gets ⮃-12% Damage⮃ and focuses its
attacks on you.
[p]If you kill it while the challenge lasts, Oath of the Fallen gives you 2 Oaths instead of 1.
</description>
<type>Target</type>
<subType>2_abilities</subType>
<abilitySoundPack>mark</abilitySoundPack>
<cost>30.0</cost>
<cooldown>12</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">3</params>
<params type="height">3</params>
</params>
</selectionArea>
<targetArea>
<type>square</type>
<params>
<params type="width">0</params>
<params type="height">0</params>
</params>
</targetArea>
</aoeTargeting>
<usesAmmo>false</usesAmmo>
<abilityUseTime>
<type>standard</type>
</abilityUseTime>
</targetInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>1</requiredPoints>
<requires>oath_of_the_fallen</requires>
</unlockRequirements>
</unlockInfo>
<attacks>
<attacks>
<count>0</count>
<animation>spell_markprey</animation>
<specialModifiers>
<specialModifiers>
<type>EffectsOnly</type>
<amount>0</amount>
</specialModifiers>
<specialModifiers>
<type>NonPhysical</type>
<amount>0</amount>
</specialModifiers>
</specialModifiers>
<targetEffects>
<targetEffects>
ApplyStatusEffect -> key:«LINK:knights_challenge»;
</targetEffects>
</targetEffects>
</attacks>
</attacks>
</ability>
</abilities>