agile_physique.xml
<abilities>
<ability>
<name>Agile Physique</name>
<key>agile_physique</key>
<skill>athletics</skill>
<icon>agile_physique</icon>
<tagline>"The mind can only take you so far, the body must carry you the rest of the way."</tagline>
<description>
Whenever you dodge an attack gain 5 energy.
</description>
<type>passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY agile_physique_trigger;
WHEN PlayerIsAttacked -> attackDodged:true;
THEN GiveEnergy -> amount:5, target:player;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>3</requiredPoints>
<requires>perfect_form</requires>
</unlockRequirements>
</unlockInfo>
</ability>
</abilities>