View Single Post
  #44  
Old 08-26-2013, 10:49 PM
Ravhin Ravhin is offline
Sarnak

Ravhin's Avatar

Join Date: Jul 2010
Posts: 308
Default

Quote:
Originally Posted by Splorf22 [You must be logged in to view images. Log in or Register.]
1. I would love to see hitpoints implemented correctly. The values seem correct for Enchanters and other int casters but not for melee. Here is the formula I am using on my sperglord spreadsheet where I toy with various HP values for Sakuragi:

table = { 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 29, 29, 29, 29, 30}

HP = GearHP + (level * table[level] * (1 + min(255, stamina)))/300

Perhaps I don't understand that HP equation, it seems independent of STA for STA<255?

Here is the current wiki code for Warrior HP, it is very similar but I guess the difference is in the STA term?

Code:
    case 'Warrior':
      if ($mlevel < 20)
				$multiplier = 220;
			else if ($mlevel < 30)
				$multiplier = 230;
			else if ($mlevel < 40)
				$multiplier = 250;
			else if ($mlevel < 53)
				$multiplier = 270;
			else if ($mlevel < 57)
				$multiplier = 280;
			else if ($mlevel < 60)
				$multiplier = 290;


  $lmod = $multiplier; //War

  $post_255 = 0;
	
  if ($sta-255/2 > 0)
    $post_255 = ($sta-255/2);
  
  $base_hp = (5)+($level*$lmod/10) + ((($sta-$post_255)*$level*$lmod/3000)) + 
	       (($post_255*$level)*$lmod/6000);

	$hp = $base_hp + $item_hp;
__________________
Ravhin - 56 Gnome Necro (Project 1999, Retired) <Divinity>
Contributor: Project 1999 Wiki
Ravhin incedo'Marduk - 60 Human Paladin (Live on E'ci, 1999-2001) <Destinati Conquerers>