Skip to content

fix(SmartAI): START_ATTACK 20 AllowAttackState confusion#3649

Merged
Helias merged 1 commit into
azerothcore:masterfrom
sogladev:docs-auto-attack
Dec 16, 2025
Merged

fix(SmartAI): START_ATTACK 20 AllowAttackState confusion#3649
Helias merged 1 commit into
azerothcore:masterfrom
sogladev:docs-auto-attack

Conversation

@sogladev

Copy link
Copy Markdown
Member

Action 20 AUTO_ATTACK does not initiate an attack; it only enables or disables auto-attack (mCanAutoAttack).

This fixes confusion with action 49 START_ATTACK, which does start attacking.

The wiki does a good enough job, but Keira's comments are confusing

https://www.azerothcore.org/wiki/smart_scripts

Action 20 AUTO_ATTACK does not start attack, it only enables/disables
auto attack.

Fix confusion with action 49 START_ATTACK
@Helias Helias merged commit a5b2247 into azerothcore:master Dec 16, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants