Пример #1
0
 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;
     }
 }
Пример #2
0
 public bool IfCast(GameObject go) {
     if (go.HasBuff(this.ID)) {
         this.SendCast();
         return true;
     }
     return false;
 }
Пример #3
0
 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;
     }
 }