1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 20:57:13 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/RedCrystal.tscn
T
fallingshrimp 9cc5c7bd94 feat(武器系统): 为红水晶武器添加水晶碎片弹射效果
新增水晶碎片子弹类型,当红水晶爆炸时会向随机方向发射碎片
修改红水晶武器配置,添加碎片数量和伤害百分比属性
更新武器描述以反映新功能
2025-12-17 22:21:10 +08:00

41 lines
1.6 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dt8w2w816tsj0"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_88g2h"]
[ext_resource type="Texture2D" uid="uid://s8r37cmth6o8" path="res://resources/weapons/red-crystal.png" id="2_3e8g7"]
[ext_resource type="Script" uid="uid://dmsjasfucknxq" path="res://scripts/Contents/Weapons/RedCrystal.gd" id="2_wfewu"]
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="4_qt0vq"]
[node name="RedCrystal" instance=ExtResource("1_88g2h")]
script = ExtResource("2_wfewu")
avatarTexture = ExtResource("2_3e8g7")
displayName = "红水晶簇"
typeTopic = 1
store = {
"atk": 45,
"count": 1,
"percent": 0.5,
"radius": 150.0
}
storeType = {
"atk": 1,
"count": 1,
"percent": 2,
"radius": 1
}
descriptionTemplate = "发射[b]红水晶[/b],在3秒后以$radius的半径爆炸,造成$atk点伤害并向随机方向发射$count个[b]水晶碎片[/b],造成$percent基础伤害。"
cooldown = 1000.0
debugRebuild = true
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_qt0vq")
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_3e8g7")
[node name="name" parent="container/info" index="2"]
displayName = "红水晶簇"
typeTopic = 1
[node name="description" parent="container" index="2"]
text = "[center]发射[b]红水晶[/b],在3秒后以[color=cyan]150[/color]的半径爆炸,造成[color=cyan]45[/color]点伤害并向随机方向发射[color=cyan]1[/color]个[b]水晶碎片[/b],造成[color=cyan]50%[/color]基础伤害。[/center]"