Jump to content
  • 0

Baby Jobs HP?


China

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

Well , I was told I needed to edit this in src , so here I was thinking I could do it but couldn't find where to edit it. I want my baby 2nd classes( baby sin, and etc. ) to lose the -30% max hp setting them back to 100% while transcendent is 125% hp. I was wondering where to edit it? Thanks in advance!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  67
  • Reputation:   23
  • Joined:  11/14/11
  • Last Seen:  

in ../src/map/status.c

search for status_base_pc_maxhp function

static unsigned int status_base_pc_maxhp(struct map_session_data* sd, struct status_data* status)
{
...

if (sd->class_&JOBL_UPPER)
	val += val * 25/100; //Trans classes get a 25% hp bonus
else if (sd->class_&JOBL_BABY)
	val -= val * 30/100; //Baby classes get a 30% hp penalty

...

}

Edited by FatalEror
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

Alright, thanks! :P. Fixed it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...