From d9cb1c9dcb912902a716673a5c8c909d141827a9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 20 Jul 2019 18:51:00 -0300 Subject: OnPCBaseLvUp fix --- npc/002-3/elmo.txt | 16 ---------------- npc/003-3/malindou.txt | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'npc') diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index 4591ed42f..ee36f8e2b 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -154,22 +154,6 @@ function ExpBoost { 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/003-3/malindou.txt b/npc/003-3/malindou.txt index 36a57680f..75235f9bf 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -464,6 +464,23 @@ OnInit: //htput($@CONTRIBUTORS, "", 1); end; +// Level up events +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; + // Every time the server starts, clean up possibly broken data about treasures. // NPC ID might have changed. OnInterIfInitOnce: -- cgit v1.2.3-60-g2f50