From b335c281543bda900dfb83a8ba11ee69e3b46773 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 07:25:45 -0300 Subject: Sagratha Request #2: A Golden Apple, reward: 20x Wolvern kills --- npc/014-5-1/sagratha.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'npc/014-5-1') diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt index b953fdebb..1ad86d2a4 100644 --- a/npc/014-5-1/sagratha.txt +++ b/npc/014-5-1/sagratha.txt @@ -483,6 +483,32 @@ function requireHelp { setq General_Sagratha, 2; } break; + case 3: + .@m=Wolvern; + if (BaseLevel < getmonsterinfo(.@m, MOB_LV)) { + mesn; + mesq l("When you're stronger I may consider asking for your help."); + break; + } + mesn; + mesq l("I need help because, you see, I don't carry a cauldron around."); + next; + mesn; + mesq l("I need @@ @@, if you could arrange me that I would be grateful.", 1, getitemlink(GoldenApple)); + if (countitem(GoldenApple) < 1) + break; + next; + mesc l("Deliver the items to Sagratha?"); + if (askyesno() == ASK_YES) { + delitem GoldenApple, 1; + .@xp=getmonsterinfo(.@m, MOB_BASEEXP); + .@jp=getmonsterinfo(.@m, MOB_JOBEXP); + getexp .@xp*20, .@jp*15; + mesn; + mesq l("Thanks. I am willing to share you more magic, if you're interested."); + setq General_Sagratha, 2; + } + break; default: mesn; mesq l("Maybe. Come back later."); -- cgit v1.2.3-70-g09d2