Core/Spells: Corrected implementation of SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL - it allows casting other spells while channeling, not allows movement while channeling
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a219b7e397f4c31a0e40d582ff9bbcd94f1a6e1)
This commit is contained in:
@@ -1636,7 +1636,8 @@ namespace Game.Entities
|
||||
case CurrentSpellTypes.Generic:
|
||||
{
|
||||
// generic spells always break channeled not delayed spells
|
||||
InterruptSpell(CurrentSpellTypes.Channeled, false);
|
||||
if (GetCurrentSpell(CurrentSpellTypes.Channeled) != null && !GetCurrentSpell(CurrentSpellTypes.Channeled).GetSpellInfo().HasAttribute(SpellAttr5.AllowActionsDuringChannel))
|
||||
InterruptSpell(CurrentSpellTypes.Channeled, false);
|
||||
|
||||
// autorepeat breaking
|
||||
if (GetCurrentSpell(CurrentSpellTypes.AutoRepeat) != null)
|
||||
|
||||
Reference in New Issue
Block a user