mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
Fix (Core/Movement): During escort movement, do not stop moving if unit is casting channeled spells. (#9815)
Fixes #9286
This commit is contained in:
@@ -52,7 +52,7 @@ bool EscortMovementGenerator<T>::DoUpdate(T* unit, uint32 /*diff*/)
|
||||
|
||||
if (unit->HasUnitState(UNIT_STATE_NOT_MOVE) || unit->IsMovementPreventedByCasting())
|
||||
{
|
||||
unit->StopMoving();
|
||||
unit->ClearUnitState(UNIT_STATE_ROAMING_MOVE);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -6187,6 +6187,7 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
ApplySpellFix({ 69768 }, [](SpellEntry* spellInfo)
|
||||
{
|
||||
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_TARGET_ANY;
|
||||
spellInfo->AttributesEx5 |= SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL;
|
||||
});
|
||||
|
||||
ApplySpellFix({ 69767 }, [](SpellEntry* spellInfo)
|
||||
|
||||
Reference in New Issue
Block a user