summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/shroom.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/commands/shroom.txt b/npc/commands/shroom.txt
index 4b19ed907..041027424 100644
--- a/npc/commands/shroom.txt
+++ b/npc/commands/shroom.txt
@@ -31,7 +31,7 @@ OnShroom:
// Max 40 connected players for this to work
.@c = getunits(BL_PC, .@players, 40);
for (.@i = 0; .@i < .@c; .@i++) {
- debugmes "Attach account %d to spawn %d %s (%d)", .@players[.@i], .@mobAm, .@mobName$, .@mobId;
+ debugmes "@shroom: Attach account %d to spawn %d %s (%d)", .@players[.@i], .@mobAm, .@mobName$, .@mobId;
attachrid(.@players[.@i]);
getmapxy(.@m$, .@x, .@y, 0);
unitwarp(.@gmId, .@m$, .@x, .@y);
@@ -43,7 +43,8 @@ OnShroom:
// Adjust amount based on player level
.@Ammo=limit(1, BaseLevel/15*.@mobAm, 60);
- debugmes "Spawn %d mobs", .@Ammo;
+ //getmapxy(.@dm$, .@dx, .@dy, UNITTYPE_MOB, .@gmId);
+ //debugmes "Spawn %d mobs at %s, (%d, %d)", .@Ammo, .@dm$, .@dx, .@dy;
areamonster(.@m$, .@x-3, .@y-3, .@x+3, .@y+3, .@mobName$, .@mobId, .@Ammo);
sleep2(320);