public static bool HaveAllBuffsKnown(this WoWUnit unit, params string[] names) { foreach (string name in names) { if (RotationSpellbook.IsKnown(name) && !unit.HasBuff(name)) { return(false); } } return(true); }
public bool IsKnown() { return(RotationSpellbook.IsKnown(_name, _rank ?? 1)); }