summaryrefslogtreecommitdiff
path: root/npc/026-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-17 21:42:48 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-17 21:42:48 -0300
commit44c382f07aa6d0f99ef1d564c85f228d5bf726c6 (patch)
treececadfb5f164aba9f42a6c8ff462c7573eab719f /npc/026-7
parent1a994a0f652a9a50d93db8f48fa921594dd447b7 (diff)
downloadserverdata-44c382f07aa6d0f99ef1d564c85f228d5bf726c6.tar.gz
serverdata-44c382f07aa6d0f99ef1d564c85f228d5bf726c6.tar.bz2
serverdata-44c382f07aa6d0f99ef1d564c85f228d5bf726c6.tar.xz
serverdata-44c382f07aa6d0f99ef1d564c85f228d5bf726c6.zip
Fix some kamib issues
Diffstat (limited to 'npc/026-7')
-rw-r--r--npc/026-7/boss.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/026-7/boss.txt b/npc/026-7/boss.txt
index 1fe4b328c..540e89f84 100644
--- a/npc/026-7/boss.txt
+++ b/npc/026-7/boss.txt
@@ -211,7 +211,7 @@ OnTimer10000:
if (.immortal)
setunitdata(.MK, UDT_HP, INT_MAX);
if (!getmapusers("026-7")) {
- if (.immortal) {
+ if (.immortal || getunittype(.MK) < 0) {
.@end = true;
} else {
.@hp = getunitdata(.MK, UDT_HP);
@@ -600,12 +600,15 @@ L_NextAct:
maptimer2("026-7", 30, "Book#FoS::OnMFShake");
sleep(3000);
unittalk(.mou, "##1I'm free... At least!");
+ kamibroadcast("##1I'm free... At least!", "Moubootaur");
sleep(6500);
unittalk(.mou, "##1The blood in the Heart, as the prophecy foretold!");
+ kamibroadcast("##1The blood in the Heart, as the prophecy foretold!", "Moubootaur");
sleep(4500);
maptimer2("026-7", 30, "Book#FoS::OnMFShake");
sleep(30);
unittalk(.mou, "##1All monsters, heed my command! ##BHostile Takeover!##b");
+ kamibroadcast("##1All monsters, heed my command!", "Moubootaur");
sleep(1500);
freeloop(true);
for (.@i=0; .@i < 25; .@i++) {
@@ -628,8 +631,10 @@ L_NextAct:
freeloop(false);
sleep(3000);
unittalk(.mou, "##1I have taken over the World Heart... Your chances are forfeit.");
+ kamibroadcast("##1I have taken over the World Heart... Your chances are forfeit.", "Moubootaur");
sleep(6000);
unittalk(.mou, "##1But first, I'll make a Monster King puppet.");
+ kamibroadcast("##1But first, I'll make a Monster King puppet.", "Moubootaur");
sleep(2000);
.@m = monster("026-7", 39, 34, "Monster King (puppet)", MonsterKing, 1);
immortal(.@m);
@@ -640,6 +645,7 @@ L_NextAct:
unittalk(.mou, "##1It'll take several days or even months to corrupt the Heart. Can't be bothered.");
sleep(8000);
unittalk(.mou, "##1Enjoy your final days while you can. The day on which everything will be a Mouboo is upon us!");
+ kamibroadcast("##1Enjoy your final days while you can. The day on which everything will be a Mouboo is upon us!", "Moubootaur");
sleep(5000);
maptimer2("026-7", 10, "Impregnable#B7F::OnVictory");
// Cleanup