From 69230b0d55fc54352ed4f55d78880a753eba6798 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 30 Oct 2018 22:01:22 -0200 Subject: The Advanced quest from the event is now possibly complete, except for the Monster King part (=You cannot complete it) --- npc/019-2/guards.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'npc/019-2') 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; } -- cgit v1.2.3-60-g2f50