From a3f3caf25a4fa440971a744d76b2a3afafc60028 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Wed, 7 Jan 2009 16:21:18 +0300 Subject: [PATCH] [7043] Remove not need code Signed-off-by: DiSlord --- src/game/SpellAuras.cpp | 14 -------------- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index aac4b3940..ff08aec06 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -4021,13 +4021,6 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool Real) m_isPeriodic = apply; m_isTrigger = apply; - - // Curse of the Plaguebringer - if (!apply && m_spellProto->Id == 29213 && m_removeMode!=AURA_REMOVE_BY_DISPEL) - { - // Cast Wrath of the Plaguebringer if not dispelled - m_target->CastSpell(m_target, 29214, true, 0, this); - } } void Aura::HandlePeriodicEnergize(bool apply, bool Real) @@ -4045,13 +4038,6 @@ void Aura::HandlePeriodicHeal(bool apply, bool Real) m_isPeriodic = apply; - // only at real apply - if (Real && apply && GetSpellProto()->Mechanic == MECHANIC_BANDAGE) - { - // provided m_target as original caster to prevent apply aura caster selection for this negative buff - m_target->CastSpell(m_target,11196,true,NULL,this,m_target->GetGUID()); - } - // For prevent double apply bonuses bool loading = (m_target->GetTypeId() == TYPEID_PLAYER && ((Player*)m_target)->GetSession()->PlayerLoading()); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1c80b3c7c..b2dbfe075 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7042" + #define REVISION_NR "7043" #endif // __REVISION_NR_H__