summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/001-7/celestia_bossfight.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/001-7/celestia_bossfight.txt b/npc/001-7/celestia_bossfight.txt
index 614a2ab43..26b1137c9 100644
--- a/npc/001-7/celestia_bossfight.txt
+++ b/npc/001-7/celestia_bossfight.txt
@@ -100,7 +100,7 @@ OnVictory:
stopnpctimer;
setnpcdisplay .name$, NPC_SUMMONING_CIRC;
npctalk l("Good job... You can keep the drops. Touch here to return home.");
- areatimer "006-1", 20, 20, 141, 171, 10, "#YetiKing::OnDefeat";
+ areatimer "001-7", 20, 20, 141, 171, 10, "#YetiKing::OnDefeat";
end;
// This allows the challenger to go back home without dying.
@@ -134,10 +134,16 @@ OnTimer290000:
OnTimer300000:
npctalk "Time is up!";
- areatimer "006-1", 20, 20, 141, 171, 10, "#YetiKing::OnDefeat";
+ areatimer "001-7", 20, 20, 141, 171, 10, "#YetiKing::OnDefeat";
killmonster(.map$, "#YetiKing::OnVictory"); // I could use "All" as label, too
+ setnpcdisplay .name$, NPC_YETI_KING;
end;
+// Hourly, check if there are players and fix the sprite
+OnMinute17:
+ if (!getareausers("001-7", 21))
+ setnpcdisplay .name$, NPC_YETI_KING;
+ end;
}