e: unit starts the effect of an ability
c: ability being cast equal to "any ability except charm itself"
a: set player_variable = owner of target spell of ability being cast
unit - change target spell of ability being cast owner to owner of triggering unit
wait some seconds
unit change target spell of ability being cast to player_variable