echo_current.xml
<abilities>
<ability>
<name>Echo Current</name>
<key>echo_current</key>
<skill>fulmination</skill>
<icon>echo_current</icon>
<description>
At the start of your turn, enemies adjacent to you get [b]Echo Current[/b] for 1-8 turns. Does not
stack.
[p][b]Echo Current[/b]: -25% Thunder Resist
</description>
<type>Passive</type>
<passiveInfo>
<triggers>
<triggers>
KEY echo_current_apply;
WHEN PlayerTurnStart;
AND NOT InOverworld;
THEN ApplyStatusEffectAoe -> key:«LINK:echo_current_debuff», size:1, applyIfMissing:true, minTurns:1,
maxTurns:8, animation:echo_current;
</triggers>
</triggers>
</passiveInfo>
<unlockInfo>
<autoDiscover>0</autoDiscover>
<unlockRequirements>
<requiredPoints>2</requiredPoints>
<requires>overload OR static_field</requires>
</unlockRequirements>
</unlockInfo>
<requirements>
<requirements>
<type>HasStat</type>
<params>
<params type="key">TyrosAttunement</params>
<params type="amount">1</params>
</params>
</requirements>
</requirements>
</ability>
</abilities>