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

refactor(子弹): 统一使用baseDamage字段并调整伤害值

修复多个子弹场景中的damage字段为baseDamage
调整部分子弹的伤害值和属性
删除不再使用的Pencil子弹场景
更新动画库引用格式为&前缀
优化部分子弹的碰撞体积和材质
This commit is contained in:
2025-11-22 09:17:59 +08:00
parent 3d74682965
commit 85c4eac2aa
10 changed files with 64 additions and 196 deletions
+8 -6
View File
@@ -1,7 +1,7 @@
[gd_scene load_steps=11 format=3 uid="uid://8ayxqglkc2nm"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_h0611"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd" id="2_0kdtj"]
[ext_resource type="Script" uid="uid://s4x12fc67qyf" path="res://scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd" id="2_0kdtj"]
[ext_resource type="Texture2D" uid="uid://0w8sebsqjb7a" path="res://resources/bullets/light-express/Sun_Dance.webp" id="2_rqhmg"]
[sub_resource type="Gradient" id="Gradient_ep4dl"]
@@ -109,10 +109,10 @@ tracks/2/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fv2s4"]
_data = {
"RESET": SubResource("Animation_n0ppl"),
"destroy": SubResource("Animation_oinqg"),
"loop": SubResource("Animation_ynxlt"),
"spawn": SubResource("Animation_kmogx")
&"RESET": SubResource("Animation_n0ppl"),
&"destroy": SubResource("Animation_oinqg"),
&"loop": SubResource("Animation_ynxlt"),
&"spawn": SubResource("Animation_kmogx")
}
[node name="SunDance" instance=ExtResource("1_h0611")]
@@ -121,12 +121,14 @@ scale = Vector2(1e-05, 1e-05)
script = ExtResource("2_0kdtj")
allColor = SubResource("GradientTexture1D_ikq3n")
displayName = "太阳舞"
baseDamage = 1.0
penerate = 1.0
autoSpawnAnimation = true
freeAfterSpawn = true
[node name="animator" parent="texture" index="0"]
libraries = {
"": SubResource("AnimationLibrary_fv2s4")
&"": SubResource("AnimationLibrary_fv2s4")
}
[node name="leave1" type="Sprite2D" parent="texture" index="1"]