From 9edcf99a77733877e88b11897e4e6821ec529c94 Mon Sep 17 00:00:00 2001 From: "Hello=)" Date: Tue, 19 Nov 2024 21:47:32 +0300 Subject: Clean up debug messages --- world/map/npc/functions/spawns_on_mobkill.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/world/map/npc/functions/spawns_on_mobkill.txt b/world/map/npc/functions/spawns_on_mobkill.txt index 991f2567..6c412656 100644 --- a/world/map/npc/functions/spawns_on_mobkill.txt +++ b/world/map/npc/functions/spawns_on_mobkill.txt @@ -5,28 +5,22 @@ // TODO: Add few big slime mobs and "split" these (this needs big slime GFX and making mob). function|script|spawns_on_mobkill { - debugmes "spawns_on_death ->"; - debugmes "spawns_on_death mobID=" + @mobID + " @mob_X=" + @mob_X + " @mob_Y=" + @mob_Y; if (@mobID == SeaSlimeMother) goto L_SplitSea; if (@mobID == GreenSlimeMother) goto L_SplitGreen; if (@mobID == BlueSlime) goto L_SplitBlue; if (@mobID == Tormenta) goto L_TorWitchDead; if (@mobID == Luvia) goto L_LuvWitchDead; - debugmes "spawns_on_death <-"; return; L_SplitSea: - debugmes "slime_split - Sea Mother"; void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, AngrySeaSlime, rand(8, 20)); return; L_SplitGreen: - debugmes "slime_split - Greens Mother"; void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, AngryGreenSlime, rand(8, 20)); return; L_SplitBlue: - debugmes "slime_split - BigBlue"; void call("spawn_mobs_around", getmap(), @mob_X, @mob_Y, SlimeBlast, rand(1, 6)); return; @@ -53,12 +47,9 @@ function|script|spawn_mobs_around set .@mobY, getarg(2, -1); set .@mobID, getarg(3, -1); set .@mobQTY, getarg(4, -1); - debugmes "spawn_mob_around ->"; - debugmes "spawn_mob_around: map$=" + .@map$ + " x=" + .@mobX + " y=" + .@mobY + " mobID=" + .@mobID + " mobQTY=" + .@mobQTY; if ((.@map$ == "") || (.@mobX < 1) || (.@mobY < 1) || (.@mobID < 1002) || (.@mobX > getmapmaxx(.@map$)) || (.@mobX > getmapmaxy(.@map$)) || (.@mobQTY < 1)) goto L_Abort; - debugmes "spawn_mob_arounc: map$=" + .@map$ + " x=" + .@mobX + " y=" + .@mobY + " mobID=" + .@mobID + " mobQTY=" + .@mobQTY; if ((.@mobX > 1) && (.@mobY > 1) && (.@mobX < getmapmaxx(.@map$)) && (.@mobY < getmapmaxy(.@map$))) areamonster .@map$, (.@mobX-1), (.@mobY-1), (.@mobX+1), (.@mobY+1), "", .@mobID, .@mobQTY; // Enough room for 3x3 else -- cgit v1.2.3-70-g09d2