Misc spell fixes

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2020-09-10 19:54:49 -04:00
parent 0c036ef4db
commit 9636460e27
2 changed files with 0 additions and 21 deletions
-18
View File
@@ -379,24 +379,6 @@ namespace Game.Spells
m_caster.CastSpell(unitTarget, spell.Id, true);
return;
}
// Cloak of Shadows
case 35729:
{
uint dispelMask = SpellInfo.GetDispelMask(DispelType.ALL);
foreach (var iter in unitTarget.GetAppliedAuras())
{
// remove all harmful spells on you...
SpellInfo spell = iter.Value.GetBase().GetSpellInfo();
if ((spell.DmgClass == SpellDmgClass.Magic // only affect magic spells
|| (Convert.ToBoolean(spell.GetDispelMask() & dispelMask))
// ignore positive and passive auras
&& !iter.Value.IsPositive() && !iter.Value.GetBase().IsPassive()))
{
m_caster.RemoveAura(iter);
}
}
return;
}
}
}
-3
View File
@@ -3058,9 +3058,6 @@ namespace Game.Entities
break;
// Coldflame (Lord Marrowgar)
case 69146:
case 70823:
case 70824:
case 70825:
spellInfo.AttributesEx4 &= ~SpellAttr4.IgnoreResistances;
break;
case 71169: // Shadow's Fate