opponent.tscn 725 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=4 format=3 uid="uid://dp7gq0vfmf4nc"]
  2. [ext_resource type="PackedScene" uid="uid://blh4bx2nbvbn5" path="res://combat/combatants/combatant.tscn" id="1"]
  3. [ext_resource type="Script" path="res://combat/combatants/opponent.gd" id="2"]
  4. [ext_resource type="Texture2D" uid="uid://bebxw4udsw7i3" path="res://combat/combatants/sprites/opponent_battle.png" id="3"]
  5. [node name="Opponent" instance=ExtResource("1")]
  6. script = ExtResource("2")
  7. damage = 3
  8. [node name="Health" parent="." index="0"]
  9. life = 7
  10. max_life = 7
  11. [node name="Body" parent="Sprite2D/Pivot" index="1"]
  12. texture = ExtResource("3")
  13. [node name="Timer" type="Timer" parent="." index="2"]
  14. wait_time = 0.25
  15. one_shot = true
  16. [editable path="Sprite2D"]