summaryrefslogtreecommitdiff
path: root/npc/014-5-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 07:30:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 07:30:36 -0300
commit4774e7beea749dcca652aa80bb8358496c44adb2 (patch)
tree90dd71fcafdaef0269314f48892fb38e8f05324b /npc/014-5-1
parent9ee92d0f3a03ee977bb546add8442528bec6e38f (diff)
downloadserverdata-4774e7beea749dcca652aa80bb8358496c44adb2.tar.gz
serverdata-4774e7beea749dcca652aa80bb8358496c44adb2.tar.bz2
serverdata-4774e7beea749dcca652aa80bb8358496c44adb2.tar.xz
serverdata-4774e7beea749dcca652aa80bb8358496c44adb2.zip
Sagratha Request #5: 20 Sacred Immortality Potion + 1 Arcanum Stone.
Reward: 20 Terranite kills
Diffstat (limited to 'npc/014-5-1')
-rw-r--r--npc/014-5-1/sagratha.txt32
1 files changed, 31 insertions, 1 deletions
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt
index 4d8e90f44..604dd0c87 100644
--- a/npc/014-5-1/sagratha.txt
+++ b/npc/014-5-1/sagratha.txt
@@ -558,7 +558,37 @@ function requireHelp {
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;
+ setq General_Sagratha, 8;
+ }
+ break;
+ case 9:
+ .@m=Terranite;
+ 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(SacredImmortalityPotion));
+ if (countitem(SacredImmortalityPotion) < 20)
+ break;
+ mesq l("Ah! I also want @@ @@.", 1, getitemlink(Arcanum));
+ if (countitem(Arcanum) < 1)
+ break;
+ next;
+ mesc l("Deliver the items to Sagratha?");
+ if (askyesno() == ASK_YES) {
+ delitem SacredImmortalityPotion, 20;
+ delitem Arcanum, 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, 10;
}
break;
default: