From a0fff5b8e7d5ebddc93679b6a78af8373df67477 Mon Sep 17 00:00:00 2001 From: PSZ Date: Mon, 21 Jun 2010 23:26:10 +0200 Subject: [PATCH] [10092] Correct 3 more auras to check AURA_REMOVE_BY_EXPIRE mode after change in 10030 Signed-off-by: NoFantasy --- src/game/SpellAuras.cpp | 6 +++--- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 263e473b3..3bc652493 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2436,7 +2436,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real) } case 32286: // Focus Target Visual { - if (m_removeMode == AURA_REMOVE_BY_DEFAULT) + if (m_removeMode == AURA_REMOVE_BY_EXPIRE) target->CastSpell(target, 32301, true, NULL, this); return; @@ -2473,7 +2473,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real) { if (Unit* pCaster = GetCaster()) { - if (m_removeMode == AURA_REMOVE_BY_DEFAULT) + if (m_removeMode == AURA_REMOVE_BY_EXPIRE) pCaster->CastSpell(target, 51872, true, NULL, this); } @@ -4758,7 +4758,7 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool /*Real*/) return; case 42783: //Wrath of the Astrom... - if (m_removeMode == AURA_REMOVE_BY_DEFAULT && GetEffIndex() + 1 < MAX_EFFECT_INDEX) + if (m_removeMode == AURA_REMOVE_BY_EXPIRE && GetEffIndex() + 1 < MAX_EFFECT_INDEX) target->CastSpell(target, GetSpellProto()->CalculateSimpleValue(SpellEffectIndex(GetEffIndex()+1)), true); return; case 51912: // Ultra-Advanced Proto-Typical Shortening Blaster diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d1f9f0c75..8ef113f4f 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 "10091" + #define REVISION_NR "10092" #endif // __REVISION_NR_H__