mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Bug Fix] Buff Sync (#3896)
Align client and server on buff position (easiest fix to sync client/server)
This commit is contained in:
parent
cce368d94c
commit
48c6db3a9c
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user