pain_bringer.xml
<abilities>
<ability>
<name>Pain Bringer</name>
<key>pain_bringer</key>
<skill>bludgeons</skill>
<icon>pain_bringer</icon>
<tagline>"Your weakness is an insult to my strength."</tagline>
<description>
Whenever you apply a stun, deal 5 true damage.
[p]
Whenever you apply a cripple wound, deal 5 true damage.
[p]
True damage cannot be blocked by armor, and does not scale with multipliers.
</description>
<type>Passive</type>
<subType>1_Unique Passives</subType>
<passiveInfo>
<triggers>
<triggers>
KEY pain_bringer_cripple;
WHEN PlayerAttacks -> requiresCripple:true;
THEN DealTrueDamage -> amount:5, target:players_attack_target,
message:[format\:player]You[format\:normal] deal an additional
[color\:white\,font\:damage]{damage} true[format\:normal] damage (Pain Bringer);
</triggers>
<triggers>
KEY pain_bringer_stun;
WHEN PlayerAttacks -> requiresStun:true;
THEN DealTrueDamage -> amount:5, target:players_attack_target,
message:[format\:player]You[format\:normal] deal an additional
[color\:white\,font\:damage]{damage} true[format\:normal] damage (Pain Bringer);
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>3</requiredPoints>
<requires>advanced_bludgeons</requires>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">Bludgeon</params>
</params>
</requirements>
</requirements>
</ability>
</abilities>