From 9ee92d0f3a03ee977bb546add8442528bec6e38f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 07:28:22 -0300 Subject: Sagratha Request #4: 20 Sacred Mana Potions. Reward: 20x Yeti Kills. --- npc/014-5-1/sagratha.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt index 2f18aa02e..4d8e90f44 100644 --- a/npc/014-5-1/sagratha.txt +++ b/npc/014-5-1/sagratha.txt @@ -535,6 +535,32 @@ function requireHelp { setq General_Sagratha, 6; } break; + case 7: + .@m=Yeti; + 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.", 20, getitemlink(SacredManaPotion)); + if (countitem(SacredManaPotion) < 20) + break; + next; + mesc l("Deliver the items to Sagratha?"); + if (askyesno() == ASK_YES) { + delitem SacredManaPotion, 20; + .@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, 6; + } + break; default: mesn; mesq l("Maybe. Come back later."); -- cgit v1.2.3-70-g09d2