Project 1999

Go Back   Project 1999 > Server Issues > Resolved Issues

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-11-2012, 01:26 PM
kanras kanras is offline
Developer


Join Date: Dec 2010
Posts: 1,225
Default Out of combat pet regen bonus?

Code:
			if(!IsEngaged())
				SetHP(GetHP()+hp_regen+bonus+(GetLevel()/5));
			else
				SetHP(GetHP()+hp_regen+bonus);
When I was digging around trying to figure out why mage epic wasn't regenerating correctly, I found this. Does anyone have a justification for why pet regen is getting (level/5) extra hp per tic if it's out of combat? I couldn't find any info on this, so I removed it:

Code:
SetHP(GetHP()+hp_regen+bonus);
If you can dig up something about this (preferably classic), please post.
  #2  
Old 01-11-2012, 01:42 PM
Trystych Trystych is offline
Kobold


Join Date: Oct 2010
Posts: 183
Default

Does a pet sitting trigger the out of combat regen? They always gained hp faster when sitting as opposed to idle.
__________________
Trystych
<Inglourious Basterds>
  #3  
Old 01-11-2012, 01:46 PM
kanras kanras is offline
Developer


Join Date: Dec 2010
Posts: 1,225
Default

The sitting bonus is "bonus" in that code. So bonus=3 when sitting, and bonus=0 when not sitting.
  #4  
Old 01-11-2012, 01:49 PM
Xatava Xatava is offline
Kobold

Xatava's Avatar

Join Date: Aug 2011
Posts: 172
Default

Not as bad as all other npcs, which erroneously regen 4 or 5% of their hp a tick out of combat. Hyuk hyuk
  #5  
Old 01-11-2012, 03:14 PM
Yinaltin Yinaltin is offline
Sarnak


Join Date: Mar 2010
Posts: 342
Default

i too think the bonus was not an absolute ammount but a percentage . 3 % bonus sitting seems right if i remember my pet back then . no proof , sorry [You must be logged in to view images. Log in or Register.]
Closed Thread

Thread Tools
Display Modes

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 04:26 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.