feat(Core/Spells): Move spell_item_runic_healing_injector to spell scripts (#11088)

This commit is contained in:
IntelligentQuantum
2022-03-27 09:23:16 +04:30
committed by GitHub
parent d195c09f56
commit 5719e46236
3 changed files with 28 additions and 7 deletions

View File

@@ -1516,13 +1516,6 @@ void Spell::EffectHeal(SpellEffIndex /*effIndex*/)
addhealth += damageAmount;
}
// Runic Healing Injector (heal increased by 25% for engineers - 3.2.0 patch change)
else if (m_spellInfo->Id == 67489)
{
if (Player* player = m_caster->ToPlayer())
if (player->HasSkill(SKILL_ENGINEERING))
AddPct(addhealth, 25);
}
// Swiftmend - consumes Regrowth or Rejuvenation
else if (m_spellInfo->TargetAuraState == AURA_STATE_SWIFTMEND && unitTarget->HasAuraState(AURA_STATE_SWIFTMEND, m_spellInfo, m_caster))
{