예제 #1
0
 public bool CastIfHasRunesFor(WoWGlobal wowinfo) {
     if (wowinfo.HasRunesFor(cost)) {
         this.SendCast();
         return true;
     }
     else {
         return false;
     }
 }
예제 #2
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;
     }
 }