Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-16-2009, 07:24 AM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default

in client_process.cpp at line 542 Below DoStaminaUpdate();

Code:
                        Mob* myPet = this->GetPet();
			bool amClient = IsClient();

			if(this->HasPet() && IsClient())
				if(myPet->IsCharmed() && invisible == true && amClient) {    //Null:  charm fades on Invisibility
				myPet->BuffFadeByEffect(SE_Charm);
				myPet->AddToHateList(this, 100);
			}
			if(myPet && invisible == true && amClient)    //Null:  pet goes away on Invisibility
				this->SetPet(0);

Namely it's the
if(myPet && invisible == true && amClient) //Null: pet goes away on Invisibility
this->SetPet(0);

lines. I didn't test this. I just noticed it while I was doing an old revision to newest that it had this code.
__________________

~Shin Noir
DungeonEQ.com
Reply With Quote
 


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:41 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3