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 you take damage from an attack, 1% chance per athletics level to gain "Dance of Shadows" status
effect for 3 turns.
[p]"Dance of Shadows" gives 5 dodge, 5% crit resist, and can be stacked multiple times.
</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>