1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-25 21:12:29 +08:00

refactor(VolcanoShadow): 简化子弹AI逻辑并调整属性

feat(WhiteSoul): 提高基础攻击力至15点
refactor(Volcano): 调整伤害计算公式
refactor(VolcanoShadow.tscn): 优化场景配置并移除冗余动画
This commit is contained in:
2026-04-12 16:29:59 +08:00
parent 195d4091c2
commit a69c0b735e
4 changed files with 21 additions and 77 deletions
+14 -68
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://doytyuk72vr74"]
[gd_scene format=3 uid="uid://doytyuk72vr74"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_4oiyn"]
[ext_resource type="Texture2D" uid="uid://ctmxadaowx5ps" path="res://resources/weapons/Volcano.webp" id="2_668mx"]
@@ -6,86 +6,32 @@
[sub_resource type="Animation" id="Animation_i7b6y"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("static:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("static:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_668mx"]
resource_name = "spawn"
step = 0.05
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("static:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.90000004, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0.5), Color(1, 1, 1, 0.5), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("static:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(1.5, 1.5), Vector2(0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_i7b6y"]
_data = {
&"RESET": SubResource("Animation_i7b6y"),
&"spawn": SubResource("Animation_668mx")
&"RESET": SubResource("Animation_i7b6y")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_668mx"]
size = Vector2(76, 12)
size = Vector2(192, 50)
[node name="VolcanoShadow" instance=ExtResource("1_4oiyn")]
[node name="VolcanoShadow" unique_id=1512282051 instance=ExtResource("1_4oiyn")]
script = ExtResource("2_i7b6y")
speed = 25.0
penerate = 0.35
penerateDamageReduction = 0.2
autoSpawnAnimation = true
freeAfterSpawn = true
penerate = 0.85
penerateDamageReduction = 0.1
lifeTime = 2000.0
[node name="texture" parent="." index="0"]
[node name="texture" parent="." index="0" unique_id=162977358]
rotation = 0.7853982
[node name="animator" parent="texture" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_i7b6y")
}
[node name="animator" parent="texture" index="0" unique_id=1114087117]
libraries/ = SubResource("AnimationLibrary_i7b6y")
[node name="static" type="Sprite2D" parent="texture" index="1"]
[node name="static" type="Sprite2D" parent="texture" index="1" unique_id=1656204664]
modulate = Color(1, 1, 1, 0.5)
scale = Vector2(2, 2)
texture = ExtResource("2_668mx")
[node name="hitbox" parent="." index="1"]
[node name="hitbox" parent="." index="1" unique_id=175349408]
shape = SubResource("RectangleShape2D_668mx")