Core/Auras: Implemented SPELL_AURA_ADV_FLYING

Port From (https://github.com/TrinityCore/TrinityCore/commit/c7a073140cb9cc41aefaff76eca5355acceff409)
This commit is contained in:
Hondacrx
2024-11-10 22:19:03 -05:00
parent 3a4eec6ebd
commit 16f13eece9
4 changed files with 26 additions and 6 deletions
+3 -3
View File
@@ -5788,11 +5788,11 @@ namespace Game.Entities
{
AuraType.ModFear, AuraType.Transform, AuraType.WaterWalk,
AuraType.FeatherFall, AuraType.Hover, AuraType.SafeFall,
AuraType.Fly, AuraType.ModIncreaseMountedFlightSpeed, AuraType.None
AuraType.Fly, AuraType.ModIncreaseMountedFlightSpeed, AuraType.AdvFlying
};
foreach (var aura in auratypes)
foreach (var auraType in auratypes)
{
var auraList = GetAuraEffectsByType(aura);
var auraList = GetAuraEffectsByType(auraType);
if (!auraList.Empty())
auraList.First().HandleEffect(this, AuraEffectHandleModes.SendForClient, true);
}