mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[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:
parent
39b73d0807
commit
2294b41bf3
2 changed files with 4 additions and 1 deletions
|
|
@ -3230,6 +3230,9 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit* pVictim, uint32 d
|
||||||
}
|
}
|
||||||
basepoints[0] = damage * triggerAmount / 100 / 3;
|
basepoints[0] = damage * triggerAmount / 100 / 3;
|
||||||
target = this;
|
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
|
// Glyph of Shadow Word: Pain
|
||||||
else if (auraSpellInfo->Id == 55681)
|
else if (auraSpellInfo->Id == 55681)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12528"
|
#define REVISION_NR "12529"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue