Moooooon-Aisha Posted November 4, 2019 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 116 Reputation: 19 Joined: 09/08/17 Last Seen: April 13, 2023 Share Posted November 4, 2019 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. Quote Link to comment Share on other sites More sharing options...
0 Easycore Posted November 6, 2019 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 220 Reputation: 257 Joined: 04/08/13 Last Seen: August 24, 2023 Share Posted November 6, 2019 https://github.com/rathena/rathena/blob/master/src/map/skill.cpp#L6274 Add: status_percent_heal(bl, x, 0); Replace X by the percentage. Quote Link to comment Share on other sites More sharing options...
0 Moooooon-Aisha Posted November 7, 2019 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 116 Reputation: 19 Joined: 09/08/17 Last Seen: April 13, 2023 Author Share Posted November 7, 2019 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? Quote Link to comment Share on other sites More sharing options...
Question
Moooooon-Aisha
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.