rebounding_strike.xml
<abilities>
<ability>
<name>Rebounding Strike</name>
<key>rebounding_strike</key>
<skill>Swords</skill>
<icon>rebounding_strike</icon>
<tagline>"My turn."</tagline>
<description>
Whenever you parry an attack, for 1 turn all abilities cost 50% less energy and you gain +8% crit
chance.
</description>
<type>Passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY rebounding_strike_trigger;
WHEN PlayerIsAttacked -> attackParried:true;
AND NOT HasStatusEffect -> key:rebounding_strike;
THEN ApplyStatusEffect -> key:«LINK:rebounding_strike»;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>2</requiredPoints>
<requires>advanced_swords</requires>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Sword</params>
</params>
</requirements>
</requirements>
</ability>
</abilities>