Jump to content
  • 0

Slight Heal change


Moooooon-Aisha

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   18
  • Joined:  09/08/17
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

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

Add:

status_percent_heal(bl, x, 0);

Replace X by the percentage.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  116
  • Reputation:   18
  • Joined:  09/08/17
  • Last Seen:  

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