mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
fix(Core/Players): charge should not delay player's auto attacks (#8978)
- Closes #7266
This commit is contained in:
@@ -156,8 +156,7 @@ void Player::Update(uint32 p_time)
|
||||
|
||||
m_achievementMgr->UpdateTimedAchievements(p_time);
|
||||
|
||||
if (HasUnitState(UNIT_STATE_MELEE_ATTACKING) &&
|
||||
!HasUnitState(UNIT_STATE_CASTING))
|
||||
if (HasUnitState(UNIT_STATE_MELEE_ATTACKING) && !HasUnitState(UNIT_STATE_CASTING) && !HasUnitState(UNIT_STATE_CHARGING))
|
||||
{
|
||||
if (Unit* victim = GetVictim())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user