-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AI: Do not engage CreatureStaticFlags::NO_MELEE_FLEE flee if casting …
…spell Give a script the option to override it with an aggro hook
- Loading branch information
1 parent
480f9b4
commit dc20d1f
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in this if statement, what is the purpose if
m_creature->IsRooted()
?shouldn't they "try" to flee anyway. As it is currently when you root or stun a critter as the first combat action,
SetAIOrder(ORDER_CRITTER_FLEE)
is not called, so when the root/stun breaks the critter enters combat normally.I know this has nothing to do with this specific commit, just a general question.