summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-09 15:26:04 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-09 15:26:04 -0300
commitf4612f9401bbd409b93695d509fe24be169d5285 (patch)
treeacd4b5ef1852edae7a25b09fea1c3d06f2734d14 /npc
parentbd030746c08ac64d3d1dcbc1fbc46ff37f72c868 (diff)
downloadserverdata-f4612f9401bbd409b93695d509fe24be169d5285.tar.gz
serverdata-f4612f9401bbd409b93695d509fe24be169d5285.tar.bz2
serverdata-f4612f9401bbd409b93695d509fe24be169d5285.tar.xz
serverdata-f4612f9401bbd409b93695d509fe24be169d5285.zip
Raise Elmo's exp boost to last a hour, and cancel it automatically when you
reach level 15.
Diffstat (limited to 'npc')
-rw-r--r--npc/002-3/elmo.txt18
-rw-r--r--npc/015-8/sealedshrine.txt1
2 files changed, 18 insertions, 1 deletions
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;
}