mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-05 07:52:25 +00:00
Update zone/spell_effects.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
185f2a4db3
commit
3716355750
@ -4700,8 +4700,8 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
|
||||
const auto& spell = spells[buffs[slot].spellid];
|
||||
// Restore nimbus (visual aura) effect before processing individual spell effects,
|
||||
// mirroring Client::ReapplyBuff behavior for client-owned pets.
|
||||
if (spell.nimbus_effect) {
|
||||
SetNimbusEffect(spell.nimbus_effect);
|
||||
if (spell.nimbus_effect > 0) {
|
||||
SetNimbusEffect(static_cast<uint32>(spell.nimbus_effect));
|
||||
}
|
||||
for (int i = 0; i < EFFECT_COUNT; i++) {
|
||||
switch (spell.effect_id[i]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user