alot of stuff i forgot to commit

This commit is contained in:
Sylvia 2026-06-24 22:09:38 -07:00
parent fc2329a873
commit b8d516e734
60 changed files with 7397 additions and 64 deletions

View file

@ -1,3 +1,4 @@
using Core.Extensions;
using UnityEngine;
public class AutoControlledEntity : Entity
@ -20,4 +21,15 @@ public class AutoControlledEntity : Entity
}
return false;
}
private void Update()
{
if (closestEntity && !stats.abilitiesDisabled && !stats.isStalled)
{
stats.attackOriginCenter.Lookat2D(closestEntity.transform.position);
foreach (Ability ability in stats.abilities)
{
ability.TryAbility();
}
}
}
}