Diesel

Member
I am looking for a point in the right direction. I would like to increase the player's hp's. I am looking for the script(s) where the HP calculations are made. I had no luck finding it in CharacterCreation.cs or playermobile.cs. If I knew what the variable name was that might help too.
 
it's in Playermobile.cs

search for:
return (strBase / 2) + 50 + strOffs;

it is the hp calculation formula
 
Thanks I am going to flat out try and double it. So the formula takes str divides it by 2 then adds 50. Not sure what the stroffs variable is
 
So if i want to double the hitpoints I must add a *2 after the +50 before the bonus hit like this maybe (strBase / 2) + 50 * 2 + strOffs;
i think a max 150 hitpoints can get whacked down by a mob even with a bandagenmacro pretty fast. i want the llayernto have a chance to react before he dies.
 
you could use strbase + 100 + (strOffs / 2)
My solution boosted but did not double the hps. So I am trying yours. The variable strbase errored out. I needed to capitalize the B str(B)ase to get it to work.
 
seeing it again and yep :D that was a typo. Also you may want to switch the strOffs / 2 to strOffs * 2

not sure why I halfed the offset ..
 
Just posting this for anyone else who might have been following the thread. Changing:

return (strBase / 2) + 50 + strOffs;

to This did boost my hp's nicely.

return strBase + 125 + (strOffs * 2);

Thanks to Pyro , Visam and Psyhoman78 who all helped me out on this!
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back