Core/Auras: calculate periodic bonuses before specific mods, fixes Imp. Devouring Plague damage
This commit is contained in:
@@ -4125,8 +4125,8 @@ namespace Game.Entities
|
|||||||
if (aurApp.HasRemoveMode())
|
if (aurApp.HasRemoveMode())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
aura.HandleAuraSpecificMods(aurApp, caster, true, false);
|
|
||||||
aura.HandleAuraSpecificPeriodics(aurApp, caster);
|
aura.HandleAuraSpecificPeriodics(aurApp, caster);
|
||||||
|
aura.HandleAuraSpecificMods(aurApp, caster, true, false);
|
||||||
|
|
||||||
// apply effects of the aura
|
// apply effects of the aura
|
||||||
for (byte i = 0; i < SpellConst.MaxEffects; i++)
|
for (byte i = 0; i < SpellConst.MaxEffects; i++)
|
||||||
|
|||||||
@@ -847,8 +847,8 @@ namespace Game.Spells
|
|||||||
{
|
{
|
||||||
if (!app.HasRemoveMode())
|
if (!app.HasRemoveMode())
|
||||||
{
|
{
|
||||||
HandleAuraSpecificMods(app, caster, true, true);
|
|
||||||
HandleAuraSpecificPeriodics(app, caster);
|
HandleAuraSpecificPeriodics(app, caster);
|
||||||
|
HandleAuraSpecificMods(app, caster, true, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user