View Single Post
  #1  
Old 07-19-2006, 04:24 PM
EverHood
Restoring Necromancers to their former glory, one patch at a time
 
Join Date: Jul 2006
Posts: 6
Default Natural Regen Fixes - Troll/Iksar Candy

The natural regen for players was out of date with live according to information I found on casters realm and acrossed various forums and was also not giving Trolls and Iksar any race bonus. These changes bring the results in line with what I found. Also the worn hp regen cap was improperly set to 15 and has been correctly set to 35.

Here is the diff:
Code:
--- E:\EQEmu833\zone\features.h	Tue Jul 18 20:24:53 2006
+++ C:\EQEmuSP\Source\0.7.0\zone\features.h	Tue Jul 18 20:24:53 2006
@@ -199,7 +199,7 @@
 
 enum {	//various hard caps
 	eqManaRegenItemCap = 15,
-	eqHPRegenItemCap = 15
+	eqHPRegenItemCap = 35 // EverHood - 15 was totally wrong.
 };
 
 enum {	//timer settings, all in milliseconds
--- E:\EQEmu833\zone\client_mods.cpp	Mon Apr 17 06:59:14 2006
+++ C:\EQEmuSP\Source\0.7.0\zone\client_mods.cpp	Wed Jul 19 18:02:37 2006
@@ -109,60 +109,72 @@
 		else
 			hp+=1;
 	}
-	else if(level == 51) {
+	else if(level <= 55) {
 		if(sitting)
 			hp+=5;
 		else
 			hp+=2;
 	}
-	else if(level <= 56) {
+	else if(level <= 58) {
 		if(sitting)
 			hp+=6;
 		else
 			hp+=3;
 	}
-	else {
+	else if(level <= 65) {
 		if(sitting)
 			hp+=7;
 		else
 			hp+=4;
 	}
+	else {
+		if(sitting)
+			hp+=8;
+		else
+			hp+=5;
+	}
 	if(GetRace() == IKSAR || GetRace() == TROLL) {
 		if (level <= 19) {
 			if(sitting)
-				hp+=2;
+				hp+=4;
 			else
-				hp += 1;
+				hp += 2;
 		}
 		else if(level <= 49) {
 			if(sitting)
-				hp+=3;
+				hp+=6;
 			else
-				hp+=1;
+				hp+=2;
 		}
 		else if(level == 50) {
 			if(sitting)
-				hp+=4;
+				hp+=8;
 			else
-				hp+=1;
+				hp+=2;
 		}
 		else if(level == 51) {
 			if(sitting)
-				hp+=7;
+				hp+=12;
 			else
-				hp+=4;
+				hp+=6;
 		}
 		else if(level <= 56) {
 			if(sitting)
+				hp+=16;
+			else
 				hp+=10;
+		}
+		else if(level <= 65) {
+			if(sitting)
+				hp+=18;
 			else
-				hp+=7;
+				hp+=12;
 		}
 		else {
 			if(sitting)
-				hp+=11;
+				hp+=20;
 			else
-				hp+=8;
+				hp+=10;
 		}
 	}
 	if (GetAA(aaInnateRegeneration) >= 1){
Reply With Quote