diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-06-30 22:10:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-06-30 22:10:56 -0300 |
commit | 01111a347ba3546b941c73c8ad70e9507b8d1f9b (patch) | |
tree | a5cf1adc320988cf9b6729f644fae4138be29319 | |
parent | fc67a4740d86f4db3f638b3e8febc1a10a626ce4 (diff) | |
download | serverdata-01111a347ba3546b941c73c8ad70e9507b8d1f9b.tar.gz serverdata-01111a347ba3546b941c73c8ad70e9507b8d1f9b.tar.bz2 serverdata-01111a347ba3546b941c73c8ad70e9507b8d1f9b.tar.xz serverdata-01111a347ba3546b941c73c8ad70e9507b8d1f9b.zip |
Do it the easy way instead
-rw-r--r-- | conf/map/battle/exp.conf | 2 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/map/battle/exp.conf b/conf/map/battle/exp.conf index 25d64b5..64225df 100644 --- a/conf/map/battle/exp.conf +++ b/conf/map/battle/exp.conf @@ -41,7 +41,7 @@ base_exp_rate: 100 job_exp_rate: 100 // Turn this on to allow a player to level up more than once from a kill. (Note 1) -multi_level_up: false +multi_level_up: true // Setting this can cap the max experience one can get per kill specified as a // % of the current exp bar. (Every 10 = 1.0%) diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index be28659..5fe42c2 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -183,6 +183,7 @@ function script clientupdater { if (#ADD_LVL) { resetlvl(2); // Not really a good idea... //logmes "[Merger] EXP +"+#ADD_LVL, LOGMES_ATCOMMAND; + /* if ((readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp))) { freeloop(true); do { @@ -192,6 +193,7 @@ function script clientupdater { } while (readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp)); freeloop(false); } + */ // Left overs getexp #ADD_LVL, 0; #ADD_LVL=0; |