Scripts/Icecrown Citadel: Fixed Lord Marrowgar - Coldflame to not ignore resistances

Port From (https://github.com/TrinityCore/TrinityCore/commit/fa762826e9977c53e18e4de7821be2dfc25601f0)
This commit is contained in:
hondacrx
2020-08-24 19:05:44 -04:00
parent d9770ed0f9
commit 679dbcfb67
+8 -1
View File
@@ -60,7 +60,7 @@ namespace Game.Entities
if (AuraEffectHandlers.ContainsKey(auraEffect.AuraType))
{
Log.outError(LogFilter.ServerLoading, "Tried to override AuraEffectHandler of {0} with {1} (AuraType {2}).", AuraEffectHandlers[auraEffect.AuraType].ToString(), methodInfo.Name, auraEffect.AuraType);
Log.outError(LogFilter.ServerLoading, "Tried to override AuraEffectHandler of {0} with {1} (AuraType {2}).", AuraEffectHandlers[auraEffect.AuraType].GetMethodInfo().Name, methodInfo.Name, auraEffect.AuraType);
continue;
}
@@ -3056,6 +3056,13 @@ namespace Game.Entities
case 70861: // Sindragosa's Lair Teleport
spellInfo.GetEffect(0).TargetA = new SpellImplicitTargetInfo(Targets.DestDb);
break;
// Coldflame (Lord Marrowgar)
case 69146:
case 70823:
case 70824:
case 70825:
spellInfo.AttributesEx4 &= ~SpellAttr4.IgnoreResistances;
break;
case 71169: // Shadow's Fate
spellInfo.AttributesEx3 |= SpellAttr3.StackForDiffCasters;
break;