summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-11-19 21:47:32 +0300
committerHello TMW <hello@themanaworld.org>2024-12-13 10:33:54 +0000
commit9edcf99a77733877e88b11897e4e6821ec529c94 (patch)
tree8cc6607fc4b465dd43ddf0a5d4ee95c7141f4982
parentde142f3ae1a67fd4987c8ef68500b849b34dd79e (diff)
downloadserverdata-9edcf99a77733877e88b11897e4e6821ec529c94.tar.gz
serverdata-9edcf99a77733877e88b11897e4e6821ec529c94.tar.bz2
serverdata-9edcf99a77733877e88b11897e4e6821ec529c94.tar.xz
serverdata-9edcf99a77733877e88b11897e4e6821ec529c94.zip
Clean up debug messages
-rw-r--r--world/map/npc/functions/spawns_on_mobkill.txt9
1 files changed, 0 insertions, 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