From 9ec618774759cd41f3e17e666167238c8d225845 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Mon, 13 Nov 2023 20:11:20 -0800 Subject: [PATCH] centurion targets stunned enemies --- State/Thinker/CenturionAttackState.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/State/Thinker/CenturionAttackState.cs b/State/Thinker/CenturionAttackState.cs index 75286fb..fdacf97 100644 --- a/State/Thinker/CenturionAttackState.cs +++ b/State/Thinker/CenturionAttackState.cs @@ -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) {