summaryrefslogtreecommitdiff
path: root/Scripts/AI.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/AI.gd')
-rw-r--r--Scripts/AI.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Scripts/AI.gd b/Scripts/AI.gd
index 1428c06..886bb30 100644
--- a/Scripts/AI.gd
+++ b/Scripts/AI.gd
@@ -11,6 +11,9 @@ class_name AI
func _ready():
GlobalVariables.ai = self
+func _process(_delta):
+ shape_cast_original.shape.radius = max_distance
+
func step(alternative : bool = false):
var shape_cast : ShapeCast2D
@@ -37,5 +40,6 @@ func step(alternative : bool = false):
else:
if !alternative:
step(true)
+ print("i have skill issue")
else:
print("i am softlocked!")