1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 20:27:13 +08:00

feat(战斗系统): 添加箭矢命中效果并调整弓箭伤害

- 为箭矢添加命中时的血液粒子效果和音效
- 将弓箭的基础伤害从3降低到2
- 更新弓箭描述文本以反映伤害调整
This commit is contained in:
2025-11-20 22:18:17 +08:00
parent 6ea494be33
commit 6bf8dc8683
8 changed files with 115 additions and 33 deletions
+10 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://bfkg40awgniv"]
[gd_scene load_steps=11 format=3 uid="uid://bfkg40awgniv"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_hw4g4"]
[ext_resource type="Texture2D" uid="uid://cs6se8dighfgj" path="res://resources/characters/cat/cat.png" id="2_q30ge"]
@@ -20,6 +20,14 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="SpriteFrames" id="SpriteFrames_hmu5t"]
animations = [{
"frames": [],
"loop": true,
"name": &"idle",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uo67a"]
size = Vector2(81, 62)
@@ -50,6 +58,7 @@ texture = ExtResource("2_q30ge")
[node name="staticAnimation" parent="texture" index="1"]
scale = Vector2(1, 1.289)
sprite_frames = SubResource("SpriteFrames_hmu5t")
animation = &"idle"
[node name="hitbox" parent="texture/hurtbox" index="0"]