From a3dfb82ee4f07c80885ceb3adf00011d9be3193f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 26 Apr 2019 10:19:45 -0300 Subject: New players (up to level 15) may take an UNLIMITED personal 20% EXP UP boost. Of course, once they get level 15, they won't be able to call for the EXP UP anymore... This will allow new players to complete Candor even quicker! :3 --- npc/002-3/elmo.txt | 16 ++++++++++++++++ npc/002-3/nard.txt | 1 + 2 files changed, 17 insertions(+) (limited to 'npc/002-3') diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index 20b00dfaf..802d00046 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -4,8 +4,10 @@ // Description: // Elmo's second dialog. He is Nard's deputy and second-in-command. // Elmo was created in Evol by Qwerty Dragon and Reid +// TODO: allows smart noobs (<15) get EXP Bonus (20%) 002-3,32,24,0 script Elmo NPC_ELMO,{ + function ExpBoost; showavatar NPC_ELMO; // this is handled by avatars.xml if (getq(ShipQuests_Julia) < 3) goto L_NotYet; @@ -28,6 +30,8 @@ L_NotYet: close; L_Candor: + if (BaseLevel < 15) + ExpBoost(); mesn; if (getq(General_Narrator) < 1) mes l("\"Hey, have you already got the money necessary for the travel?"); if (getq(General_Narrator) < 1) mes l("If you haven't, maybe there are a few things you can do besides selling items.\""); @@ -125,6 +129,18 @@ L_Party: mesq l("Alright, I'll show up later. Thanks for calling me. Here's 1000 GP for your efforts."); // With this, the final cost is 50 GP close; +function ExpBoost { + mesn; + mesq l("Hey there, @@! I see you are still a noob!", strcharinfo(0)); + next; + mesn; + mesq l("Well, I'll give you 15 minutes of EXP RATE UP! How cool is that? Enjoy!"); + next; + sc_end SC_OVERLAPEXPUP; + sc_start SC_OVERLAPEXPUP, 900000, 20; + return; +} + OnInit: .sex = G_MALE; .distance = 5; diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index a72e9223c..96dd039d0 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -55,6 +55,7 @@ L_MenuQuest: setcamnpc "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!"); next; showavatar NPC_NARD; mesn; -- cgit v1.2.3-70-g09d2