summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 07:25:45 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 07:25:45 -0300
commitb335c281543bda900dfb83a8ba11ee69e3b46773 (patch)
treea0532a0c769136140533371f3804a35f8331f216 /npc
parente6a37426c4ddf2ed8ab36a6adef55d6a31f44864 (diff)
downloadserverdata-b335c281543bda900dfb83a8ba11ee69e3b46773.tar.gz
serverdata-b335c281543bda900dfb83a8ba11ee69e3b46773.tar.bz2
serverdata-b335c281543bda900dfb83a8ba11ee69e3b46773.tar.xz
serverdata-b335c281543bda900dfb83a8ba11ee69e3b46773.zip
Sagratha Request #2: A Golden Apple, reward: 20x Wolvern kills
Diffstat (limited to 'npc')
-rw-r--r--npc/014-5-1/sagratha.txt26
1 files changed, 26 insertions, 0 deletions
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.");