summaryrefslogtreecommitdiff
path: root/npc/019-2/guards.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-30 22:01:22 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-30 22:01:22 -0200
commit69230b0d55fc54352ed4f55d78880a753eba6798 (patch)
treea23fd43f2fc50672d97f91025d6c3589a6ba6cdb /npc/019-2/guards.txt
parente01d0605e26bc0b37ecbc119aa2db13078177d73 (diff)
downloadserverdata-69230b0d55fc54352ed4f55d78880a753eba6798.tar.gz
serverdata-69230b0d55fc54352ed4f55d78880a753eba6798.tar.bz2
serverdata-69230b0d55fc54352ed4f55d78880a753eba6798.tar.xz
serverdata-69230b0d55fc54352ed4f55d78880a753eba6798.zip
The Advanced quest from the event is now possibly complete, except for the
Monster King part (=You cannot complete it)
Diffstat (limited to 'npc/019-2/guards.txt')
-rw-r--r--npc/019-2/guards.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/019-2/guards.txt b/npc/019-2/guards.txt
index 127686cb4..8a37d468d 100644
--- a/npc/019-2/guards.txt
+++ b/npc/019-2/guards.txt
@@ -35,6 +35,8 @@
$NLIB_DAY=1;
$NLIB_HIGHTIME=0;
$NLIB_HIGHNAME$="";
+ setmapflagnosave("019-3", "000-1", 22, 22);
+ setmapflag("019-3",mf_bexp,25);
channelmes("#world", "Nivalis Liberation Day has started.");
announce "Nivalis Liberation Day has started.", bc_all|bc_npc;
}
@@ -57,6 +59,19 @@ L_Veteran:
if ($NLIB_DAY >= 7) goto L_MK;
mesn;
mesq l("Hey, you! We need help to find the Monster King.");
+ next;
+ mesn;
+ mesq l("Could you head deep in the woods and track him down?");
+ if (askyesno() == ASK_YES) {
+ // Control if you already found the Monster King
+ @QNL3=0;
+ // Begin quest. Logout/Death will cause loss of the current day.
+ setq1 Q_NivalisLibday, $NLIB_DAY;
+ setq3 Q_NivalisLibday, gettimetick(2);
+ warp "019-3", any(128, 129, 130, 131, 132), any(24, 25, 26, 27);
+ doevent("Guard#019-3.1::OnBegin");
+ closedialog;
+ }
close;
L_MK:
@@ -83,8 +98,9 @@ OnHour00:
end;
OnClock1830:
- if (!$NLIB_DAY)
+ if ($NLIB_DAY != 7)
end;
+ setmapflag("023-2",mf_bexp,200);
end;
}