[svn] Fix cloak of shadow, can remove fairy fire now.

Add yells to High King Maulgar. Patch provided by riddick.
Script for Prince Malchezaar Doors. Patch provided by BroodWyrm.
Bug fix for Selin Fireheart. Patch provided by BroodWyrm.
Arcane Charges only while on flightpath. Patch provided by SLG.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-10-23 22:04:14 -05:00
parent 0f32ffb90e
commit 277334fc41
7 changed files with 148 additions and 61 deletions
+4 -6
View File
@@ -1771,12 +1771,10 @@ void Spell::EffectTriggerSpell(uint32 i)
for(Unit::AuraMap::iterator iter = Auras.begin(); iter != Auras.end(); ++iter)
{
// remove all harmful spells on you...
if( // ignore positive and passive auras
!iter->second->IsPositive() && !iter->second->IsPassive() &&
// only affect magic spells
iter->second->GetSpellProto()->DmgClass == SPELL_DAMAGE_CLASS_MAGIC &&
// ignore immunity persistent spells
!( iter->second->GetSpellProto()->AttributesEx & 0x10000 ) )
if(// only affect magic spells
iter->second->GetSpellProto()->DmgClass == SPELL_DAMAGE_CLASS_MAGIC
// ignore positive and passive auras
&& !iter->second->IsPositive() && !iter->second->IsPassive())
{
m_caster->RemoveAurasDueToSpell(iter->second->GetSpellProto()->Id);
iter = Auras.begin();