mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
Removed AI Stopping after they use a skill (#407)
* Removed SkillTime from stopping AI * Reverted Downtime removal
This commit is contained in:
parent
828c457614
commit
77459af1d3
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user