This commit is contained in:
CortexCore
2024-03-29 00:58:24 +08:00
parent 967ad8eacf
commit 05315ef4a8
232 changed files with 53368 additions and 8539 deletions

View File

@@ -23,6 +23,8 @@ namespace BITKit.Entities
[SerializeReference, SubclassSelector, Inject(true)]
private IMeleeService meleeService;
[Inject(true)] private IHealth _health;
[Inject(true)] private IEntityOverride entityOverride;
private readonly IntervalUpdate disableMelee = new(0.64f);
@@ -63,6 +65,7 @@ namespace BITKit.Entities
private void AnimationEventInternal(string actionName)
{
if (_health is { IsAlive: false }) return;
switch (actionName)
{
case "Melee":