[Constants] Convert SE Defines to SpellEffect Namespace (#4999)

This commit is contained in:
Alex King authored and GitHub committed 2025-08-30 15:33:19 -04:00
1 parent 92c8b0e585
commit 060f6e377d
26 files changed
+2865 -2866

No files matched your search

+2 -2
View File
@@ -3009,12 +3009,12 @@ void ZoneDatabase::LoadBuffs(Client *client)
continue;
}
if (IsEffectInSpell(buffs[slot_id].spellid, SE_Charm)) {
if (IsEffectInSpell(buffs[slot_id].spellid, SpellEffect::Charm)) {
buffs[slot_id].spellid = SPELL_UNKNOWN;
break;
}
if (IsEffectInSpell(buffs[slot_id].spellid, SE_Illusion)) {
if (IsEffectInSpell(buffs[slot_id].spellid, SpellEffect::Illusion)) {
if (buffs[slot_id].persistant_buff) {
break;
}