diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-02 22:03:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-02 22:03:50 -0300 |
commit | 4eceda511f2a90f8b27039c9de523af96276d06e (patch) | |
tree | 91b3d081fec3b57e562a95743ac2ac7c94efbfe9 /npc | |
parent | 7cbf2465f3b184dfdacc10a6b8b3591a359e7c71 (diff) | |
download | serverdata-4eceda511f2a90f8b27039c9de523af96276d06e.tar.gz serverdata-4eceda511f2a90f8b27039c9de523af96276d06e.tar.bz2 serverdata-4eceda511f2a90f8b27039c9de523af96276d06e.tar.xz serverdata-4eceda511f2a90f8b27039c9de523af96276d06e.zip |
Update @shroom to not allow boss monsters spawning
Diffstat (limited to 'npc')
-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; |