mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-02 00:02:13 +08:00
feat(武器系统): 添加神手玉武器并完善格挡机制
添加新武器"神手玉",实现不同类型的攻击格挡效果: - 近战挥舞:化解伤害 - 近战戳刺:反弹伤害并击退 - 远程射弹:概率弹反 - 猛冲攻击:反弹速度 - 吐息攻击:产生击退 - 魔法/召唤攻击:少量储能 调整Parry.gd的相机震动参数,增加BulletBase的MotionType枚举值STAB,完善Parrier.gd对不同攻击类型的处理逻辑。同时添加Debug测试boss选项,修复AcidS.gd的缩进问题。
This commit is contained in:
@@ -55,6 +55,18 @@ tracks/3/keys = {
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("%texture/..:motionType")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_oinqg"]
|
||||
resource_name = "destroy"
|
||||
@@ -151,6 +163,18 @@ tracks/5/keys = {
|
||||
"method": &"generateShadow"
|
||||
}]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("%texture/..:motionType")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0, 0.3, 1.45),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [6, 0, 6]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_w1utg"]
|
||||
_data = {
|
||||
@@ -186,8 +210,8 @@ texture = ExtResource("2_wwxm2")
|
||||
[node name="audio" type="AudioStreamPlayer2D" parent="texture/anchor/textureSword" index="0" unique_id=167399724]
|
||||
|
||||
[node name="hitbox" parent="." index="1" unique_id=175349408 node_paths=PackedStringArray("target")]
|
||||
position = Vector2(150, 0)
|
||||
rotation = 1.5707964
|
||||
position = Vector2(299.99997, 0.1221919)
|
||||
rotation = 0.00040731629
|
||||
shape = SubResource("CircleShape2D_1sgli")
|
||||
script = ExtResource("7_1sgli")
|
||||
target = NodePath("../texture/anchor/textureSword")
|
||||
|
||||
Reference in New Issue
Block a user