From 62592617a1f7c53735d004a6841609c5961e948a Mon Sep 17 00:00:00 2001 From: "Hello=)" Date: Sun, 16 Mar 2025 01:31:00 +0300 Subject: This fixes swamp spawns, killing 2 birds with one stone. 1) In some cases Reaper would fail to respawn if killed by mage that disappears in process. 2) Swamp map would be completely broken if GM issues @killmonster2 since mobs will never respawn. This fixes both issues at once. As extra bonus it cuts down LoC of script, removing duplicate mobs spawn block. --- world/map/npc/099-7/boss.txt | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/world/map/npc/099-7/boss.txt b/world/map/npc/099-7/boss.txt index b572c7cc..a20a4ae7 100644 --- a/world/map/npc/099-7/boss.txt +++ b/world/map/npc/099-7/boss.txt @@ -604,14 +604,7 @@ L_Tools: close; OnInit: - areamonster "099-7", 37, 36, 142, 140, "", 1148, 10, "Keshlam::OnDeath8"; - areamonster "099-7", 37, 36, 142, 140, "", 1149, 10, "Keshlam::OnDeath9"; -// areamobuseskill "099-7", 37, 36, 142, 140, -// areamobuseskill "009-7", 155,188,2,1083,"MG_COLDBOLT",10,3000,1,e_gg,0; -//*areamobuseskill "",,,,,,,,,,; -//*areamobuseskill "",,,,,"",,,,,; - - monster "099-7", 40, 121, "Grim Reaper", 1068, 1, "Keshlam::OnBoss"; + initnpctimer; // Timer will bring mobs itself. Radically fixes e.g. @killmonster2 on map end; OnDeath8: @@ -649,7 +642,7 @@ OnTimer150000: // Done set $@KeshlamMc, 0; - stopnpctimer; + initnpctimer; end; } -- cgit v1.2.3-70-g09d2