From fbc2b7c152d84d563a6bfedb10eb93b30267b33a Mon Sep 17 00:00:00 2001 From: dariusuknuis <86813118+dariusuknuis@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:39:14 -0500 Subject: [PATCH] [Bot] ^mez command spell list fix (#3998) This change will allow necros to cast mez spells when ^mez command is used. --- zone/bot_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot_command.cpp b/zone/bot_command.cpp index eaf6d0e54..23cd81f13 100644 --- a/zone/bot_command.cpp +++ b/zone/bot_command.cpp @@ -281,7 +281,7 @@ public: entry_prototype->SafeCastToInvisibility()->invis_type = BCEnum::IT_Animal; break; case SE_Mez: - if (spells[spell_id].spell_affect_index != 12) + if (spells[spell_id].effect_id[EFFECTIDTOINDEX(1)] != 31) break; entry_prototype = new STBaseEntry(BCEnum::SpT_Mesmerize); break;