mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 14:48:20 +00:00
Update zone/spell_effects.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -4693,6 +4693,11 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
|
|||||||
if (!IsValidSpell(buffs[slot].spellid))
|
if (!IsValidSpell(buffs[slot].spellid))
|
||||||
return false;
|
return false;
|
||||||
const auto& spell = spells[buffs[slot].spellid];
|
const auto& spell = spells[buffs[slot].spellid];
|
||||||
|
// Restore nimbus (visual aura) effect before processing individual spell effects,
|
||||||
|
// mirroring Client::ReapplyBuff and bot buff restoration behavior.
|
||||||
|
if (spell.nimbus_effect) {
|
||||||
|
SetNimbusEffect(spell.nimbus_effect);
|
||||||
|
}
|
||||||
for (int i = 0; i < EFFECT_COUNT; i++) {
|
for (int i = 0; i < EFFECT_COUNT; i++) {
|
||||||
switch (spell.effect_id[i]) {
|
switch (spell.effect_id[i]) {
|
||||||
case SpellEffect::Illusion:
|
case SpellEffect::Illusion:
|
||||||
|
|||||||
Reference in New Issue
Block a user