Just a boi 0 Report post Posted May 29, 2017 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! Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted May 30, 2017 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. 1 Quote Share this post Link to post Share on other sites
Just a boi 0 Report post Posted May 30, 2017 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? Quote Share this post Link to post Share on other sites
DangThao 81 Report post Posted May 30, 2017 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 Quote Share this post Link to post Share on other sites
Just a boi 0 Report post Posted May 30, 2017 1 minute ago, DangThao said: if Lv ( TurnToCha(t[i]) ) <= 41 then exp_up = exp_up * 2 end Appreciated, to both ppl! Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted May 30, 2017 Should be <= 40, instead of <= 41 @DangThao . Quote Share this post Link to post Share on other sites