mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
feat(Core/Spells): Move spell_item_runic_healing_injector to spell scripts (#11088)
This commit is contained in:
committed by
GitHub
parent
d195c09f56
commit
5719e46236
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user