» Sun Nov 18, 2012 8:58 pm
Since OnSpellCast triggers immediately after the spell is cast, and not when it hits the target, it seems like as long as the actor only casts spells as its combat target, it is probably always going to work. I don't know if it's true that actors only cast spells at their combat targets though. You will have to test that. And of course it will not tell you who the spell actually hit unless it's a target actor spell, but you did not say you needed to know that, so...