feat: 添加敌人并且追踪player,同时避免敌人重叠
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://db0igkyfvumk7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bf4ls8ho3cuqa" path="res://assets/sprites/Enemies/Enemy_2.png" id="1_gkg84"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="2_o5vp8"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_o5vp8")
|
||||
name = "Chaser Mid"
|
||||
type = 1
|
||||
icon = ExtResource("1_gkg84")
|
||||
health = 8
|
||||
health_increase_per_wave = 2.0
|
||||
damage = 2.0
|
||||
luck = 0.0
|
||||
block_chance = 7.0
|
||||
gold_drop = 2
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
Reference in New Issue
Block a user