Implemented binary resistances and some more

Port From (https://github.com/TrinityCore/TrinityCore/commit/ca26c33145cb40ae7fd2c84fc7577fc6f11bdbbf)
This commit is contained in:
hondacrx
2019-08-16 23:15:19 -04:00
parent d3bce6a75c
commit bdfea4ecad
8 changed files with 322 additions and 105 deletions
+2 -2
View File
@@ -1310,7 +1310,7 @@ namespace Game.Spells
case ShapeShiftForm.MoonkinForm:
{
// remove movement affects
target.RemoveMovementImpairingAuras();
target.RemoveAurasByShapeShift();
// and polymorphic affects
if (target.IsPolymorphed())
@@ -1351,7 +1351,7 @@ namespace Game.Spells
if (target.GetClass() == Class.Druid)
{
// Remove movement impairing effects also when shifting out
target.RemoveMovementImpairingAuras();
target.RemoveAurasByShapeShift();
}
}