Hello.
I was looking to change HP and SP recovery, both idle and when sitting.
I found some old threads but the code in the threads are old C code and not cpp.
I looked into rathena/src/map/status.cpp and have seen some code related to HP and SP regen while sitting.
static int status_natural_heal(struct block_list* bl, va_list args)
But I am unsure if ths is the right place and what exactly I should change.
If I understood it correctly I would like to edit the following lines to adjust the sitting HP and SP recovery:
// for HP
rate = (int)(natural_heal_diff_tick * (sregen->rate.hp / 100.));
// for SP
rate = (int)(natural_heal_diff_tick * (sregen->rate.sp / 100.));
Any help would be appreciated.
Thanks.