From ea6b5f90523e9758d604e910959eb4bd69e6a5cd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 31 Aug 2019 15:38:49 -0300 Subject: Initial EXP/DROP UP rates: Each level up will lower them in 1% --- npc/002-3/elmo.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/002-3') 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; -- cgit v1.2.3-70-g09d2