Core/Spells: Allows Dispersion under Freeze (stun by hunter trap)

Port From (https://github.com/TrinityCore/TrinityCore/commit/f4ac8146b6fb76fd80f525dbb8b14706fa080f98)
This commit is contained in:
hondacrx
2020-07-22 00:50:15 -04:00
parent da2ef5009b
commit d1ebddbe95
+2 -1
View File
@@ -2301,6 +2301,7 @@ namespace Game.Spells
switch (Id)
{
case 22812: // Barkskin
case 47585: // Dispersion
_allowedMechanicMask |=
(1 << (int)Mechanics.Stun) |
(1 << (int)Mechanics.Freeze) |
@@ -2322,8 +2323,8 @@ namespace Game.Spells
{
switch (Id)
{
case 47585: // Dispersion
case 22812: // Barkskin
case 47585: // Dispersion
_allowedMechanicMask |= (1 << (int)Mechanics.Fear) | (1 << (int)Mechanics.Horror);
break;
default: