public override bool ReCast(GameObject go) { if (!go.HasBuff(cot) && !go.HasBuff(cote) && !go.HasBuff(cow) && !go.HasBuff(coe)) { this.SendCast(); return true; } else { return false; } }
public bool IfCast(GameObject go) { if (go.HasBuff(this.ID)) { this.SendCast(); return true; } return false; }
public virtual bool ReCast(GameObject go) { uint SpellPending = Program.wow.ReadUInt((uint)Program.wow.MainModule.BaseAddress + (uint)Constants.Const.Globals.SpellIsPending); if (!go.HasBuff(this.ID) && SpellPending==0) { this.SendCast(); return true; } else { return false; } }