From 5a96d5918e2c81be65eba3120f25a9b35761fccf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 9 Jun 2018 10:20:49 -0300 Subject: Eh, bugs? FIX THEM --- npc/001-7/celestia_bossfight.txt | 10 ++++++++-- 1 file 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; } -- cgit v1.2.3-60-g2f50