[7043] Remove not need code

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-07 16:21:18 +03:00
parent 48a90cc42d
commit a3f3caf25a
2 changed files with 1 additions and 15 deletions

View file

@ -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());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7042"
#define REVISION_NR "7043"
#endif // __REVISION_NR_H__