|
|
|
@ -105,6 +105,7 @@ public class SkullGuardian : MonoBehaviour |
|
|
|
else |
|
|
|
{ |
|
|
|
yield return StartCoroutine(moveTowardsPlayer()); |
|
|
|
yield return new WaitForSeconds(1); |
|
|
|
currentNode = GameManager.Instance.X[enemyNode.positionX].Y[enemyNode.positionY]; |
|
|
|
if (getNodeTools.canRemoteAttack(currentNode, enemyNode.EnemyState.attackRange)) |
|
|
|
{ |
|
|
|
|