Core/Globals: Load spellspecific and aurastate after loading spell ranks
Core/Spells: Removed obsolete code Core/Spell: do not fail triggered Charge effects in case a root is present.
This commit is contained in:
@@ -4928,7 +4928,7 @@ namespace Game.Spells
|
||||
}
|
||||
case SpellEffectName.Charge:
|
||||
{
|
||||
if (m_caster.HasUnitState(UnitState.Root))
|
||||
if (!_triggeredCastFlags.HasAnyFlag(TriggerCastFlags.IgnoreCasterAuras) && m_caster.HasUnitState(UnitState.Root))
|
||||
return SpellCastResult.Rooted;
|
||||
|
||||
if (GetSpellInfo().NeedsExplicitUnitTarget())
|
||||
|
||||
Reference in New Issue
Block a user