smashers_delight.xml
<abilities>
<ability>
<name>Smasher's Delight</name>
<key>smashers_delight</key>
<skill>bludgeons</skill>
<color>d22609</color>
<icon>smashers_delight</icon>
<tagline>
You were born to smash things. It's what makes you happy. For example, smashing bugs.
</tagline>
<description>
Whenever you kill a target, you have a chance to reduce the current cooldown of all
Bludgeons, Maces, Staffs and Flails abilities by 1 turn.
[p]
The chance is equal to the damage dealt by the killing blow, e.g., 7 damage = 7% chance.
</description>
<type>Passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY smashers_delight_kill;
WHEN PlayerKillsEnemy;
THEN SmashersDelightKill;
</triggers>
<triggers>
KEY smashers_delight_process;
WHEN PlayerAttackAnimationComplete;
THEN SmashersDelightProcess;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>1</requiredPoints>
<requires>unleash_fury</requires>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>Weapon</type>
<params>
<params type="weapon">bludgeon</params>
</params>
</requirements>
</requirements>
</ability>
</abilities>