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

feat(子弹): 为魔法飞弹添加命中动画和音效

refactor(角色): 将MTY角色从猫头鹰改为狗熊宝宝并调整攻击逻辑

fix(子弹): 修复ParryBall和Parrier子弹的实例有效性检查

style(场景): 清理场景文件中的冗余属性

feat(工具): 为findClosetBulletCanDamage添加最大距离参数

chore(配置): 更新测试用的波次配置
This commit is contained in:
2026-04-24 18:09:24 +08:00
parent f27d75befd
commit 3a8c48dae7
12 changed files with 161 additions and 60 deletions
+8 -8
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://brt2q316hrswe"]
[gd_scene format=3 uid="uid://brt2q316hrswe"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_57y3f"]
[ext_resource type="Script" uid="uid://bi7nde2rs0w4m" path="res://scripts/Contents/Bullets/Parrier.gd" id="2_li4th"]
@@ -43,23 +43,23 @@ _data = {
radius = 60.0
height = 300.0
[node name="Parrier" instance=ExtResource("1_57y3f")]
[node name="Parrier" unique_id=2089111975 instance=ExtResource("1_57y3f")]
script = ExtResource("2_li4th")
parryRate = 0.0
displayName = "爪击"
baseDamage = 5.0
penerate = 1.0
autoSpawnAnimation = true
freeAfterSpawn = true
[node name="texture" parent="." index="0"]
[node name="texture" parent="." index="0" unique_id=162977358]
modulate = Color(1, 1, 1, 0)
scale = Vector2(0.8, 0.8)
[node name="animator" parent="texture" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k4ctn")
}
[node name="animator" parent="texture" index="0" unique_id=1114087117]
libraries/ = SubResource("AnimationLibrary_k4ctn")
[node name="hitbox" parent="." index="1"]
[node name="hitbox" parent="." index="1" unique_id=175349408]
position = Vector2(150, 0)
rotation = 1.5707964
shape = SubResource("CapsuleShape2D_li4th")