verdict_stacks.xml
<abilities>
<ability>
<name>Verdict Stacks</name>
<key>verdict_stacks</key>
<skill>Axes</skill>
<icon>verdict_stacks</icon>
<tagline>"The hottest tempers bide their time."</tagline>
<description>
Kill enemies to build up bonus damage for your next Executioner's Strike.
[p]Whenever you kill an enemy, gain 1 stack of Executioner's Verdict. Stacks up to 10 times.
[p]Executioner's Strike consumes all stacks when it hits and gains +10% Damage for each stack.
[p]Stacks fade after 500 turns.
</description>
<type>upgrade</type>
<passiveInfo>
<triggers>
<triggers>
KEY verdict_stacks_trigger;
WHEN PlayerKillsEnemy;
THEN ModifyGlobalFlag -> global_flag:verdict_stacks, operation:add, amount:1;
THEN ModifyGlobalFlag -> global_flag:verdict_stacks, operation:minimum, amount:10;
THEN ApplyStatusEffect -> key:«LINK:executioners_verdict», target:player, refresh:true;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredLevel>0</requiredLevel>
<requiredPoints>2</requiredPoints>
<requires>executioners_strike</requires>
</unlockRequirements>
</unlockInfo>
</ability>
</abilities>