dance_of_shadows.xml
<abilities>
<ability>
<name>Dance of Shadows</name>
<key>dance_of_shadows</key>
<skill>athletics</skill>
<icon>dance_of_shadows</icon>
<tagline>
"It feels as if one were channeling. The air thickens, and ripples form around the body. A soundless
dance that evades the comprehending eye."
</tagline>
<description>
Whenever an attack damages you, X% chance to gain [b]Dance of Shadows[/b] for 3 turns, where X is your
Athletics level. Stacks up to 5 times.
[p][b]Dance of Shadows[/b]: +5 Dodge, +5% Crit Resist
</description>
<type>passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY dance_of_shadows_trigger;
WHEN PlayerIsAttacked -> chance:0.01, damageDealt:true, skillScaling:athletics;
THEN ApplyStatusEffect -> key:«LINK:dance_of_shadows_status», target:player;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>1</requiredPoints>
<requires>perfect_form</requires>
</unlockRequirements>
</unlockInfo>
<statusEffects>
<statusEffects>
<turns>3</turns>
<name>Dance of Shadows</name>
<key>dance_of_shadows_status</key>
<icon>dance_of_shadows</icon>
<allowMany>true</allowMany>
<modifiers>
<modifiers>
<type>Dodge</type>
<amount>5.0</amount>
</modifiers>
<modifiers>
<type>CritResist</type>
<amount>0.05</amount>
</modifiers>
</modifiers>
</statusEffects>
</statusEffects>
</ability>
</abilities>