Irgendjemand musste es ja machen...

This commit is contained in:
Simon Lübeß
2024-04-09 01:17:44 +02:00
parent 288678f3b5
commit f405a0ef9f
39 changed files with 1727 additions and 419 deletions

View File

@ -118,7 +118,7 @@ void Update()
float diff = direction.magnitude;
if (diff <= _attackRange + 0.6f)
{
GameManager.Instance.Player.GetComponent<Character>().PickupItem(null);
GameManager.Instance.Player.GetComponent<Character>().Hurt();
}
_isAttacking = false;
}