mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-05 20:22:28 +00:00
Restrict suppression system to clients and client pets only
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
bd2b28eb0b
commit
5e43850e8e
@ -4688,8 +4688,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
|
|||||||
client->QueuePacket(action_packet);
|
client->QueuePacket(action_packet);
|
||||||
safe_delete(action_packet);
|
safe_delete(action_packet);
|
||||||
client->ReapplyBuff(slot, true);
|
client->ReapplyBuff(slot, true);
|
||||||
} else {
|
} else if (IsPet() && GetOwner() && GetOwner()->IsClient()) {
|
||||||
// Reapply visual/state effects for non-client mobs (pets, NPCs, bots)
|
// 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))
|
if (!IsValidSpell(buffs[slot].spellid))
|
||||||
return;
|
return;
|
||||||
const auto& spell = spells[buffs[slot].spellid];
|
const auto& spell = spells[buffs[slot].spellid];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user