From f4612f9401bbd409b93695d509fe24be169d5285 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 9 Jun 2019 15:26:04 -0300 Subject: Raise Elmo's exp boost to last a hour, and cancel it automatically when you reach level 15. --- npc/002-3/elmo.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'npc/002-3/elmo.txt') diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index 63dcc88af..d75c783ee 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -149,10 +149,26 @@ function ExpBoost { .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; .@BONUS=.@AVG_LEVEL/4; sc_end SC_OVERLAPEXPUP; - sc_start SC_OVERLAPEXPUP, 900000, min(25, .@BONUS); + sc_start SC_OVERLAPEXPUP, 3600000, min(25, .@BONUS); return; } +OnPCBaseLvUpEvent: + switch (BaseLevel) { + case 15: + sc_end SC_OVERLAPEXPUP; + break; + case 25: + case 50: + case 75: + case 100: + case 125: + case 150: + dispbottom l("Milestone levelup: A reward can now be claimed in Tulimshar."); + break; + } + end; + OnInit: .sex = G_MALE; .distance = 5; -- cgit v1.2.3-60-g2f50