summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-09 10:20:49 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-09 10:20:49 -0300
commit5a96d5918e2c81be65eba3120f25a9b35761fccf (patch)
treebe0de10a389f48eaafe15521a5997da3805feae1
parent9b06749e9fcfe70434c4ad2650e986d414d4fa2d (diff)
downloadserverdata-5a96d5918e2c81be65eba3120f25a9b35761fccf.tar.gz
serverdata-5a96d5918e2c81be65eba3120f25a9b35761fccf.tar.bz2
serverdata-5a96d5918e2c81be65eba3120f25a9b35761fccf.tar.xz
serverdata-5a96d5918e2c81be65eba3120f25a9b35761fccf.zip
Eh, bugs? FIX THEM
-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;
}