Core/Spells: Temporarily force old flight style mounts

Port From (https://github.com/TrinityCore/TrinityCore/commit/7d36db7ede2597e032c0e8bec5eee79e7be2dd10)
This commit is contained in:
Hondacrx
2024-11-17 13:15:32 -05:00
parent ac61343a68
commit f23db214ae
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -4459,6 +4459,12 @@ namespace Game.Entities
spellInfo.AttributesEx4 |= SpellAttr4.AuraIsBuff;
});
// TODO: temporary, remove with dragonriding
ApplySpellFix( [404468], spellInfo =>
{
spellInfo.AttributesCu |= SpellCustomAttributes.AuraCannotBeSaved;
});
foreach (var spellInfo in mSpellInfoMap.Values)
{
// Fix range for trajectory triggered spell