Host32 1 Posted August 20, 2015 Hello I would like to modify the default SP regen rate of all the players but I can not find this configuration someone can help me? Thanks Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted August 20, 2015 This is a script function correct? (bonus) I should create a script to grant it? There isn't conf file that sets this? Have you tried changing the setting here? https://github.com/HerculesWS/Hercules/blob/master/conf/battle/player.conf Quote Share this post Link to post Share on other sites
0 Mystery 594 Posted August 20, 2015 Isn't it this in the pc.c file? case SP_SP_REGEN_RATE: if(sd->state.lr_flag != 2) { sd->sp_regen.value = type2; sd->sp_regen.rate = val; } https://github.com/HerculesWS/Hercules/blob/94df0300da69e3dde9bc05f32137dd90c43040e8/src/map/pc.c Quote Share this post Link to post Share on other sites
0 Host32 1 Posted August 20, 2015 This is a script function correct? (bonus) I should create a script to grant it? There isn't conf file that sets this? Quote Share this post Link to post Share on other sites
0 Host32 1 Posted August 20, 2015 what setting? lol only find 'natural_healsp_interval', nothing about healsp regen rate :/ Quote Share this post Link to post Share on other sites
0 Host32 1 Posted August 21, 2015 Okay, It is not exactly the solution I was looking for, but the config 'natural_healsp_interval' solved my problem I consider this as a workaround thank you Quote Share this post Link to post Share on other sites
Hello
Share this post
Link to post
Share on other sites