Added health bar to slimes and improved attack logic
This commit is contained in:
@@ -242,10 +242,10 @@ namespace Assets.Scripts.Player
|
||||
switch (col.name)
|
||||
{
|
||||
case "AttackRange":
|
||||
enemy.handleAttack();
|
||||
enemy.HandleAttack();
|
||||
break;
|
||||
case "DetectionRange":
|
||||
enemy.handleDetection();
|
||||
enemy.HandleDetection();
|
||||
break;
|
||||
case "FollowRange":
|
||||
//Do nothing, as it needs to be detected first
|
||||
|
||||
Reference in New Issue
Block a user