concussive_echo.xml
<abilities>
<ability>
<name>Concussive Echo</name>
<key>concussive_echo</key>
<skill>maces</skill>
<icon>concussive_echo</icon>
<description>
Whenever you knock back an enemy into a wall or obstacle, on top of stunning it, the impact unleashes a
damaging echo.
[p]The echo deals 10 True Damage to the stunned enemy and to all enemies adjacent to it.
[p]If the knockback was from Heroic Slam, the echo deals an additional 0.5 True Damage for each Maces level.
</description>
<type>Passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY concussive_echo_wall_stun_trigger;
WHEN PlayerAttacks -> requiresWallStun:true;
THEN DealTrueDamage -> amount:{{C:concussive_echo_damage_calculator}}, target:players_attack_target;
THEN DealTrueDamageAdjacent -> amount:{{C:concussive_echo_damage_calculator}}, target:players_attack_target;
THEN write_log2 -> logAfterCombat:true, text:{TARGET_NAME} slams into the obstacle and the impact echoes (Concussive Echo), type:combat, target:players_attack_target;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>2</requiredPoints>
<requiresAbility>heroic_slam</requiresAbility>
</unlockRequirements>
</unlockInfo>
</ability>
</abilities>