View Single Post
  #1  
Old 06-29-2009, 01:48 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 198
Default pet dies when caster becomes invisible

I want to modify pets in a variety of ways..to make them function as they originally did on live.

I am new to making custom changes, so the methods I use are probably not correct at all.

#1. Pets die when their caster becomes invisible/hidden.

What is the correct way to go about this? I tried using SetPet(0) in attack.cpp, but no change.. probably because I don't know what I'm doing


#2. Pets die when their owner zones

I received errors when trying to use SetPet in client.cpp

#3. When an npc dies, its pet remains and fights until death.
I wasn't entirely sure where to find this. Only thing I found was in attack.cpp.

^ Results : Same as above

Any knowledge about how to make this work will be appreciated by the npcs of norrath.
Reply With Quote