From a91bf2f028f63a7b53b203213cc731456d1c5619 Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Mon, 1 Feb 2010 21:25:10 +0100 Subject: [PATCH] Fix quest : Death From Above. Thanks clement.roussel for original patch. Fixes issue #592. --HG-- branch : trunk --- src/game/SpellAuraEffects.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index c881074e07..de50756c31 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