Esempio n. 1
0
 public override bool ReCast(WoWGlobal wowinfo, WoWUnit unit) {
     if (!unit.HasBuff(cot) && !unit.HasBuff(cote) && !unit.HasBuff(cow) && !unit.HasBuff(coe)) {
         this.SendCast();
         return true; 
     }
     else {
         return false;
     }
 }
Esempio n. 2
0
 public bool CastIfHasBuff(WoWGlobal wowinfo, WoWUnit unit) {
     if (unit.HasBuff(this.ID)) {
         this.SendCast();
         return true;
     }
     return false;
 }
Esempio n. 3
0
 public virtual bool ReCast(WoWGlobal wowinfo, WoWUnit unit) {
     if (!unit.HasBuff(this.ID) /*&& !wowinfo.SpellIsPending*/) {
         this.SendCast();
         return true;
     }
     else {
         return false;
     }
 }
Esempio n. 4
0
 public override bool ReCast(WoWGlobal wowinfo, WoWUnit unit) {
     if (!unit.HasBuff(this.ID) && !wowinfo.SpellIsPending && wowinfo.HasRunesFor(cost)) {
         this.SendCast();
         return true;
     }
     else {
         return false;
     }
 }