summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/099-7/boss.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/world/map/npc/099-7/boss.txt b/world/map/npc/099-7/boss.txt
index a20a4ae7..595e01da 100644
--- a/world/map/npc/099-7/boss.txt
+++ b/world/map/npc/099-7/boss.txt
@@ -604,7 +604,7 @@ L_Tools:
close;
OnInit:
- initnpctimer; // Timer will bring mobs itself. Radically fixes e.g. @killmonster2 on map
+ initnpctimer; // Timer will bring mobs itself.
end;
OnDeath8:
@@ -615,11 +615,13 @@ OnDeath9:
OnDeath:
// TODO: Only fire this if timer not running. Set timer to 5min
- initnpctimer;
+ if (.timed_out) setnpctimer 1;
+ set .timed_out, 0;
end;
OnBoss:
- initnpctimer;
+ if (.timed_out) setnpctimer 1;
+ set .timed_out, 0;
// If a player is attached, give them 20 Treasure Keys
getitem "TreasureKey", 20;
end;
@@ -642,6 +644,7 @@ OnTimer150000:
// Done
set $@KeshlamMc, 0;
+ set .timed_out, 1;
initnpctimer;
end;
}