shadow_mirage.xml
<abilities>
<ability>
<name>Shadow Mirage</name>
<key>shadow_mirage</key>
<skill>athletics</skill>
<icon>shadow_mirage</icon>
<tagline>"Move faster than their eyes can follow, and let them swing at shadows."</tagline>
<description>
Whenever you dash, jump, or lunge, leave behind a shadow copy of yourself for 3 turns or until it is destroyed.
[p]Enemies will target the shadow as if it were an enemy.
[p]{{abilityStatusCooldown -> status:shadow_mirage_cooldown, ability:shadow_mirage, default:25}}
</description>
<type>passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY shadow_mirage_trigger;
WHEN PlayerAttackAnimationComplete -> requiresJumpDistance:1;
AND NOT HasStatusEffect -> key:shadow_mirage_cooldown;
THEN ApplyStatusEffect -> key:«LINK:shadow_mirage_cooldown», target:player;
THEN SummonPlayerShadow;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>2</requiredPoints>
<requires>dance_of_shadows</requires>
</unlockRequirements>
</unlockInfo>
</ability>
</abilities>