diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 07:28:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 07:28:22 -0300 |
commit | 9ee92d0f3a03ee977bb546add8442528bec6e38f (patch) | |
tree | 6d5ab6150a80b54d3b9230f655649223dc78e73c /npc/014-5-1 | |
parent | c7c69b9e1acfa55580eb85add0a6beb053e1226a (diff) | |
download | serverdata-9ee92d0f3a03ee977bb546add8442528bec6e38f.tar.gz serverdata-9ee92d0f3a03ee977bb546add8442528bec6e38f.tar.bz2 serverdata-9ee92d0f3a03ee977bb546add8442528bec6e38f.tar.xz serverdata-9ee92d0f3a03ee977bb546add8442528bec6e38f.zip |
Sagratha Request #4: 20 Sacred Mana Potions. Reward: 20x Yeti Kills.
Diffstat (limited to 'npc/014-5-1')
-rw-r--r-- | npc/014-5-1/sagratha.txt | 26 |
1 files changed, 26 insertions, 0 deletions
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."); |