Merge pull request #5075 from devilcoredev/fix_004

Core/AI: Fix pet and other types of minion pet attack on targets with Crowd Controls.
This commit is contained in:
QAston
2012-02-05 00:13:56 -08:00
6 changed files with 42 additions and 21 deletions
+2
View File
@@ -1555,6 +1555,8 @@ class Unit : public WorldObject
bool HasAuraTypeWithFamilyFlags(AuraType auraType, uint32 familyName, uint32 familyFlags) const;
bool virtual HasSpell(uint32 /*spellID*/) const { return false; }
bool HasBreakableByDamageAuraType(AuraType type) const;
bool HasBreakableByDamageCrowdControlAura() const;
bool HasStealthAura() const { return HasAuraType(SPELL_AURA_MOD_STEALTH); }
bool HasInvisibilityAura() const { return HasAuraType(SPELL_AURA_MOD_INVISIBILITY); }