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. Whenever a Weak enemy attacks you,
25% chance to apply [b]Frightened[/b] to that enemy for 30 turns. Does not stack.
[p][b]Frightened[/b]: -20 Accuracy, -40 Attack Speed
[p]Enemies are Weak if your level is 5 or more above theirs. 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>