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:
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_8udva"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfptmc7clhtx7" path="res://resources/bullets/diamond/frames/0.svg" id="2_txmup"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Diamond.gd" id="2_yxtyj"]
|
||||
[ext_resource type="Script" uid="uid://d3bvwks7ty3af" path="res://scripts/Contents/Bullets/Diamond.gd" id="2_yxtyj"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_oj6iy"]
|
||||
animations = [{
|
||||
@@ -67,7 +67,7 @@ point_count = 2
|
||||
curve = SubResource("Curve_msxpa")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_evx5y"]
|
||||
max_value = 2.0
|
||||
_limits = [0.0, 2.0, 0.0, 1.0]
|
||||
_data = [Vector2(0, 1.0014), 0.0, 0.0, 0, 0, Vector2(1, 2), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
@@ -92,6 +92,7 @@ alpha_curve = SubResource("CurveTexture_diybr")
|
||||
[node name="Diamond" instance=ExtResource("1_8udva")]
|
||||
script = ExtResource("2_yxtyj")
|
||||
displayName = "冰钻石"
|
||||
baseDamage = 3.0
|
||||
lifeTime = 5000.0
|
||||
indisDamage = true
|
||||
|
||||
@@ -100,13 +101,13 @@ sprite_frames = SubResource("SpriteFrames_oj6iy")
|
||||
|
||||
[node name="particles" type="GPUParticles2D" parent="texture" index="1"]
|
||||
amount = 50
|
||||
process_material = SubResource("ParticleProcessMaterial_q4mpr")
|
||||
lifetime = 0.5
|
||||
process_material = SubResource("ParticleProcessMaterial_q4mpr")
|
||||
|
||||
[node name="particles2" type="GPUParticles2D" parent="texture" index="2"]
|
||||
amount = 4
|
||||
process_material = SubResource("ParticleProcessMaterial_fcn04")
|
||||
texture = ExtResource("2_txmup")
|
||||
process_material = SubResource("ParticleProcessMaterial_fcn04")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
visible = false
|
||||
|
||||
Reference in New Issue
Block a user