summaryrefslogtreecommitdiff
path: root/npc/002-3/elmo.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-3/elmo.txt')
-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;