diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-21 21:11:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-21 21:11:29 -0300 |
commit | 415127d206846229dfcd73af7d7c2aca278ffe65 (patch) | |
tree | 18130152171f907bd1232011f38b05e646d7754b /npc/018-2-2/main.txt | |
parent | de4c6dbbfc4e13224eef7a0792836c1aa554de64 (diff) | |
download | serverdata-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/018-2-2/main.txt')
-rw-r--r-- | npc/018-2-2/main.txt | 10 |
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; |