summaryrefslogtreecommitdiff
path: root/npc/018-2-2/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-2-2/main.txt')
-rw-r--r--npc/018-2-2/main.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt
index 9782fe297..25e1c1383 100644
--- a/npc/018-2-2/main.txt
+++ b/npc/018-2-2/main.txt
@@ -15,13 +15,22 @@
}
OnFinish:
- warp "018-2-1", 0, 0;
+ if (ispcdead())
+ end;
.@g=getq2(LoFQuest_HH);
setq2 LoFQuest_HH, .@g|@HH_LEVEL;
dispbottom l("Dungeon cleared!");
getitem HeroCoin, @HH_LEVEL*3;
getexp 4800-@HH_TIMER, @HH_LEVEL*20;
deltimer("#HH_CONTROLLER01::OnPlayerCycle");
+ setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL, true);
+ addtimer(4000, "#HH_CONTROLLER01::OnCompulsoryWarp");
+ recovery(getcharid(3));
+ end;
+
+OnCompulsoryWarp:
+ setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL, false);
+ warp "018-2-1", 0, 0;
end;
OnNoviceBossKilled: