diff options
author | QAston <qaston@gmail.com> | 2011-07-01 12:47:26 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2011-07-01 12:47:26 +0200 |
commit | 3b8dce669d6ce4aad680da99dae1b73fe54b17df (patch) | |
tree | ef9e77e79baade3cbca18a6084381e94aee1d839 /src/server/game/Spells/SpellMgr.cpp | |
parent | d3e887060d0fed28378908f8c24150fbe375a659 (diff) |
Core/Spells: Define attributes: SPELL_ATTR0_CAST_TRACK_TARGET(0x00400000), SPELL_ATTR1_CHANNEL_TRACK_TARGET(0x00004000), SPELL_ATTR0_ON_NEXT_SWING_2(0x00000400), add some attribute flag comments based on client research.
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rwxr-xr-x | src/server/game/Spells/SpellMgr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 0c014509804..a941c26e358 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3323,8 +3323,7 @@ bool SpellMgr::CanAurasStack(Aura const *aura1, Aura const *aura2, bool sameCast if (!sameCaster) { - if (spellInfo_1->AttributesEx & SPELL_ATTR1_STACK_FOR_DIFF_CASTERS - || spellInfo_1->AttributesEx3 & SPELL_ATTR3_STACK_FOR_DIFF_CASTERS) + if (spellInfo_1->AttributesEx3 & SPELL_ATTR3_STACK_FOR_DIFF_CASTERS) return true; // check same periodic auras @@ -4300,7 +4299,7 @@ void SpellMgr::LoadSpellCustomAttr() ++count; break; case 70602: // Corruption - spellInfo->AttributesEx |= SPELL_ATTR1_STACK_FOR_DIFF_CASTERS; + spellInfo->AttributesEx3 |= SPELL_ATTR3_STACK_FOR_DIFF_CASTERS; ++count; break; case 70715: // Column of Frost (visual marker) |