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/Pipe.tscn
T
fallingshrimp d1bf911c79 feat(武器): 添加钢管武器蓄力特效和音效
- 为钢管武器添加蓄力粒子效果
- 新增钢管落地音效资源
- 修改钢管子弹碰撞形状为圆形
- 添加钢管武器能量消耗和冷却时间配置
- 实现钢管子弹销毁时的落地效果
2026-02-05 20:26:47 +08:00

38 lines
1.3 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dyanyf044boxp"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_sqbqm"]
[ext_resource type="Texture2D" uid="uid://7yeb0e4ahcee" path="res://resources/weapons/pipe.png" id="2_mmtf8"]
[ext_resource type="Script" uid="uid://l1v3boq8ei12" path="res://scripts/Contents/Weapons/Pipe.gd" id="2_p67v7"]
[node name="Pipe" instance=ExtResource("1_sqbqm")]
script = ExtResource("2_p67v7")
avatarTexture = ExtResource("2_mmtf8")
displayName = "钢管"
costBeachball = 350
chargable = true
store = {
"atk": 5,
"charge": 0.1
}
storeType = {
"atk": 1,
"charge": 2
}
descriptionTemplate = "按住蓄力扔出钢管,蓄力越久伤害越高。
基础伤害:$atk,蓄力倍率:$charge"
needEnergy = 2.0
cooldown = 1000.0
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_mmtf8")
[node name="beachball" parent="container/info/infos" index="1"]
count = 350
[node name="name" parent="container/info" index="2"]
displayName = "钢管"
[node name="description" parent="container" index="2"]
text = "[center]按住蓄力扔出钢管,蓄力越久伤害越高。
基础伤害:[color=cyan]5[/color],蓄力倍率:[color=cyan]10.0%[/color][/center]"