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

refactor(武器系统): 重构VectorStar武器和子弹逻辑

调整VectorStar子弹的移动逻辑,移除forwarded变量并优化速度计算
修改VectorStar武器的属性计算公式,调整基础值和成长系数
更新VectorStar场景配置,调整攻击力、冷却时间等参数
将Rooster角色的默认武器替换为VectorStar
This commit is contained in:
2025-12-22 15:37:24 +08:00
parent 92cedf08b6
commit 747b057b22
5 changed files with 20 additions and 25 deletions
+10 -5
View File
@@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://bb1uh8k7gkhr7"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_tmgup"]
[ext_resource type="Script" path="res://scripts/Contents/Weapons/VectorStarWeapon.gd" id="2_1dfg4"]
[ext_resource type="Script" uid="uid://bqalhq6akgpoc" path="res://scripts/Contents/Weapons/VectorStarWeapon.gd" id="2_1dfg4"]
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="3_wfty8"]
[node name="VectorStar" instance=ExtResource("1_tmgup")]
@@ -11,8 +11,8 @@ displayName = "矢量核心"
quality = 2
costBeachball = 400
store = {
"atk": 7,
"forwardtime": 0.75,
"atk": 10,
"forwardtime": 1.0,
"maxcount": 10,
"mincount": 5
}
@@ -24,16 +24,21 @@ storeType = {
}
descriptionTemplate = "发射$mincount~$maxcount个[b]无主的飞星[/b],在$forwardtime秒后向目标冲刺并造成$atk点伤害。"
needEnergy = 5.0
cooldown = 500.0
cooldown = 750.0
debugRebuild = true
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("3_wfty8")
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
text = "5.0"
[node name="beachball" parent="container/info/infos" index="1"]
count = 400
[node name="name" parent="container/info" index="2"]
displayName = "矢量核心"
quality = 2
[node name="description" parent="container" index="2"]
text = "[center]发射[color=cyan]5[/color]→[color=yellow]5[/color]~[color=cyan]10[/color]→[color=yellow]11[/color]个[b]无主的飞星[/b],在[color=cyan]0.75[/color]→[color=yellow]0.71[/color]秒后向目标冲刺并造成[color=cyan]7[/color]→[color=yellow]12[/color]点伤害。[/center]"
text = "[center]发射[color=cyan]5[/color]~[color=cyan]10[/color]个[b]无主的飞星[/b],在[color=cyan]1.00[/color]秒后向目标冲刺并造成[color=cyan]10[/color]点伤害。[/center]"