diff options
-rw-r--r-- | npc/commands/shroom.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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; |