From fc1fcb039fa6dde4d07c90683c5c15fd7f7dc039 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 28 Dec 2018 16:59:09 -0200 Subject: Fix some trap-related bugs on Heroes Hold --- npc/018-2-2/main.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/018-2-2') diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt index 553ca2fed..a637a2ef2 100644 --- a/npc/018-2-2/main.txt +++ b/npc/018-2-2/main.txt @@ -21,6 +21,7 @@ OnFinish: dispbottom l("Dungeon cleared!"); getitem HeroCoin, @HH_LEVEL; getexp 4800-@HH_TIMER, @HH_LEVEL*20; + deltimer("#HH_CONTROLLER01::OnPlayerCycle"); end; OnNoviceBossKilled: @@ -60,7 +61,7 @@ OnPlayerCycle: } // TODO: Handle traps (We'll use isin() command because you can give 3~4 steps each counter) if (rand(0,1000) <= @HH_LEVEL) { - dispbottom l("You step on a trap!"); + dispbottom l("You set off a trap!"); heal -(@HH_LEVEL*rand(2,5)), 0; } -- cgit v1.2.3-60-g2f50