[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
This commit is contained in:
megamage committed 2009-03-28 17:47:12 -06:00
1 parent 3256b75ac5
commit f69c48202f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
}
}