From a2965b50dd6b3841cdc6b0478995b569ac6e1bd7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 1 Nov 2018 11:12:28 -0200 Subject: Fixes + Report how many mobs left to kill --- npc/019-2/guards.txt | 5 ++++- npc/020-1/siege.txt | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2