From ab47d8b596e0a10cec256407c949f455c37b21b1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 31 Aug 2019 15:36:41 -0300 Subject: Elmo/Nard - Allow the EXP/DROP up to be used until level 20 --- npc/002-3/elmo.txt | 4 ++-- npc/002-3/nard.txt | 3 ++- npc/003-3/malindou.txt | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index f0f9b5d44..bfb4976b7 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -11,7 +11,7 @@ showavatar NPC_ELMO; // this is handled by avatars.xml // Core functions - if (BaseLevel < 15) + if (BaseLevel < 20) ExpBoost(); if (getq(ShipQuests_Julia) < 3) goto L_NotYet; @@ -142,7 +142,7 @@ function ExpBoost { next; mesn; mesq l("Well, I'll give you a hour of EXP RATE UP! How cool is that? Enjoy!"); - mesc l("This boost can be used until level 15."), 9; + mesc l("This boost can be used until level 20."), 9; next; // Get the average level of top players to calculate EXP Boost // Level 100 ("max") = 25% EXP BOOST (max) diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index f87e39beb..736fe7c99 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -60,7 +60,8 @@ L_Checker: setcamnpc instance_npcname("Elmo"); mesn l("Elmo"); mesq l("I, Elmo, captain's deputy, will help you to make the maximum possible money in Candor!"); - mesc l("Talk to Elmo to get an EXP UP Boost until level 15!"), 2; + mesc l("Elmo has given you an EXP UP and DROP UP Boost until level 20!"), 2; + mesc l("It also expires after two hours. In such case, talk to him again!"), 2; // Actually, why don't we apply it right now...? .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; .@BONUS=min(50, .@AVG_LEVEL/2); diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index e15d0cf1f..037849cbc 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -515,7 +515,7 @@ OnInit: // Level up events OnPCBaseLvUpEvent: switch (BaseLevel) { - case 15: + case 20: sc_end SC_CASH_PLUSEXP; sc_end SC_CASH_RECEIVEITEM; break; -- cgit v1.2.3-60-g2f50