1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/BigLaser.tscn
T
fallingshrimp 19e7d7691d refactor(武器系统): 调整武器数值显示格式和数据结构
统一武器数值显示格式,将浮点数显示为整数或保留两位小数。修改storeType从数组改为字典结构以提高可读性。调整部分武器参数平衡性,包括BigLaser的时间系数和LGBTWeapon的power增量。移除VectorStarWeapon的mincount升级逻辑。为所有武器组件添加debugRebuild标志和默认500点costBeachball值。在FieldShow.gd中新增INTEGER数据类型处理。更新武器描述模板中的数值格式化逻辑。
2025-09-06 16:11:59 +08:00

46 lines
1.5 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://cxabqjo7skxev"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_wrvv5"]
[ext_resource type="Script" path="res://scripts/Contents/Weapons/BigLaser.gd" id="2_gmch0"]
[ext_resource type="Texture2D" uid="uid://dy4op6n6vxef3" path="res://resources/bullets/laser-circle/circle.svg" id="2_qe8gb"]
[ext_resource type="AudioStream" uid="uid://b10u6iir6uvqn" path="res://resources/sounds/effect/BigLaser.wav" id="4_cb5nh"]
[node name="BigLaser" instance=ExtResource("1_wrvv5")]
script = ExtResource("2_gmch0")
avatarTexture = ExtResource("2_qe8gb")
displayName = "湮灭激光"
quality = 2
typeTopic = 1
store = {
"atk": 40,
"time": 0.1
}
storeType = {
"atk": 1,
"time": 0.0
}
descriptionTemplate = "每$time秒造成$atk点伤害。"
needEnergy = 100.0
cooldown = 6000.0
debugRebuild = true
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_cb5nh")
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_qe8gb")
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
text = "100.0"
[node name="beachball" parent="container/info/infos/beachballInfo" index="1"]
text = "500"
[node name="name" parent="container/info" index="2"]
displayName = "湮灭激光"
quality = 2
typeTopic = 1
[node name="description" parent="container" index="2"]
text = "[center]每[color=cyan]0.10[/color]秒造成[color=cyan]40[/color]点伤害。[/center]"