View Single Post
  #7  
Old 05-18-2004, 05:45 AM
blastoma
Sarnak
 
Join Date: May 2004
Location: Canada
Posts: 69
Default

This is the code im using. Near where M0oni9 said. Line (484):

Code:
         if(GetHP() < GetMaxHP()) {
			if(GetOwnerID()!=0 && !IsEngaged()) //pet
				SetHP(GetHP()+hp_regen+bonus+(GetLevel()/5));
         else if (!IsEngaged() && !IsMezzed()) 
				SetHP (GetHP() + hp_regen + (GetMaxHP()/15) + bonus); 
			else
				SetHP(GetHP()+hp_regen+bonus);
		}
		if(GetMana() < GetMaxMana()) {
			SetMana(GetMana()+mana_regen+bonus);
Works great for me. I'm pretty sure thats sorta what eqlive does.
Reply With Quote