mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
7f52f4b805
移除火扫弹的独立脚本和火罐效果,改为直接在子弹中实现 火山武器改为三段伤害机制并调整基础伤害值 添加子弹基础伤害乘数数组支持多段伤害 更新相关场景和资源配置以匹配新机制
98 lines
2.6 KiB
Plaintext
98 lines
2.6 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://db2cbgyyjpydp"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_cqre5"]
|
|
[ext_resource type="PackedScene" uid="uid://dny25qkcvtaa2" path="res://components/Effects/FirePot.tscn" id="3_ybjor"]
|
|
|
|
[sub_resource type="Animation" id="Animation_ybjor"]
|
|
resource_name = "spawn"
|
|
step = 0.05
|
|
tracks/0/type = "method"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("%texture/../firePot")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"shot"
|
|
}]
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("%hitbox:position:x")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0, 1),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0, 250, 500, 0, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 1)
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("%texture/..:damage")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [15.0, 0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ikuic"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("%hitbox:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("%texture/..:damage")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [10.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ikuic"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_ikuic"),
|
|
&"spawn": SubResource("Animation_ybjor")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4qcsn"]
|
|
size = Vector2(10, 100)
|
|
|
|
[node name="FireScan" instance=ExtResource("1_cqre5")]
|
|
displayName = "雪葬"
|
|
penerate = 1.0
|
|
autoSpawnAnimation = true
|
|
freeAfterSpawn = true
|
|
metadata/_edit_vertical_guides_ = [488.0]
|
|
|
|
[node name="animator" parent="texture" index="0"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_ikuic")
|
|
}
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
shape = SubResource("RectangleShape2D_4qcsn")
|
|
|
|
[node name="firePot" parent="." index="2" instance=ExtResource("3_ybjor")]
|