Core/Spells: Implemented SPELL_ATTR5_HIDE_DURATION. Duration of auras with this attribute will not be displayed clientside

This commit is contained in:
SeTM authored and tobmaps committed 2011-05-28 21:53:32 +07:00
1 parent df619d8da1
commit fade2383cc
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ void AuraApplication::ClientUpdate(bool remove)
Aura const * aura = GetBase();
data << uint32(aura->GetId());
uint32 flags = m_flags;
if (aura->GetMaxDuration() > 0)
if (aura->GetMaxDuration() > 0 && !(aura->GetSpellProto()->AttributesEx5 & SPELL_ATTR5_HIDE_DURATION))
flags |= AFLAG_DURATION;
data << uint8(flags);
data << uint8(aura->GetCasterLevel());