I'm currently working on a spell for a hero (Thor) and it seems to be working correctly (and without issues) as far as I can see and test, but another set of more experienced eyes is always appreciated!
Spell intented behaviour: Once cast, a hammer projectile will fly towards the targeted point, stunning ALL (friend and foe, but excluding structures) units in its path. Upon reaching the targeted point, it will begin to return to the caster, now dealing 400 damage to ALL units it passes through (but not necessarily the units it stunned on its way forward). A ChainLightning special effect is created (and destroyed) on the affected units, both when going forward and when returning.
Thank you for your help! (The triggers are in order, with HammerForward and HammerReturn being "initially enabled=no")
Spell intented behaviour: Once cast, a hammer projectile will fly towards the targeted point, stunning ALL (friend and foe, but excluding structures) units in its path. Upon reaching the targeted point, it will begin to return to the caster, now dealing 400 damage to ALL units it passes through (but not necessarily the units it stunned on its way forward). A ChainLightning special effect is created (and destroyed) on the affected units, both when going forward and when returning.
Thank you for your help! (The triggers are in order, with HammerForward and HammerReturn being "initially enabled=no")