diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-09 15:26:04 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-09 15:26:04 -0300 |
commit | f4612f9401bbd409b93695d509fe24be169d5285 (patch) | |
tree | acd4b5ef1852edae7a25b09fea1c3d06f2734d14 /npc/002-3/elmo.txt | |
parent | bd030746c08ac64d3d1dcbc1fbc46ff37f72c868 (diff) | |
download | serverdata-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/002-3/elmo.txt')
-rw-r--r-- | npc/002-3/elmo.txt | 18 |
1 files changed, 17 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; |