Jump to content
  • 0
Moooooon-Aisha

Slight Heal change

Question

Hi, is there any way to include X% of target's max hp as heal amount?

For example:

Max HP of target is 100, and I want Heal to additionally heal the target for 25% of his max HP, so that would come to 25 extra HP healed.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
On 11/6/2019 at 11:47 AM, Easycore said:

https://github.com/rathena/rathena/blob/master/src/map/skill.cpp#L6274

Add:

status_percent_heal(bl, x, 0);

Replace X by the percentage.

Thanks, so I would assume that the other 0 means SP?

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.