Alexandria 53 Posted September 8, 2015 (edited) Hello there. We have activated "multi level up" to "yes" but we want to deactivate it after base level 80. Any help for this source request would be appreciated. Thank you! P.S: I'm talking about this file line 19 https://github.com/HerculesWS/Hercules/blob/master/conf/battle/exp.conf Edited September 8, 2015 by Alexandria Quote Share this post Link to post Share on other sites
0 Nova 4 Posted September 8, 2015 (edited) Your multi-level up conf should be set to yes still. sd->status.base_exp -= next; //Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [skotlex] if(battle_config.multi_level_up && sd->status.base_level < 80 && sd->status.base_exp > next-1) sd->status.base_exp = next-1; Just remove the ! and it should be fine I believe. Edited September 8, 2015 by Nova Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted September 8, 2015 In pc.c find: sd->status.base_exp -= next; //Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [Skotlex] if(!battle_config.multi_level_up && sd->status.base_exp > next-1) sd->status.base_exp = next-1; And replace for this: sd->status.base_exp -= next; //Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [Skotlex] if(!battle_config.multi_level_up && sd->status.base_level < 80 && sd->status.base_exp > next-1) sd->status.base_exp = next-1; Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted September 8, 2015 (edited) In pc.c find: sd->status.base_exp -= next; //Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [Skotlex] if(!battle_config.multi_level_up && sd->status.base_exp > next-1) sd->status.base_exp = next-1; And replace for this: sd->status.base_exp -= next; //Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [Skotlex] if(!battle_config.multi_level_up && sd->status.base_level < 80 && sd->status.base_exp > next-1) sd->status.base_exp = next-1; Thank you for helping me but it didnt work Edited September 8, 2015 by Alexandria Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted September 8, 2015 (edited) Your multi-level up conf should be set to yes still. sd->status.base_exp -= next; //Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [skotlex] if(battle_config.multi_level_up && sd->status.base_level < 80 && sd->status.base_exp > next-1) sd->status.base_exp = next-1; Just remove the ! and it should be fine I believe. It worked now but i have to change the < to > thank you !. sd->status.base_level > 80 Any help guys? Thanks Edited September 8, 2015 by Alexandria Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted September 8, 2015 sd->status.base_level >= 80 Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted September 9, 2015 sd->status.base_level >= 80 Oh thank you Quote Share this post Link to post Share on other sites
Hello there.
We have activated "multi level up" to "yes" but we want to deactivate it after base level 80.
Any help for this source request would be appreciated.
Thank you!
P.S: I'm talking about this file line 19 https://github.com/HerculesWS/Hercules/blob/master/conf/battle/exp.conf
Edited by AlexandriaShare this post
Link to post
Share on other sites