fix: Fixes punching while pacified (#2332)

This commit is contained in:
Kamron Batman 2026-02-09 14:35:07 -08:00 committed by GitHub
parent 10f26c387e
commit d625ea5ba4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 6 deletions

View file

@ -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;