From b64ce9ea345584bb8ddf18cacc3f0e35b8ba30b5 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Wed, 14 Jan 2009 20:52:18 +0300 Subject: [PATCH] Fix pladin some abiblty - patch by Kirix Signed-off-by: DiSlord --- src/game/SpellEffects.cpp | 2 -- src/game/Unit.cpp | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 4aa98b7a3..505531750 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5021,8 +5021,6 @@ void Spell::EffectScriptEffect(uint32 effIndex) SpellEntry const *judge = sSpellStore.LookupEntry(spellId2); if (!judge) continue; - // found, remove seal - m_caster->RemoveAurasDueToSpell(spellInfo->Id); break; } if (spellId1) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 3c350fe05..c46050999 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -1468,18 +1468,6 @@ void Unit::DealMeleeDamage(CalcDamageInfo *damageInfo, bool durabilityLoss) CastSpell(pVictim, 1604, true); } - // update at damage Judgement aura duration that applied by attacker at victim - if(damageInfo->damage) - { - AuraMap& vAuras = pVictim->GetAuras(); - for(AuraMap::iterator itr = vAuras.begin(); itr != vAuras.end(); ++itr) - { - SpellEntry const *spellInfo = (*itr).second->GetSpellProto(); - if( spellInfo->AttributesEx3 & 0x40000 && spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && ((*itr).second->GetCasterGUID() == GetGUID())) - (*itr).second->RefreshAura(); - } - } - // If not miss if (!(damageInfo->HitInfo & HITINFO_MISS)) {