diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-11-01 11:12:28 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-11-01 11:12:28 -0200 |
commit | a2965b50dd6b3841cdc6b0478995b569ac6e1bd7 (patch) | |
tree | 8580af57ee3d66acde6b3ed828b3bb31f2d4a507 /npc | |
parent | 359e460edcce2991df20ae2440cb3f9036778e66 (diff) | |
download | serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.tar.gz serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.tar.bz2 serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.tar.xz serverdata-a2965b50dd6b3841cdc6b0478995b569ac6e1bd7.zip |
Fixes + Report how many mobs left to kill
Diffstat (limited to 'npc')
-rw-r--r-- | npc/019-2/guards.txt | 5 | ||||
-rw-r--r-- | npc/020-1/siege.txt | 2 |
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; } |