refactor(Core/Misc): Define & Rename Attributes (#5311)

This commit is contained in:
Kitzunu
2021-04-28 14:55:24 +02:00
committed by GitHub
parent 0a571973d7
commit 5954d9c739
22 changed files with 667 additions and 666 deletions

View File

@@ -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