1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-03 18: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
+5 -5
View File
@@ -1,6 +1,6 @@
[gd_scene load_steps=8 format=3 uid="uid://crtdkysmnkith"]
[ext_resource type="Script" path="res://scripts/Statemachine/BulletBase.gd" id="1_pklpq"]
[ext_resource type="Script" uid="uid://dp7c02tob106n" path="res://scripts/Statemachine/BulletBase.gd" id="1_pklpq"]
[sub_resource type="SpriteFrames" id="SpriteFrames_vypy3"]
@@ -31,9 +31,9 @@ resource_name = "spawn"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dxweq"]
_data = {
"destroy": SubResource("Animation_oinqg"),
"loop": SubResource("Animation_ynxlt"),
"spawn": SubResource("Animation_kmogx")
&"destroy": SubResource("Animation_oinqg"),
&"loop": SubResource("Animation_ynxlt"),
&"spawn": SubResource("Animation_kmogx")
}
[sub_resource type="CircleShape2D" id="CircleShape2D_ecl7m"]
@@ -48,7 +48,7 @@ sprite_frames = SubResource("SpriteFrames_vypy3")
[node name="animator" type="AnimationPlayer" parent="texture"]
unique_name_in_owner = true
libraries = {
"": SubResource("AnimationLibrary_dxweq")
&"": SubResource("AnimationLibrary_dxweq")
}
[node name="hitbox" type="CollisionShape2D" parent="."]