mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
refactor(Core/Misc): Define & Rename Attributes (#5311)
This commit is contained in:
@@ -1361,11 +1361,11 @@ void Pet::_SaveAuras(SQLTransaction& trans, bool logout)
|
||||
continue;
|
||||
|
||||
// pussywizard: don't save auras that cannot be cancelled (needed for ICC buff on pets/summons)
|
||||
if (aura->GetSpellInfo()->HasAttribute(SPELL_ATTR0_CANT_CANCEL))
|
||||
if (aura->GetSpellInfo()->HasAttribute(SPELL_ATTR0_NO_AURA_CANCEL))
|
||||
continue;
|
||||
|
||||
// xinef: don't save hidden auras
|
||||
if (aura->GetSpellInfo()->HasAttribute(SPELL_ATTR1_DONT_DISPLAY_IN_AURA_BAR))
|
||||
if (aura->GetSpellInfo()->HasAttribute(SPELL_ATTR1_NO_AURA_ICON))
|
||||
continue;
|
||||
|
||||
// Xinef: Dont save auras with model change
|
||||
|
||||
Reference in New Issue
Block a user