Core/Spells: Temporarily force old flight style mounts
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d36db7ede2597e032c0e8bec5eee79e7be2dd10)
This commit is contained in:
@@ -588,6 +588,9 @@ namespace Game.Entities
|
|||||||
}
|
}
|
||||||
while (auraResult.NextRow());
|
while (auraResult.NextRow());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: finish dragonriding - this forces old flight mode
|
||||||
|
AddAura(404468, this);
|
||||||
}
|
}
|
||||||
bool _LoadHomeBind(SQLResult result)
|
bool _LoadHomeBind(SQLResult result)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4459,6 +4459,12 @@ namespace Game.Entities
|
|||||||
spellInfo.AttributesEx4 |= SpellAttr4.AuraIsBuff;
|
spellInfo.AttributesEx4 |= SpellAttr4.AuraIsBuff;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// TODO: temporary, remove with dragonriding
|
||||||
|
ApplySpellFix( [404468], spellInfo =>
|
||||||
|
{
|
||||||
|
spellInfo.AttributesCu |= SpellCustomAttributes.AuraCannotBeSaved;
|
||||||
|
});
|
||||||
|
|
||||||
foreach (var spellInfo in mSpellInfoMap.Values)
|
foreach (var spellInfo in mSpellInfoMap.Values)
|
||||||
{
|
{
|
||||||
// Fix range for trajectory triggered spell
|
// Fix range for trajectory triggered spell
|
||||||
|
|||||||
Reference in New Issue
Block a user