fix: Fixes punching while pacified (#2332)
This commit is contained in:
parent
10f26c387e
commit
d625ea5ba4
2 changed files with 9 additions and 6 deletions
|
|
@ -444,7 +444,7 @@ public abstract partial class BaseAI
|
|||
DebugSay("No threats found. Going home...");
|
||||
Action = ActionType.Wander;
|
||||
}
|
||||
|
||||
|
||||
DebugSay("I stopped being on guard.");
|
||||
Action = ActionType.Wander;
|
||||
|
||||
|
|
@ -600,6 +600,11 @@ public abstract partial class BaseAI
|
|||
return false;
|
||||
}
|
||||
|
||||
if (Mobile.BardPacified)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (HandleBardProvoked() || HandleControlled() || HandleConstantFocus())
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue