[c12529] Increase healing factor with each critical strike. Patch 3.0.2

co author: Maxxie

(based on commit [12382] - bab5f17)
This commit is contained in:
Ebrithil 2013-02-27 20:19:59 +01:00 committed by Antz
parent 39b73d0807
commit 2294b41bf3
2 changed files with 4 additions and 1 deletions

View file

@ -3230,6 +3230,9 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit* pVictim, uint32 d
}
basepoints[0] = damage * triggerAmount / 100 / 3;
target = this;
// increase healing factor with each critical strike. Patch 3.0.2
if (Aura* old_aura = GetAura(trigger_spell_id, EFFECT_INDEX_0))
basepoints[0] += old_aura->GetModifier()->m_amount;
}
// Glyph of Shadow Word: Pain
else if (auraSpellInfo->Id == 55681)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12528"
#define REVISION_NR "12529"
#endif // __REVISION_NR_H__