mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Spells: Allows Dispersion and Barkskin to be used under death coil
This commit is contained in:
@@ -2822,7 +2822,18 @@ void SpellInfo::_LoadImmunityInfo()
|
||||
_allowedMechanicMask |= (1 << MECHANIC_DISORIENTED);
|
||||
|
||||
if (HasAttribute(SPELL_ATTR5_USABLE_WHILE_FEARED))
|
||||
_allowedMechanicMask |= (1 << MECHANIC_FEAR);
|
||||
{
|
||||
switch (Id)
|
||||
{
|
||||
case 47585: // Dispersion
|
||||
case 22812: // Barkskin
|
||||
_allowedMechanicMask |= (1 << MECHANIC_FEAR) | (1 << MECHANIC_HORROR);
|
||||
break;
|
||||
default:
|
||||
_allowedMechanicMask |= (1 << MECHANIC_FEAR);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void SpellInfo::ApplyAllSpellImmunitiesTo(Unit* target, uint8 effIndex, bool apply) const
|
||||
|
||||
Reference in New Issue
Block a user