From 5cf1a1a6b50f8ca2d2fbe7ec45d0cf3b802fc5fa Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Tue, 21 Jun 2011 23:46:39 +0400 Subject: [PATCH] [11660] Fixed glyph 43427 apply. Now must affect targets amount only for ability main spell. --- src/game/Spell.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f56cc1633..290fde49f 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1599,8 +1599,8 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& } case SPELLFAMILY_WARRIOR: { - // Sunder Armor - if (m_spellInfo->IsFitToFamilyMask(UI64LIT(0x0000000000004000), 0x00000000)) + // Sunder Armor (main spell) + if (m_spellInfo->IsFitToFamilyMask(UI64LIT(0x0000000000004000), 0x00000000) && m_spellInfo->SpellVisual[0] == 406) if (m_caster->HasAura(58387)) // Glyph of Sunder Armor EffectChainTarget = 2; break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f68bf5c2d..7a96508bf 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 "11659" + #define REVISION_NR "11660" #endif // __REVISION_NR_H__