centurion targets stunned enemies

godot-4.2
John Montagu, the 4th Earl of Sandvich 2023-11-13 20:11:20 -08:00
parent 4057c449a9
commit 9ec6187747
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ public partial class CenturionAttackState : BlockAttackState
{
base.Think();
if (_bestTarget?.StunTime > 0)
{
return null;
}
var teammate = FindBestTeammate();
if (teammate is not null)
{