Core/Spells: Remove not needed check added in 9229b878f2

This commit is contained in:
tobmaps
2011-11-03 17:08:30 +07:00
parent 68601bb286
commit 37abe2528c

View File

@@ -2241,7 +2241,7 @@ void Spell::EffectHeal(SpellEffIndex /*effIndex*/)
else if (m_spellInfo->Id == 67489)
{
if (Player* player = m_caster->ToPlayer())
if (player->HasSkill(SKILL_ENGINEERING) && player->GetSkillValue(SKILL_ENGINEERING) >= 410)
if (player->HasSkill(SKILL_ENGINEERING))
AddPctN(addhealth, 25);
}
// Swiftmend - consumes Regrowth or Rejuvenation
@@ -2639,7 +2639,7 @@ void Spell::EffectEnergize(SpellEffIndex effIndex)
case 67490: // Runic Mana Injector (mana gain increased by 25% for engineers - 3.2.0 patch change)
{
if (Player* player = m_caster->ToPlayer())
if (player->HasSkill(SKILL_ENGINEERING) && player->GetSkillValue(SKILL_ENGINEERING) >= 410)
if (player->HasSkill(SKILL_ENGINEERING))
AddPctN(damage, 25);
break;
}