diff options
Diffstat (limited to 'npc/002-3')
-rw-r--r-- | npc/002-3/elmo.txt | 11 | ||||
-rw-r--r-- | npc/002-3/nard.txt | 12 |
2 files changed, 14 insertions, 9 deletions
diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index 3aa022b19..4fa12f700 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -148,10 +148,13 @@ function ExpBoost { // Level 100 ("max") = 25% EXP BOOST (max) // Current (2019-04-27) top is 80/80/75, meaning a 19% EXP Boost. .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; - .@BONUS=.@AVG_LEVEL/4; - sc_end SC_OVERLAPEXPUP; - sc_start SC_OVERLAPEXPUP, 3600000, min(25, .@BONUS); - mesc l("EXP Gain raised in @@% for one hour!", min(25, .@BONUS)), 2; + .@BONUS=min(25, .@AVG_LEVEL/4); + sc_end SC_CASH_PLUSEXP; + 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!", .@BONUS), 2; return; } diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index 5feca5164..ce0e513f2 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; - sc_end SC_OVERLAPEXPUP; - sc_start SC_OVERLAPEXPUP, 3600000, min(25, .@BONUS); + .@BONUS=min(25, .@AVG_LEVEL/4); + sc_end SC_CASH_PLUSEXP; + 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; @@ -129,7 +131,7 @@ L_FirstLogin: close; -L_NeedHead: +L_NeedHelp: mes ""; mesn; mesq l("You're pretty much stranded on this forsaken island if you don't help me!"); |