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

feat(武器系统): 优化LGBT武器和召唤物行为

- 增加LGBT武器的冷却时间从0.1到1000
- 召唤物现在会继承召唤者位置
- 优化子弹追踪逻辑和生命周期
- 修复召唤物AI行为和玩家状态检测
- 调整召唤物属性和攻击冷却时间
This commit is contained in:
2025-11-06 22:42:01 +08:00
parent a273f644d2
commit 287f29695d
7 changed files with 26 additions and 17 deletions
+4 -4
View File
@@ -2,8 +2,8 @@
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_bnhy4"]
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="2_cnsbx"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/LGBTBullet.gd" id="2_iakgr"]
[ext_resource type="Script" path="res://scripts/Statemachine/LeadingMark.gd" id="3_rirwy"]
[ext_resource type="Script" uid="uid://b1y68fg5fwdnj" path="res://scripts/Contents/Bullets/LGBTBullet.gd" id="2_iakgr"]
[ext_resource type="Script" uid="uid://clyli5ui8nysk" path="res://scripts/Statemachine/LeadingMark.gd" id="3_rirwy"]
[sub_resource type="CircleShape2D" id="CircleShape2D_1e8f0"]
radius = 12.3693
@@ -80,7 +80,7 @@ alpha_curve = SubResource("CurveTexture_tnhr3")
[node name="LGBTBullet" instance=ExtResource("1_bnhy4")]
script = ExtResource("2_iakgr")
lifeTime = 2000.0
lifeTime = 5000.0
[node name="texture" parent="." index="0"]
rotation = 1.5708
@@ -99,5 +99,5 @@ process_material = SubResource("ParticleProcessMaterial_4q0mc")
[node name="particles2" type="GPUParticles2D" parent="." index="3"]
z_index = -1
amount = 30
process_material = SubResource("ParticleProcessMaterial_xktft")
texture = ExtResource("2_cnsbx")
process_material = SubResource("ParticleProcessMaterial_xktft")