diff options
author | Trisjdc <trisjdc@gmail.com> | 2014-06-17 15:21:55 +0100 |
---|---|---|
committer | Trisjdc <trisjdc@gmail.com> | 2014-06-17 15:21:55 +0100 |
commit | 83ebab72ac3247f01750822c9d781f2b51b3e0e6 (patch) | |
tree | 6a60c33d4e4d4b51e8bdfb0936bbf262b7b09846 /src | |
parent | 4191ad4cb2a90c56331e6c0775d8593d9ecb765e (diff) | |
parent | 16feef9e33f5c782a1d768d89672bea76d61b5e1 (diff) |
Merge pull request #12299 from SeTM/patch-1
Update SpellAuraEffects.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 72ce1b2e717..de7e9ffd09f 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -4600,28 +4600,6 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool // AT APPLY if (apply) { - // Overpower - if (caster && m_spellInfo->SpellFamilyName == SPELLFAMILY_WARRIOR && - m_spellInfo->SpellFamilyFlags[0] & 0x4) - { - // In addition, if you strike a player.. - if (target->GetTypeId() != TYPEID_PLAYER) - return; - // ..while they are casting - if (target->IsNonMeleeSpellCast(false, false, true, false, true)) - if (AuraEffect* aurEff = caster->GetAuraEffect(SPELL_AURA_ADD_FLAT_MODIFIER, SPELLFAMILY_WARRIOR, 2775, 0)) - switch (aurEff->GetId()) - { - // Unrelenting Assault, rank 1 - case 46859: - target->CastSpell(target, 64849, true, NULL, aurEff); - break; - // Unrelenting Assault, rank 2 - case 46860: - target->CastSpell(target, 64850, true, NULL, aurEff); - break; - } - } switch (GetId()) { case 1515: // Tame beast |