From 48c6db3a9cd5e67df6969ed03a8051f2531966be Mon Sep 17 00:00:00 2001 From: Fryguy Date: Sun, 7 Jan 2024 15:56:27 -0500 Subject: [PATCH] [Bug Fix] Buff Sync (#3896) Align client and server on buff position (easiest fix to sync client/server) --- zone/spells.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index d8312069e..b6fc60838 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -3508,8 +3508,6 @@ int Mob::AddBuff(Mob *caster, uint16 spell_id, int duration, int32 level_overrid LogSpells("Adding buff [{}] will overwrite spell [{}] in slot [{}] with caster level [{}]", spell_id, curbuf.spellid, buffslot, curbuf.casterlevel); // If this is the first buff it would override, use its slot - if (!will_overwrite && !IsDisciplineBuff(spell_id)) - emptyslot = buffslot; will_overwrite = true; overwrite_slots.push_back(buffslot); }