Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2011, 03:11 PM
Dodie
Sarnak
 
Join Date: Jun 2004
Posts: 67
Default 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.
Reply With Quote
  #2  
Old 05-26-2011, 09:52 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

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.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:46 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3