Core/Spells: Temporarily force old flight style mounts

This commit is contained in:
Shauren
2024-11-09 11:50:47 +01:00
parent ea9b8a2874
commit 7d36db7ede
2 changed files with 9 additions and 0 deletions

View File

@@ -18779,6 +18779,9 @@ void Player::_LoadAuras(PreparedQueryResult auraResult, PreparedQueryResult effe
}
while (auraResult->NextRow());
}
// TODO: finish dragonriding - this forces old flight mode
AddAura(404468, this);
}
void Player::_LoadGlyphAuras()

View File

@@ -5049,6 +5049,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx4 |= SPELL_ATTR4_AURA_IS_BUFF;
});
// TODO: temporary, remove with dragonriding
ApplySpellFix({ 404468 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesCu |= SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED;
});
for (SpellInfo const& s : mSpellInfoMap)
{
SpellInfo* spellInfo = &const_cast<SpellInfo&>(s);