summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-21 21:11:29 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-21 21:11:29 -0300
commit415127d206846229dfcd73af7d7c2aca278ffe65 (patch)
tree18130152171f907bd1232011f38b05e646d7754b /npc
parentde4c6dbbfc4e13224eef7a0792836c1aa554de64 (diff)
downloadserverdata-415127d206846229dfcd73af7d7c2aca278ffe65.tar.gz
serverdata-415127d206846229dfcd73af7d7c2aca278ffe65.tar.bz2
serverdata-415127d206846229dfcd73af7d7c2aca278ffe65.tar.xz
serverdata-415127d206846229dfcd73af7d7c2aca278ffe65.zip
It's unlikely, but boss could go down by a monster.
In such case, DungeonClear() would crash - so cast it by last.
Diffstat (limited to 'npc')
-rw-r--r--npc/018-2-2/main.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt
index 9368308fa..a49245dcf 100644
--- a/npc/018-2-2/main.txt
+++ b/npc/018-2-2/main.txt
@@ -36,23 +36,23 @@ OnCompulsoryWarp:
end;
OnNoviceBossKilled:
- DungeonClear();
monster "018-2-2@No", 188, 29, "Novice Dungeon Boss", AlphaMouboo, 1, "#HH_CONTROLLER01::OnNoviceBossKilled";
+ DungeonClear();
end;
OnIntermBossKilled:
- DungeonClear();
monster "018-2-3@In", 52, 196, "Intermiary Dungeon Boss", FafiDragon, 1, "#HH_CONTROLLER01::OnIntermBossKilled";
+ DungeonClear();
end;
OnAdvancedBossKilled:
- DungeonClear();
monster "018-2-2@Ad", 52, 29, "Advanced Dungeon Boss", GiantMutatedBat, 1, "#HH_CONTROLLER01::OnAdvancedBossKilled";
+ DungeonClear();
end;
OnExpertBossKilled:
- DungeonClear();
monster "018-2-3@Ex", 188, 196, "Expert Dungeon Boss", FallenKing1, 1, "#HH_CONTROLLER01::OnExpertBossKilled";
+ DungeonClear();
end;
OnMasterBossKilled:
@@ -65,8 +65,8 @@ OnMasterBossKilled:
mesc l("CONGRATULATIONS! You are the first player to finish Heroes Hold Master Dungeon!!"), 2;
mesc l("You just gained a Prism Gift, and 2000 Job Exp for your bravery!"), 2;
}
- DungeonClear();
monster "018-2-5@Ma", any(52,188), any(29,196), "Master Dungeon Boss", MonsterKing, 1, "#HH_CONTROLLER01::OnMasterBossKilled";
+ DungeonClear();
end;