diff options
author | Hello=) <hello@themanaworld.org> | 2025-03-16 01:00:30 +0300 |
---|---|---|
committer | Hello=) <hello@themanaworld.org> | 2025-03-16 01:20:35 +0300 |
commit | 230b772fa4a1af7568e800d7ac3ca88d5dca1412 (patch) | |
tree | 4ad5b87af29300019f87c044b418d12f0ad7fd4a | |
parent | 92f29c04e41cfb4ef312b7d9ca131d2d29189ce0 (diff) | |
download | serverdata-swamp-fix.tar.gz serverdata-swamp-fix.tar.bz2 serverdata-swamp-fix.tar.xz serverdata-swamp-fix.zip |
This fixes swamp spawns, killing 2 birds with one stone.swamp-fix
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.
-rw-r--r-- | world/map/npc/099-7/boss.txt | 11 |
1 files 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 "<map name>",<x>,<y>,<range>,<mob id>,<skill id>,<skill level>,<cast time>,<cancelable>,<emotion>,<target type>; -//*areamobuseskill "<map name>",<x>,<y>,<range>,<mob id>,"<skill name>",<skill level>,<cast time>,<cancelable>,<emotion>,<target type>; - - 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; } |