From f4612f9401bbd409b93695d509fe24be169d5285 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
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 +++++++++++++++++-
 npc/015-8/sealedshrine.txt |  1 +
 2 files changed, 18 insertions(+), 1 deletion(-)

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;
diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt
index 5216d1821..88bc5f4eb 100644
--- a/npc/015-8/sealedshrine.txt
+++ b/npc/015-8/sealedshrine.txt
@@ -564,6 +564,7 @@ function	script	SaggyShrineStatue	{
             mesn l("Guardian Statue");
             mesq l("Your worth shall be tested, and from inside, you shall not leave.");
         } else {
+            deltimer(.@n$+"::OnScheduledDeath");
             doevent(.@n$+"::OnScheduledDeath");
             closeclientdialog;
         }
-- 
cgit v1.2.3-70-g09d2