Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity

Port From (https://github.com/TrinityCore/TrinityCore/commit/ed0b621d1569a14174a9802027b68dbe4329da69)
This commit is contained in:
hondacrx
2024-02-21 18:00:19 -05:00
parent 5c6027d97f
commit 71e03da934
7 changed files with 53 additions and 30 deletions
@@ -2988,4 +2988,12 @@ namespace Framework.Constants
Area,
Chain
}
[Flags]
public enum SpellOtherImmunity
{
None = 0x0,
AoETarget = 0x1,
ChainTarget = 0x2
}
}
+2 -1
View File
@@ -98,7 +98,8 @@ namespace Framework.Constants
Dispel = 4, // enum DispelType
Mechanic = 5, // enum Mechanics
Id = 6,
Max = 7
Other = 7, //enum SpellOtherImmunity
Max
}