diff options
author | megamage <none@none> | 2009-03-28 17:47:12 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-28 17:47:12 -0600 |
commit | f69c48202febf28b1a7dddf147d0e1ad0a3e6052 (patch) | |
tree | 7522e76eee1f235f130dd6733b396fa993999f4e /src/game/SpellEffects.cpp | |
parent | 3256b75ac56cea5f88b8b190041e3289de8bb756 (diff) |
[7571] Implemented AttributesEx4 & 0x40 - SPELL_ATTR_EX4_NOT_STEALABLE Author: arrai
Flag has been verified by comparing 3.0.3 AttributesEx4 value of spell 55336 with 3.0.9 one
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index d905eee7032..7e24bc4f81d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6274,7 +6274,7 @@ void Spell::EffectStealBeneficialBuff(uint32 i) if (aur && (1<<aur->GetSpellProto()->Dispel) & dispelMask) { // Need check for passive? this - if (aur->IsPositive() && !aur->IsPassive()) + if (aur->IsPositive() && !aur->IsPassive() && !(aur->GetSpellProto()->AttributesEx4 & SPELL_ATTR_EX4_NOT_STEALABLE)) steal_list.push_back(aur); } } |