1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/RedCrystal.tscn
T
fallingshrimp 4302055086 refactor(武器卡片): 重构武器卡片节点结构,将名称节点移至displays容器
统一将武器卡片的名称节点从container/info移动到container/info/displays容器中,提高代码组织性
同时清理了部分调试属性和冗余代码,更新了部分武器的来源信息
2026-04-04 09:03:58 +08:00

44 lines
1.7 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
costBeachball = 400
store = {
"atk": 30,
"count": 2,
"percent": 0.5,
"radius": 150.0
}
storeType = {
"atk": 1,
"count": 1,
"percent": 2,
"radius": 1
}
descriptionTemplate = "发射[b]红水晶[/b],在3秒后以$radius的半径爆炸,造成$atk点伤害并向随机方向发射1~$count个[b]水晶碎片[/b],造成$percent基础伤害。"
cooldown = 1000.0
[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="beachball" parent="container/info/infos" index="1"]
count = 400
[node name="name" parent="container/info/displays" index="0"]
displayName = "红水晶簇"
typeTopic = 1
[node name="description" parent="container" index="2"]
text = "[center]发射[b]红水晶[/b],在3秒后以[color=cyan]150[/color]的半径爆炸,造成[color=cyan]45[/color]点伤害并向随机方向发射1~[color=cyan]3[/color]个[b]水晶碎片[/b],造成[color=cyan]50%[/color]基础伤害。[/center]"