From 415127d206846229dfcd73af7d7c2aca278ffe65 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 21 Sep 2019 21:11:29 -0300 Subject: It's unlikely, but boss could go down by a monster. In such case, DungeonClear() would crash - so cast it by last. --- npc/018-2-2/main.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50