echo_current.xml
<abilities>
<ability>
<name>Echo Current</name>
<key>echo_current</key>
<skill>fulmination</skill>
<icon>echo_current</icon>
<description>
Enemies that start their turn adjacent to you gain "Echo Current" for 1-8 turns.
[p]Echo Current: -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.5, 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>