public static bool IsCatingPolymorph
{
get
{
bool result = Me.GotTarget && Me.CurrentTarget.IsCasting && Me.CurrentTarget.CastingSpell.Mechanic == WoWSpellMechanic.Polymorphed;
return result;
}
}
That'll just check if the current target is casting given spell - but not who's he's casting it on.Just quickly, untested
Code:public static bool IsCatingPolymorph { get { bool result = Me.GotTarget && Me.CurrentTarget.IsCasting && Me.CurrentTarget.CastingSpell.Mechanic == WoWSpellMechanic.Polymorphed; return result; } }
public static bool IsCatingPolymorph
{
get
{
bool result = Me.GotTarget && Me.CurrentTarget.CurrentTarget == Me && Me.CurrentTarget.IsCasting && Me.CurrentTarget.CastingSpell.Mechanic == WoWSpellMechanic.Polymorphed;
return result;
}
}
I just edited his code ^^ didn't really bother to go into details@fpsware & Inrego:IsCatingPolymorph?![]()
I wouldn't recommend it.It's possible for Honorbuddy to act according to combat log?
There's a wow addon name "Collectiv Spell Alert" which can alert who is casting something on who by reading the combat log.
It's possible for Honorbuddy to act according to combat log?
Lua.Events.AttachEvent(event, delegate);