Core/Spells: Drop obsolete code

This commit is contained in:
tobmaps
2011-05-12 04:25:55 +07:00
parent ca24fa449f
commit 08022d6d4c
2 changed files with 1 additions and 21 deletions
+1 -7
View File
@@ -4023,14 +4023,8 @@ void Spell::SpellDamageWeaponDmg(SpellEffIndex effIndex)
}
case SPELLFAMILY_PALADIN:
{
// Seal of Command - Increase damage by 36% on every swing
if (m_spellInfo->SpellFamilyFlags[0] & 0x2000000)
{
totalDamagePercentMod *= 1.36f; // 136% damage
}
// Seal of Command Unleashed
else if (m_spellInfo->Id == 20467)
if (m_spellInfo->Id == 20467)
{
spell_bonus += int32(0.08f * m_caster->GetTotalAttackPowerValue(BASE_ATTACK));
spell_bonus += int32(0.13f * m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo)));