1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-22 19:42:30 +08:00

feat(武器): 为火山武器添加幻影攻击功能

在火山武器的第4段攻击时发射多支火山幻影,造成额外伤害。修改了动画、伤害计算和武器描述,包括:
- 添加count和dmg5属性控制幻影数量和伤害
- 调整幻影动画效果和速度
- 更新武器描述模板和显示文本
This commit is contained in:
2025-11-22 16:36:59 +08:00
parent 0316387e73
commit 4a04c4ca01
5 changed files with 43 additions and 17 deletions
+14
View File
@@ -252,6 +252,20 @@ tracks/9/keys = {
"times": PackedFloat32Array(0, 0.6, 1.2, 1.45)
}
tracks/9/use_blend = true
tracks/10/type = "method"
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/path = NodePath("%texture/..")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/keys = {
"times": PackedFloat32Array(1.45),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"generateShadow"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_w1utg"]
_data = {
+5 -5
View File
@@ -44,7 +44,7 @@ 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.70000005), Color(1, 1, 1, 0.70000005), Color(1, 1, 1, 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
@@ -53,10 +53,10 @@ tracks/1/path = NodePath("static:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.1, 0.90000004, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"times": PackedFloat32Array(0, 0.1, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(0.8, 0.8), Vector2(0.8, 0.8), Vector2(0, 0)]
"values": [Vector2(0, 0), Vector2(1.5, 1.5), Vector2(0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_i7b6y"]
@@ -70,7 +70,7 @@ size = Vector2(76, 12)
[node name="VolcanoShadow" instance=ExtResource("1_4oiyn")]
script = ExtResource("2_i7b6y")
speed = 30.0
speed = 25.0
penerate = 1.0
penerateDamageReduction = 0.2
autoSpawnAnimation = true