multi level up request please

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;


 

 
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
default_sad.png


 
Last edited by a moderator:
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.

 
Last edited by a moderator:
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

 
Last edited by a moderator:
Back
Top