mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 02:38:45 +00:00
[Constants] Convert SE Defines to SpellEffect Namespace (#4999)
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user