Nimbus effects will now be reapplied after zoning.

Nimbus effects will now fade when associated buff is removed.
Fix for ReduceAllDamage function.
This commit is contained in:
KayenEQ
2014-09-15 16:05:57 -04:00
parent e256175ce6
commit 03485ef1e0
5 changed files with 24 additions and 3 deletions
+3
View File
@@ -4016,6 +4016,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
if (!found_numhits)
Numhits(false);
}
if (spells[buffs[slot].spellid].NimbusEffect > 0)
RemoveNimbusEffect(spells[buffs[slot].spellid].NimbusEffect);
buffs[slot].spellid = SPELL_UNKNOWN;
if(IsPet() && GetOwner() && GetOwner()->IsClient()) {