Thread: Game Mechanics: Out of combat pet regen bonus?
View Single Post
  #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.