1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/ChainGun.tscn
T
fallingshrimp 53db80ceb7 feat(武器): 重做链式机枪并添加音效
重构链式机枪的子弹生成逻辑,降低散射衰减系数
添加射击音效资源及导入配置
调整武器属性描述和数值
移除测试用的调试代码
2026-01-18 14:12:34 +08:00

45 lines
1.6 KiB
Plaintext

[gd_scene load_steps=5 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" uid="uid://dev0urlc13rxc" path="res://scripts/Contents/Weapons/ChainGun.gd" id="2_ponmu"]
[ext_resource type="AudioStream" uid="uid://bdcyao3e6xs63" path="res://resources/sounds/effect/chainshoot.wav" id="4_g38si"]
[node name="ChainGun" instance=ExtResource("1_x1nyl")]
script = ExtResource("2_ponmu")
avatarTexture = ExtResource("2_ghn43")
displayName = "链式机枪"
costBeachball = 400
store = {
"atk": 3,
"count": 1,
"split": 15
}
storeType = {
"atk": 1,
"count": 1,
"split": 3
}
descriptionTemplate = "超高速发射$count个[b]微型水晶[/b],可造成$atk点伤害,散射+$split。"
needEnergy = 0.75
cooldown = 66.0
debugRebuild = true
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_g38si")
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_ghn43")
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
text = "0.8"
[node name="beachball" parent="container/info/infos" index="1"]
count = 400
[node name="name" parent="container/info" index="2"]
displayName = "链式机枪"
[node name="description" parent="container" index="2"]
text = "[center]超高速发射[color=cyan]1[/color]个[b]微型水晶[/b],可造成[color=cyan]3[/color]点伤害,散射+[color=cyan]15.0°[/color]。[/center]"