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-3/guards.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'npc/019-3') diff --git a/npc/019-3/guards.txt b/npc/019-3/guards.txt index 7dbd0f9ee..385426ec9 100644 --- a/npc/019-3/guards.txt +++ b/npc/019-3/guards.txt @@ -8,7 +8,7 @@ mesn; mesq l("Are you done yet?"); select - rif(0, l("Yes")), + rif(@QNL3, l("Yes")), l("No"); if (@menu == 2) close; @@ -19,8 +19,10 @@ .@q2=getq2(Q_NivalisLibday); .@q3=getq3(Q_NivalisLibday); - // TODO: Calculate score + // Calculate score (You have 3 minutes) .@score=0; + .@time=gettimetick(2); + .@score+=max(180-(.@time-.@q3), 0)/5; // Update Total Score setq2 Q_NivalisLibday, .@q2+.@score; @@ -37,6 +39,10 @@ closedialog; close; +OnBegin: + npctalk l("Begin!"); + end; + OnInit: .sex = G_MALE; .distance = 5; -- cgit v1.2.3-70-g09d2