Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

1 vit = ? HP


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.06
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

if i put 1 Vit..how many hp will be added
if for example 1 VIT= 10HP
i want to make it 1 VIt = 20 HP what will i edit? 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  905
  • Reputation:   248
  • Joined:  01/30/13
  • Last Seen:  

Right now each Vit increases HP by 1%.

 

In status.c:

status_calc_maxhpsp_pc

 

Find:

max = job_info[idx].base_hp[level-1] * (1 + (max(stat,1) * 0.01)) * ((sd->class_&JOBL_UPPER)?1.25:1);

 

If you want to double the effect of vit you need to change the 0.01 to 0.02.

  • Upvote 2
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...