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/ChainGun.tscn
T
fallingshrimp d0e3564933 feat(武器系统): 重构武器信息显示逻辑并添加新功能
重构武器卡片的信息显示逻辑,使用ItemShow组件替代原有Label显示
添加武器升级和镶嵌前的预览功能
为武器描述添加升级前后数值对比显示
新增FREQUENCY数据类型支持
统一子弹生命周期参数为lifeTime
2025-10-01 07:58:09 +08:00

36 lines
1.3 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dlaks67h2osms"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_x1nyl"]
[ext_resource type="Texture2D" uid="uid://ccxdfsg5071t4" path="res://resources/bullets/chain-gun/Chain_Gun.webp" id="2_ghn43"]
[ext_resource type="Script" path="res://scripts/Contents/Weapons/ChainGun.gd" id="2_ponmu"]
[node name="ChainGun" instance=ExtResource("1_x1nyl")]
script = ExtResource("2_ponmu")
avatarTexture = ExtResource("2_ghn43")
displayName = "链式机枪"
costBeachball = 400
store = {
"atk": 10,
"count": 1,
"split": 30
}
storeType = {
"atk": 1,
"count": 1,
"split": 1
}
descriptionTemplate = "以$split单位的间隔发射$count个[b]微型水晶[/b],可造成$atk点伤害。"
needEnergy = 2.0
cooldown = 50.0
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_ghn43")
[node name="name" parent="container/info" index="2"]
displayName = "链式机枪"
[node name="description" parent="container" index="2"]
text = "[center]以[color=cyan]30[/color]→[color=yellow]28[/color]单位的间隔发射[color=cyan]1[/color]→[color=yellow]1[/color]个[b]微型水晶[/b],可造成[color=cyan]10[/color]→[color=yellow]12[/color]点伤害。[/center]"