summaryrefslogtreecommitdiff
path: root/npc/019-3
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-3
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-3')
-rw-r--r--npc/019-3/guards.txt10
1 files changed, 8 insertions, 2 deletions
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;