mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Core/Spells: Allows Dispersion and Barkskin to be used under death coil
(cherry picked from commit abc749034e)
This commit is contained in:
@@ -3382,7 +3382,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, SpellEffectInfo const* effect, bool apply) const
|
||||
|
||||
Reference in New Issue
Block a user