[Bot] ^mez command spell list fix (#3998)

This change will allow necros to cast mez spells when ^mez command is used.
This commit is contained in:
dariusuknuis
2024-01-19 16:39:14 -05:00
committed by GitHub
parent 86705000b0
commit fbc2b7c152
+1 -1
View File
@@ -281,7 +281,7 @@ public:
entry_prototype->SafeCastToInvisibility()->invis_type = BCEnum::IT_Animal; entry_prototype->SafeCastToInvisibility()->invis_type = BCEnum::IT_Animal;
break; break;
case SE_Mez: case SE_Mez:
if (spells[spell_id].spell_affect_index != 12) if (spells[spell_id].effect_id[EFFECTIDTOINDEX(1)] != 31)
break; break;
entry_prototype = new STBaseEntry(BCEnum::SpT_Mesmerize); entry_prototype = new STBaseEntry(BCEnum::SpT_Mesmerize);
break; break;