Skip to content

Commit

Permalink
[11660] Fixed glyph 43427 apply.
Browse files Browse the repository at this point in the history
Now must affect targets amount only for ability main spell.
  • Loading branch information
VladimirMangos committed Jun 21, 2011
1 parent a9b961d commit be7585d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11659"
#define REVISION_NR "11660"
#endif // __REVISION_NR_H__

0 comments on commit be7585d

Please sign in to comment.