Guard AI Flow - AlexisBliesener/Bewitched GitHub Wiki
graph TD
A[Patrolling] -- Player Spotted --> B[Chase]
B -- Player in Surrounding Range --> C[Surround]
C -- Player Left Surrounding Range --> B[Chase]
C -- Centralized Attack Command (100%) --> F[Attack approach - shield raised]
F -- Approach ended --> G[Spear thrust]
G -- Thrust over --> B[Chase]
A -- Alerted --> D[Searching]
D -- Player Spotted --> B[Chase]
C -- Player attacks --> H[Blocking - 50% chance]
H -- Block over --> B[Chase]