Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 12-03-2016, 08:59 PM
Coenxai's Avatar
Coenxai
Hill Giant
 
Join Date: Dec 2013
Posts: 151
Default

I'll be a little more helpful since the problem is such a basic fix/change. Basically, you're casting a healing spell, much like greater healing, that is only targetting your pet. This is applying the same threat generation for casting a healing spell.

You're going to want to find the following function
Code:
int32 Mob::CheckHealAggroAmount(uint16 spell_id, Mob *target, uint32 heal_possible)
and apply this basic change
Code:
	if (spells[spell_id].targettype == ST_Pet)
		return 0;
Now, this is going to make *any* spell that heals with the target type pet to generate zero aggro. I'm assuming this is what you want with the information you provided since I have no idea how live works. Healing the pet with targetted healing spells will generate aggro normally.

(With that said I vaguely remember adds attempting to kill me back in the day when I tried healing my pet. So in that case, you'll want to create a reduced threat formula.)
__________________
"The true sign of intelligence is not knowledge but imagination."
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:31 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