[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;