Thread: Oow Code(s)
View Single Post
  #7  
Old 10-01-2004, 09:26 AM
Xabob's Avatar
Xabob
Discordant
 
Join Date: Feb 2004
Location: On your desktop
Posts: 387
Default

In Client.ccp under zone replace 774 to 899 with
Code:
sint32 Client::LevelRegen()
{
	sint32 hp = 0;
	if (GetLevel() <= 19) {
		if(IsSitting())
			hp+=2;
		else
			hp+=1;
	}
	else if(GetLevel() <= 49) {
		if(IsSitting())
			hp+=3;
		else
			hp+=1;
	}
	else if(GetLevel() == 50) {
		if(IsSitting())
			hp+=4;

		else
			hp+=1;
	}
	else if(GetLevel() <= 51) {
		if(IsSitting())
			hp+=5;
		else
			hp+=2;
	}
	else if(GetLevel() <= 56) {
		if(IsSitting())
			hp+=6;
		else
			hp+=3;
	}
	else if(GetLevel() <= 60) {
		if(IsSitting())
			hp+=11;
		else
			hp+=5;
	}
	else if(GetLevel() <= 62) {
		if(IsSitting())
			hp+=13;
		else
			hp+=6;
	}
	else if(GetLevel() <= 64) {
		if(IsSitting())
			hp+=15;
		else
			hp+=9;
	}
	else if(GetLevel() <= 66) {
		if(IsSitting())
			hp+=17;
		else
			hp+=11;
	}
	else if(GetLevel() <= 69) {
		if(IsSitting())
			hp+=19;
		else
			hp+=13;
	}
	else if(GetLevel() <= 70) {
		if(IsSitting())
			hp+=20;
		else
			hp+=14;
	}
	if(GetRace() == IKSAR || GetRace() == TROLL) {
		if (GetLevel() <= 19) { // 1 4
			if(IsSitting())
				hp+=2;
		}
		else if(GetLevel() <= 49) { // 2 6
			if(IsSitting())
				hp+=3;
			else
				hp+=1;
		}		
		else if(GetLevel() <= 50) { // 4 12
			if(IsSitting())
				hp+=7;
			else
				hp+=2;
		}
		else if(GetLevel() <= 51) { 
			if(IsSitting())
				hp+=12;
			else
				hp+=6;
		}
		else if(GetLevel() <= 56) { 
			if(IsSitting())
				hp+=16;
			else
				hp+=10;
		}
		else if(GetLevel() <= 59) { 
			if(IsSitting())
				hp+=18;
			else
				hp+=12;
		}
		else if(GetLevel() <= 62) { 
			if(IsSitting())
				hp+=22;
			else
				hp+=14;
		}
		else if(GetLevel() <= 64) { 
			if(IsSitting())
				hp+=24;
			else
				hp+=16;
		}
		else if(GetLevel() <= 68) { 
			if(IsSitting())
				hp+=26;
			else
				hp+=19;
		}
		else if(GetLevel() <= 70) { 
			if(IsSitting())
				hp+=28;
			else
				hp+=20;
		}
	}
	if (GetAA(225) >= 1){
		hp += GetAA(225);
	}
	if (GetAA(29) >= 1){
		hp += GetAA(29);
	}
	
	return hp;
}
Fixes the Hp regen
Edit: THERE DAMNIT IT SHOULD WORK NOW!!!!!
__________________
[12:38] <RangerDown> I watched Napoleon Dynamite the other day
[12:39] <Xabob> omg
[12:39] <Xabob> want me to shoot you now?
[12:39] <RangerDown> and the first words out of my mouth at the start were:
[12:39] <RangerDown> Hey I bet Rog looks like that

Reply With Quote