Merge pull request #456 from SHADE-DP/Navigation

adjusted hitbox timing
This commit is contained in:
XiaoQiDigipen 2023-04-02 12:48:39 +08:00 committed by GitHub
commit 724f8ae2cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ namespace SHADE_Scripting.Gameplay.AIBehaviour.AIRework.States
else if (seq) else if (seq)
{ {
if (timer <= 1.0f / 30.0f) if (timer <= seqTime * 0.5f)
{ {
//ai.attackHitbox.SetActive(true); //ai.attackHitbox.SetActive(true);
machine.GetScript<HomeOwnerAI>().atk = true; machine.GetScript<HomeOwnerAI>().atk = true;