mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: Temporarily force old flight style mounts
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user