private bool HasRune(Rune r) { switch (r.Type) { case RuneType.Blood: if (r.Cost <= GetBloodRunes()) { return true; } else { return false; } case RuneType.Frost: if (r.Cost <= GetFrostRunes()) { return true; } else { return false; } case RuneType.Unholy: if (r.Cost <= GetUnholyRunes()) { return true; } else { return false; } } return false; }
public DKSpellRuneCost(Rune r1, Rune r2) { this.Costs = new List<Rune>(); this.Costs.Add(r1); this.Costs.Add(r2); }