mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-03 14:12:27 +00:00
Add comment clarifying non-client mob dispel behavior
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
24aa2ba00f
commit
6758108f35
@ -4690,6 +4690,7 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
|
||||
client->ReapplyBuff(slot, true);
|
||||
} else if (IsPet() && GetOwner() && GetOwner()->IsClient()) {
|
||||
// Reapply visual/state effects for client pets only
|
||||
// All other non-client mobs (NPCs, bots, mercs) use normal dispel mechanic
|
||||
if (!IsValidSpell(buffs[slot].spellid))
|
||||
return;
|
||||
const auto& spell = spells[buffs[slot].spellid];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user