[11660] Fixed glyph 43427 apply.

Now must affect targets amount only for ability main spell.
This commit is contained in:
VladimirMangos 2011-06-21 23:46:39 +04:00
parent 15bb164d72
commit 5cf1a1a6b5
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11659"
#define REVISION_NR "11660"
#endif // __REVISION_NR_H__