Log in

View Full Version : Pet kill with PvP reward 3 and Specific item that can be looted off a player in pvp


Dodie
05-24-2011, 03:11 PM
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.