summaryrefslogtreecommitdiff
path: root/npc/002-3/nard.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-27 20:56:44 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-27 20:56:44 -0300
commit10d91ca8cb040a67bc4a283b68f8b01192739414 (patch)
treebd087ad4b9938cd60e6de404e25417b6129cf465 /npc/002-3/nard.txt
parentea72764cc1c8a817c8476d26c68bf799eda70063 (diff)
downloadserverdata-10d91ca8cb040a67bc4a283b68f8b01192739414.tar.gz
serverdata-10d91ca8cb040a67bc4a283b68f8b01192739414.tar.bz2
serverdata-10d91ca8cb040a67bc4a283b68f8b01192739414.tar.xz
serverdata-10d91ca8cb040a67bc4a283b68f8b01192739414.zip
Pre-level 15 bonus will now raise drop rates, too, because new players need them.
Fix the code which expires both bonuses on level up because it became deprecated.
Diffstat (limited to 'npc/002-3/nard.txt')
-rw-r--r--npc/002-3/nard.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt
index a45c9c40c..80ade6443 100644
--- a/npc/002-3/nard.txt
+++ b/npc/002-3/nard.txt
@@ -63,11 +63,13 @@ L_Checker:
mesc l("Talk to Elmo to get an EXP UP Boost until level 15!"), 2;
// Actually, why don't we apply it right now...?
.@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3;
- .@BONUS=.@AVG_LEVEL/4;
+ .@BONUS=min(25, .@AVG_LEVEL/4);
sc_end SC_CASH_PLUSEXP;
- sc_start SC_CASH_PLUSEXP, 3600000, min(25, .@BONUS);
+ sc_end SC_CASH_RECEIVEITEM;
+ sc_start SC_CASH_PLUSEXP, 3600000, .@BONUS;
+ sc_start SC_CASH_RECEIVEITEM, 3600000, .@BONUS;
specialeffect FX_SPECIAL, SELF, getcharid(3);
- mesc l("EXP Gain raised in @@% for one hour!", min(25, .@BONUS)), 2;
+ mesc l("EXP Gain raised in @@% for one hour!", .@BONUS, 2;
next;
showavatar NPC_NARD;
mesn;