Core/Spell: do not proc auras on SPELL_AURA_OBS_MOD_HEALTH healing ticks

Closes #14726
This commit is contained in:
ariel-
2016-12-29 05:01:37 -03:00
committed by Aokromes
parent 80e4776aaf
commit 38754b396e

View File

@@ -5780,6 +5780,10 @@ void AuraEffect::HandlePeriodicHealAurasTick(Unit* target, Unit* caster) const
caster->DealDamage(caster, funnelDamage, &cleanDamage, NODAMAGE, GetSpellInfo()->GetSchoolMask(), GetSpellInfo(), true);
}
// %-based heal - does not proc auras
if (GetAuraType() == SPELL_AURA_OBS_MOD_HEALTH)
return;
uint32 procAttacker = PROC_FLAG_DONE_PERIODIC;
uint32 procVictim = PROC_FLAG_TAKEN_PERIODIC;
uint32 procEx = (crit ? PROC_EX_CRITICAL_HIT : PROC_EX_NORMAL_HIT) | PROC_EX_INTERNAL_HOT;