pandemonium_demo_projects/2d/role_playing_game/combat/combatants/Opponent.tscn

23 lines
625 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://combat/combatants/Combatant.tscn" type="PackedScene" id=1]
[ext_resource path="res://combat/combatants/Opponent.gd" type="Script" id=2]
[ext_resource path="res://combat/combatants/sprites/green.png" type="Texture" id=3]
[node name="Opponent" instance=ExtResource( 1 )]
script = ExtResource( 2 )
damage = 3
[node name="Health" parent="." index="0"]
life = 7
max_life = 7
[node name="Body" parent="Sprite/Pivot" index="1"]
texture = ExtResource( 3 )
[node name="Timer" type="Timer" parent="." index="2"]
wait_time = 0.25
one_shot = true
[editable path="Sprite"]