summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-23 22:37:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-23 22:37:39 -0300
commit83f3c7f0487ba10ac0d7a6fb7f8900695e46d49d (patch)
tree76dc05cd3dbca3357d86dd50b4ed7f83f1fd47b3 /npc
parent63e793cd7e9f6f712e79b5d655c75ae784d8dac5 (diff)
downloadserverdata-83f3c7f0487ba10ac0d7a6fb7f8900695e46d49d.tar.gz
serverdata-83f3c7f0487ba10ac0d7a6fb7f8900695e46d49d.tar.bz2
serverdata-83f3c7f0487ba10ac0d7a6fb7f8900695e46d49d.tar.xz
serverdata-83f3c7f0487ba10ac0d7a6fb7f8900695e46d49d.zip
Fix bugs, remove Lieutenant Dausen debug NPC
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/lieutenantdausen.txt27
-rw-r--r--npc/012-1/guards.txt1
2 files changed, 2 insertions, 26 deletions
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";