summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index c55a4a1b1..6dae53720 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2146,6 +2146,10 @@ ACMD(monster)
if (battle_config.atc_spawn_quantity_limit && number > battle_config.atc_spawn_quantity_limit)
number = battle_config.atc_spawn_quantity_limit;
+ // [TMW2] Truncate boss monsters spawn
+ if (mob->db_data[mob_id]->status.mode & MD_BOSS)
+ number = 1;
+
if (strcmpi(info->command, "monstersmall") == 0)
size = SZ_MEDIUM;
else if (strcmpi(info->command, "monsterbig") == 0)