feat: 添加敌人并且追踪player,同时避免敌人重叠
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://bn4dskgwnahaq"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d1ou504pylric" path="res://assets/sprites/Enemies/Enemy_1.png" id="1_cneyk"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="1_m42qi"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_m42qi")
|
||||
name = "Chaser Slow"
|
||||
type = 1
|
||||
icon = ExtResource("1_cneyk")
|
||||
health = 6
|
||||
damage = 1.5
|
||||
speed = 250
|
||||
luck = 0.0
|
||||
block_chance = 3.0
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
Reference in New Issue
Block a user