Moooooon-Aisha Posted November 4, 2019 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 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 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...
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