aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index bd0b1766acb..a640f9c1ce3 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1321,35 +1321,6 @@ void Spell::EffectDummy(uint32 i)
m_damage+= uint32(damage * m_caster->GetTotalAttackPowerValue(BASE_ATTACK) / 100);
return;
}
- // Overpower
- if(m_spellInfo->SpellFamilyFlags[0] & 0x4)
- {
- // Must be casting target
- if (!unitTarget->IsNonMeleeSpellCasted(false))
- return;
- // Find Unrelenting Assault
- Unit::AuraEffectList const& modifierAuras = m_caster->GetAurasByType(SPELL_AURA_ADD_FLAT_MODIFIER);
- for(Unit::AuraEffectList::const_iterator itr = modifierAuras.begin(); itr != modifierAuras.end(); ++itr)
- {
- if((*itr)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_WARRIOR && (*itr)->GetSpellProto()->SpellIconID == 2775)
- {
- switch ((*itr)->GetSpellProto()->Id)
- {
- // Unrelenting Assault, rank 1
- case 46859:
- m_caster->CastSpell(unitTarget,64849,true,0,(*itr));
- break;
- // Unrelenting Assault, rank 2
- case 46860:
- m_caster->CastSpell(unitTarget,64850,true,0,(*itr));
- break;
- default:
- break;
- }
- }
- }
- return;
- }
switch(m_spellInfo->Id)
{
// Warrior's Wrath