Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 07-23-2006, 01:19 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

looks reasonable, in the future, please post links to any info sources you base your info on so we can look too.
Reply With Quote
Reply


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 02:21 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3