Daraen 7 Posted November 26, 2020 Before switching to Hercules, I was using rAthena and there was no such regen showing. We would say that it displays a skill regen such as increase HP recovery or increase SP recovery when it is not. How to remove this effect please? Quote Share this post Link to post Share on other sites
0 Daraen 7 Posted November 27, 2020 Need help, really important please. Quote Share this post Link to post Share on other sites
0 Daraen 7 Posted November 28, 2020 @anacondaq can you explain why i have this thing. I am using the files from your youtube video : -> Did you modify a few things to achieve this result? Quote Share this post Link to post Share on other sites
0 Huitzilopotchli 4 Posted November 29, 2020 Finaly find it, it come from this: In status.c, status_calc_regen, minimum value is 1, means all job whatever if they have skill or sitting regen bonus, will display this "1" heal regen if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 1, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 1, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 1, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 1, INT16_MAX); } We've change for this and it's work fine if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 0, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 0, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 0, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 0, INT16_MAX); } 2 Caiba and AnnieRuru reacted to this Quote Share this post Link to post Share on other sites
0 Daraen 7 Posted November 29, 2020 (edited) Yes, my teammate find the solution, I upvote the answer so that everyone who has the problem can solve it! Edited November 29, 2020 by Daraen Quote Share this post Link to post Share on other sites
0 buchachi11 0 Posted December 4, 2020 On 11/29/2020 at 8:09 AM, Huitzilopotchli said: Finaly find it, it come from this: In status.c, status_calc_regen, minimum value is 1, means all job whatever if they have skill or sitting regen bonus, will display this "1" heal regen if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 1, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 1, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 1, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 1, INT16_MAX); } if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 1, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 1, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 1, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 1, INT16_MAX); } We've change for this and it's work fine if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 0, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 0, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 0, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 0, INT16_MAX); } if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 0, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 0, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 0, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 0, INT16_MAX); } Hello can you tell me which folder this is? like the pathway so i can edit it. Because i am having the same effect. Im just testing out the server I made using Hercules tutorial i love it. Its just me though. Don't have plans yet in making it online. Quote Share this post Link to post Share on other sites
0 Dduwsmitt 4 Posted December 11, 2020 On 12/4/2020 at 8:47 AM, buchachi11 said: Hello can you tell me which folder this is? like the pathway so i can edit it. Because i am having the same effect. Im just testing out the server I made using Hercules tutorial i love it. Its just me though. Don't have plans yet in making it online. its on hercules/src/map Folder. Quote Share this post Link to post Share on other sites
Before switching to Hercules, I was using rAthena and there was no such regen showing. We would say that it displays a skill regen such as increase HP recovery or increase SP recovery when it is not. How to remove this effect please?
Share this post
Link to post
Share on other sites