summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-11-01 11:12:28 -0200
committerJesusaves <cpntb1@ymail.com>2018-11-01 11:12:28 -0200
commita2965b50dd6b3841cdc6b0478995b569ac6e1bd7 (patch)
tree8580af57ee3d66acde6b3ed828b3bb31f2d4a507
parent359e460edcce2991df20ae2440cb3f9036778e66 (diff)
downloadserverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.tar.gz
serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.tar.bz2
serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.tar.xz
serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.zip
Fixes + Report how many mobs left to kill
-rw-r--r--npc/019-2/guards.txt5
-rw-r--r--npc/020-1/siege.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/npc/019-2/guards.txt b/npc/019-2/guards.txt
index 3eec57035..21fa1b771 100644
--- a/npc/019-2/guards.txt
+++ b/npc/019-2/guards.txt
@@ -55,9 +55,12 @@ L_Noob:
mesn;
mesq l("Are you up for the challenge?");
if (askyesno() == ASK_YES) {
+ // Begin quest. Logout/Death will cause loss of the current day.
+ setq1 Q_NivalisLibday, $NLIB_DAY;
@nlib_wave=0;
- @nlib_time=0;
+ @nlib_time=300; // This makes sure that wave 1 will start.
addtimer(5000, "#NLib_Siege::OnLoop");
+ warp "020-1", rand(69,82), rand(78, 91);
}
close;
diff --git a/npc/020-1/siege.txt b/npc/020-1/siege.txt
index 40dcd1e78..9b56c90b2 100644
--- a/npc/020-1/siege.txt
+++ b/npc/020-1/siege.txt
@@ -99,6 +99,8 @@ L_CleanUp:
end;
OnPetDeath:
+ .@lf=mobcount("020-1", "#NLib_Siege::OnPetDeath");
+ dispbottom l("Mobs remaining: @@", .@lf);
end;
}