Core/Spells: updated fixed Renewed Hope crit chance bonus.

* Inner Focus will now get consumed when one of the affected healing spells get getting casted

Closes #12
Closes #15
This commit is contained in:
Ovahlord
2018-08-10 14:55:27 +02:00
parent d66347a1d3
commit 950b979ab7
2 changed files with 7 additions and 3 deletions

View File

@@ -7107,9 +7107,9 @@ float Unit::GetUnitSpellCriticalChance(Unit* victim, SpellInfo const* spellProto
if (victim->HasAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, spellProto, this))
crit_chance += (*i)->GetAmount();
break;
case 7997: // Renewed Hope
case 7998:
if (victim->HasAura(6788))
case 57470: // Renewed Hope
case 57472:
if (victim->HasAura(6788) || victim->HasAura(47930))
crit_chance += (*i)->GetAmount();
break;
default: