Jump to content

Reinforced Net


tyrael

Recommended Posts

                   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;

is there any way to write it in mangos way? this is from trinity and is used for death from above quest

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use