Jump to content
  • 0
Sign in to follow this  
Alexandria

multi level up request please

Question

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 Alexandria

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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 by Nova

Share this post


Link to post
Share on other sites
  • 0

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;

 

 

 

Share this post


Link to post
Share on other sites
  • 0

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 by Alexandria

Share this post


Link to post
Share on other sites
  • 0

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 by Alexandria

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.