EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Feature Requests (https://www.eqemulator.org/forums/forumdisplay.php?f=612)
-   -   Pet kill with PvP reward 3 and Specific item that can be looted off a player in pvp (https://www.eqemulator.org/forums/showthread.php?t=33626)

Dodie 05-24-2011 03:11 PM

Pet kill with PvP reward 3 and Specific item that can be looted off a player in pvp
 
Currently if your pet gets the kill shot on someone in pvp the owner of the pet can't loot the item. Would be cool if someone could work this out.

image 05-26-2011 09:52 AM

Just after the !GetGM() if statement at 1582 in attack.cpp you add:


Mob* compareMob = killerMob;
if ( killerMob->GetOwner() != NULL )
compareMob = killerMob->GetOwner();

then wherever inside that large if statement you see killerMob, make it compareMob.


All times are GMT -4. The time now is 02:53 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.