Removed AI Stopping after they use a skill (#407)

* Removed SkillTime from stopping AI

* Reverted Downtime removal
This commit is contained in:
David Markowitz
2022-02-05 04:07:30 -08:00
committed by GitHub
parent 828c457614
commit 77459af1d3

View File

@@ -192,7 +192,7 @@ void BaseCombatAIComponent::Update(const float deltaTime) {
return;
}
if (m_Stunned || m_SkillTime > 0) {
if (m_Stunned) {
m_MovementAI->Stop();
return;
@@ -358,7 +358,7 @@ void BaseCombatAIComponent::CalculateCombat(const float deltaTime) {
return;
}
m_Downtime = 0.5f; // TODO: find out if this is necessary
m_Downtime = 0.5f;
auto* target = GetTargetEntity();