aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellAuraEffects.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp
index c881074e076..de50756c316 100644
--- a/src/game/SpellAuraEffects.cpp
+++ b/src/game/SpellAuraEffects.cpp
@@ -5481,6 +5481,14 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo
}
}
break;
+ case 46361: // Reinforced Net
+ if (caster)
+ {
+ float currentGroundLevel = target->GetBaseMap()->GetHeight(target->GetPositionX(), target->GetPositionY(), MAX_HEIGHT);
+ if (target->GetPositionZ() > currentGroundLevel)
+ target->GetMotionMaster()->MoveFall(currentGroundLevel);
+ }
+ break;
case 46699: // Requires No Ammo
if(target->GetTypeId() == TYPEID_PLAYER)
((Player*)target)->RemoveAmmo(); // not use ammo and not allow use