From 4eceda511f2a90f8b27039c9de523af96276d06e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 2 Jun 2024 22:03:50 -0300 Subject: Update @shroom to not allow boss monsters spawning --- npc/commands/shroom.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc') diff --git a/npc/commands/shroom.txt b/npc/commands/shroom.txt index 76a430400..d7d654bf9 100644 --- a/npc/commands/shroom.txt +++ b/npc/commands/shroom.txt @@ -18,6 +18,9 @@ OnShroom: if (!.@mobId) .@mobId=PlushroomField; + if (getmonsterinfo(.@mobId, MOB_MODE) & MD_BOSS) + Exception("Boss monsters cannot be summoned.", RB_DISPBOTTOM | RB_ISFATAL); + if (!.@mobAm) .@mobAm=1; -- cgit v1.2.3-70-g09d2