Jump to content
Sign in to follow this  
Just a boi

Player Experience

Recommended Posts

I need to apply exp reduction for example from lvl 50-60. Like apply 0.5x rate on those level intervals.
Can anyone explain how to do this please? Also how to do the opposite, instead of reduction, increase by 1.5x or 2x experience gained by player in the level intervals of 50-60.

Thank you! :smile:

Share this post


Link to post
Share on other sites

Hello.

On exp_and_level.lua, Go at function ShareTeamExp(), found the following below:

 

			if Lv ( TurnToCha(t[i]) ) >= 80 then 
				exp_up = math.floor ( exp_up / 50 ) 
			end

I didn't get well what u want but it's a sample already made. It divides the exp of players from and above level 80 by 50. Using simple math symbols u can do anything.

  • Like 1

lelouch_signature_by_vahntheknight-d4uafwj.png

Share this post


Link to post
Share on other sites
40 minutes ago, Satan said:

I didn't get well what u want but it's a sample already made. It divides the exp of players from and above level 80 by 50. Using simple math symbols u can do anything.

What is the script for increasing exp by 2x for players under 40?
do i place it before or after the script u sent?

Share this post


Link to post
Share on other sites
9 minutes ago, Just a boi said:

What is the script for increasing exp by 2x for players under 40?
do i place it before or after the script u sent?



 

if Lv ( TurnToCha(t[i]) ) <= 41 then 
				exp_up = exp_up * 2 
			end

 

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
Reply to this topic...

×   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.

Sign in to follow this  

×
×
  • Create New...