So 
// The client must have been out of combat for RuleI(Character, RestRegenTimeToActivate) seconds, 
 
I am OK with that I understand now. I was testing it by casting speels on myself sitting in a safe spot and then sitting down. Seams to work as coded when in combat. 
 
I am not too concerned about it kicking in if the player has been out of combat for some time. I was just concerned about players sitting in the middle of a fight to get mana regen when OOM. Seams to work fine when in combat. 
 
Off now to try and correct the jumping Mana/HP bar that goes up 23,24,25,26 
then down back to 24 and starting to regen again. Been reading about it here and there just have not found a fix really that is not dateed. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 |