From 83f3c7f0487ba10ac0d7a6fb7f8900695e46d49d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 23 May 2019 22:37:39 -0300 Subject: Fix bugs, remove Lieutenant Dausen debug NPC --- npc/003-1/lieutenantdausen.txt | 27 +-------------------------- npc/012-1/guards.txt | 1 + 2 files changed, 2 insertions(+), 26 deletions(-) (limited to 'npc') diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index 2a29ccee1..929a816ee 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -329,36 +329,11 @@ OnTimer890000: end; OnInit: + .siegetime=0; .sex = G_MALE; .distance = 4; end; } -// Debug - purpose NPC -003-1,110,84,0 script LieutenantDausenDebug NPC_MONA,{ - showavatar NPC_MONA; // this is handled by avatars.xml - mesn; - mesq l("Reset?"); - next; - menu - l("Yes."), L_Reset, - l("No."), L_Close; - -L_Reset: - GUARDS_DONE_BITARRAY=0; - setq TulimsharQuest_WaterForGuard, 0; - mes l("Reset!"); - goto L_Close; - -L_Close: - //showavatar; // Use this to hide the showavatar - close; - -// Use @shownpc to enable AyashaDebug -OnInit: - if (!debug) - disablenpc .name$; - end; -} // Render random guard answer after bringing him water function script GuardsGratitude { diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 8ec5b140f..8b3052edd 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -645,6 +645,7 @@ OnTimer5000: break; // Monster army have withdrawn completly case MK_SIEGE_DURATION: + .siegetime=0; announce(("Hurnscald siege is over!"), bc_all); enablenpc "Gwendolyn"; enablenpc "Milly"; -- cgit v1.2.3-60-g2f50