Core/Spells: Allows Dispersion under Freeze (stun by hunter trap)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4ac8146b6fb76fd80f525dbb8b14706fa080f98)
This commit is contained in:
@@ -2301,6 +2301,7 @@ namespace Game.Spells
|
|||||||
switch (Id)
|
switch (Id)
|
||||||
{
|
{
|
||||||
case 22812: // Barkskin
|
case 22812: // Barkskin
|
||||||
|
case 47585: // Dispersion
|
||||||
_allowedMechanicMask |=
|
_allowedMechanicMask |=
|
||||||
(1 << (int)Mechanics.Stun) |
|
(1 << (int)Mechanics.Stun) |
|
||||||
(1 << (int)Mechanics.Freeze) |
|
(1 << (int)Mechanics.Freeze) |
|
||||||
@@ -2322,8 +2323,8 @@ namespace Game.Spells
|
|||||||
{
|
{
|
||||||
switch (Id)
|
switch (Id)
|
||||||
{
|
{
|
||||||
case 47585: // Dispersion
|
|
||||||
case 22812: // Barkskin
|
case 22812: // Barkskin
|
||||||
|
case 47585: // Dispersion
|
||||||
_allowedMechanicMask |= (1 << (int)Mechanics.Fear) | (1 << (int)Mechanics.Horror);
|
_allowedMechanicMask |= (1 << (int)Mechanics.Fear) | (1 << (int)Mechanics.Horror);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user