public TargetDoesNotHaveSpellMechanicCondition(TargetType target, WoWSpellMechanic spellMechanic)
 {
     Target = target;
     SpellMechanic = spellMechanic;
 }
 public TargetDoesNotHaveSpellMechanicCondition(TargetType target, WoWSpellMechanic spellMechanic)
 {
     Target        = target;
     SpellMechanic = spellMechanic;
 }
Beispiel #3
0
 /// <summary>Returns true if the player has one of the supplied crowd control.</summary>
 /// <returns>The player is crowd controlled</returns>
 public static bool PlayerHasCrowdControl(WoWSpellMechanic cc)
 {
     return StyxWoW.Me.GetAllAuras().Any(a => a.Spell.Mechanic == cc);
 }