mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[7043] Remove not need code
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
48a90cc42d
commit
a3f3caf25a
2 changed files with 1 additions and 15 deletions
|
|
@ -4021,13 +4021,6 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool Real)
|
||||||
|
|
||||||
m_isPeriodic = apply;
|
m_isPeriodic = apply;
|
||||||
m_isTrigger = 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)
|
void Aura::HandlePeriodicEnergize(bool apply, bool Real)
|
||||||
|
|
@ -4045,13 +4038,6 @@ void Aura::HandlePeriodicHeal(bool apply, bool Real)
|
||||||
|
|
||||||
m_isPeriodic = apply;
|
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
|
// For prevent double apply bonuses
|
||||||
bool loading = (m_target->GetTypeId() == TYPEID_PLAYER && ((Player*)m_target)->GetSession()->PlayerLoading());
|
bool loading = (m_target->GetTypeId() == TYPEID_PLAYER && ((Player*)m_target)->GetSession()->PlayerLoading());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7042"
|
#define REVISION_NR "7043"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue