Jump to content
  • 0
China

Baby Jobs HP?

Question

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

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

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.