summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-31 15:38:49 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-31 15:38:49 -0300
commitea6b5f90523e9758d604e910959eb4bd69e6a5cd (patch)
tree95ef660c38ae39a9469971fdee565ce9787f2138
parentab47d8b596e0a10cec256407c949f455c37b21b1 (diff)
downloadserverdata-ea6b5f90523e9758d604e910959eb4bd69e6a5cd.tar.gz
serverdata-ea6b5f90523e9758d604e910959eb4bd69e6a5cd.tar.bz2
serverdata-ea6b5f90523e9758d604e910959eb4bd69e6a5cd.tar.xz
serverdata-ea6b5f90523e9758d604e910959eb4bd69e6a5cd.zip
Initial EXP/DROP UP rates: Each level up will lower them in 1%
-rw-r--r--npc/002-3/elmo.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt
index bfb4976b7..729c09fa7 100644
--- a/npc/002-3/elmo.txt
+++ b/npc/002-3/elmo.txt
@@ -151,6 +151,8 @@ function ExpBoost {
// Current (2019-08-31) top is 85/84/83, meaning a 42% EXP/DROP Boost.
.@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3;
.@BONUS=min(50, .@AVG_LEVEL/2);
+ .@BONUS-=BaseLevel;
+ .@BONUS=max(1, .@BONUS);
sc_end SC_CASH_PLUSEXP;
sc_end SC_CASH_RECEIVEITEM;
sc_start SC_CASH_PLUSEXP, 7200000, .@BONUS;