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 use of Executioner's strike:
[p]Whenever you kill an enemy, gain 1 stack of "Executioners verdict", up max of 10. On use of
Executioner's strike, consume the stacks to gain +10% damage for each.
[p]Stacks fade after 500 turns.
</description>
<type>upgrade</type>
<passiveInfo>
<triggers>
<triggers>
KEY verdict_stacks_trigger;
WHEN PlayerKillsEnemy -> require_non_human:true;
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>