I was just wondering if you could detect Phase Shift? I mean, when it's autocasted and it makes the unit disappear.. Can you detect that without the use of 'Is Unit Attacked' ?
Autocasting abilities that work semi-passively (like the arrow abilities) might not fire the spell events. You could check if the damage event fires before the ability is used.
What I'm trying to do here is when the unit is attacked and it has the ability(based off phase shift) auto-casted, he disappears(naturally cuz it's based off phase shift) then makes the area he is on explode.