public bool CastIfHasBuff(WoWGlobal wowinfo, WoWUnit unit) { if (unit.HasBuff(this.ID)) { this.SendCast(); return true; } return false; }
public virtual bool ReCast(WoWGlobal wowinfo, WoWUnit unit) { if (!unit.HasBuff(this.ID) /*&& !wowinfo.SpellIsPending*/) { this.SendCast(); return true; } else { return false; } }
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; } }
public bool CastIfHasRunesFor(WoWGlobal wowinfo) { if (wowinfo.HasRunesFor(cost)) { this.SendCast(); return true; } else { return false; } }
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; } }