Fix for some combat log errors.
Only Vanish and Invisibility auras will now prevent from taking damage if target is not visible for caster. --HG-- branch : trunk
This commit is contained in:
@@ -1018,6 +1018,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
uint32 GetCombatTimer() const { return m_CombatTimer; }
|
||||
|
||||
bool HasAuraType(AuraType auraType) const;
|
||||
bool HasAuraTypeWithFamilyFlags(AuraType auraType, uint32 familyName, uint64 familyFlags) const;
|
||||
bool HasAura(uint32 spellId, uint32 effIndex) const
|
||||
{ return m_Auras.find(spellEffectPair(spellId, effIndex)) != m_Auras.end(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user