aura_of_valor.xml
<abilities>
<ability>
<name>Aura of Valor</name>
<key>aura_of_valor</key>
<skill>chivalry</skill>
<icon>aura_of_valor</icon>
<tagline>"I wouldn't want to be on the receiving end of THAT."</tagline>
<description>
Your powerful presence strikes fear into the hearts of weaker foes. Weak enemies have a 25% chance to
become Frightened when they attack you.
[p]Frightened gives -20 accuracy and -40 attack speed for 30 turns.
[p]Enemies are weak if your level is 5 more or greater. For example if you were level 12, enemies level
7 and below are weak.
</description>
<type>passive</type>
<subType>5_2h_specialization</subType>
<passiveInfo>
<triggers>
<triggers>
KEY intimidating_presence_trigger;
WHEN PlayerIsAttacked -> chance:0.25, isWeak:true;
THEN ApplyStatusEffectToAttacker -> key:«LINK:frightened_turns»,
textThey:becomes frightened,
textYou:become frightened;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoUnlock>-1</autoUnlock>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>2</requiredPoints>
<requires>stand_ground</requires>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">2h</params>
</params>
</requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Melee</params>
</params>
</requirements>
</requirements>
</ability>
</abilities>