summaryrefslogtreecommitdiff
path: root/Scripts/AI.gd
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2024-04-14 23:00:45 +0700
committeraltaf-creator <dev@altafcreator.com>2024-04-14 23:00:45 +0700
commitf1b4d6034c937c89b2750bc209684a4e19896177 (patch)
treef91731656ff901e458ab504b8e8e33fb06e67c0b /Scripts/AI.gd
parent21d3893b6b1c1ffb2d9611bce67568e713161b3d (diff)
Art overhaul
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!")