mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-03 08:42:13 +08:00
feat(武器系统): 优化LGBT武器和召唤物行为
- 增加LGBT武器的冷却时间从0.1到1000 - 召唤物现在会继承召唤者位置 - 优化子弹追踪逻辑和生命周期 - 修复召唤物AI行为和玩家状态检测 - 调整召唤物属性和攻击冷却时间
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -6,3 +6,5 @@
|
||||
[node name="LGBTFlag" instance=ExtResource("1_fktqv")]
|
||||
script = ExtResource("2_6d456")
|
||||
attraction = 0.5
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
|
||||
@@ -29,7 +29,7 @@ storeType = {
|
||||
}
|
||||
descriptionTemplate = "每$angle发射1/$count条以$power效率追踪$trace秒的[b]七彩光标[/b],每条造成$atk点伤害。"
|
||||
needEnergy = 25.0
|
||||
cooldown = 0.1
|
||||
cooldown = 1000.0
|
||||
|
||||
[node name="attack" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_c5xse")
|
||||
|
||||
Reference in New Issue
Block a user