mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
7a0cf96d7d
实现武器升华功能,包括: - 新增SublimateOption类处理升华选项 - 添加SublimateOptionHandler UI组件 - 在武器卡片中集成升华界面 - 重构武器描述生成逻辑 - 新增钻石资源消耗机制 - 优化UI布局和样式 - 修复多处类型引用错误
55 lines
2.3 KiB
Plaintext
55 lines
2.3 KiB
Plaintext
[gd_scene format=3 uid="uid://frwt0fgrpskb"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_xhgkg"]
|
|
[ext_resource type="Script" uid="uid://jr5idpte8epy" path="res://scripts/Contents/Weapons/Meowmere.gd" id="2_4rd12"]
|
|
[ext_resource type="Texture2D" uid="uid://cwr2pud7h8o3e" path="res://resources/bullets/meowmere/Meowmere.webp" id="2_kiocs"]
|
|
[ext_resource type="AudioStream" uid="uid://cx203jnrkto4u" path="res://resources/sounds/effect/swordshoot.wav" id="4_hvtvi"]
|
|
|
|
[node name="Meowmere" unique_id=1965287972 instance=ExtResource("1_xhgkg")]
|
|
script = ExtResource("2_4rd12")
|
|
avatarTexture = ExtResource("2_kiocs")
|
|
displayName = "彩虹猫之刃"
|
|
quality = 2
|
|
typeTopic = 3
|
|
costBeachball = 600
|
|
store = {
|
|
"atk": 5,
|
|
"childatk": 6.25,
|
|
"count": 1.0,
|
|
"reduce": 0.25
|
|
}
|
|
storeType = {
|
|
"atk": 1,
|
|
"childatk": 1,
|
|
"count": 1.0,
|
|
"reduce": 2
|
|
}
|
|
descriptionTemplate = "发射$count只伤害以$reduce衰减的造成$childatk点伤害的[b]彩虹猫[/b]的同时挥舞造成$atk点伤害。"
|
|
sources = Array[String](["Terraria"])
|
|
needEnergy = 2.0
|
|
cooldown = 230.0
|
|
|
|
[node name="attack" parent="sounds" parent_id_path=PackedInt32Array(1775425991) index="0" unique_id=853583292]
|
|
stream = ExtResource("4_hvtvi")
|
|
volume_db = 10.0
|
|
|
|
[node name="avatar" parent="container/info" parent_id_path=PackedInt32Array(1625294072) index="0" unique_id=1021985889]
|
|
texture = ExtResource("2_kiocs")
|
|
|
|
[node name="energy" parent="container/info/infos/energyInfo" parent_id_path=PackedInt32Array(644675021) index="1" unique_id=1664028115]
|
|
text = "2.0"
|
|
|
|
[node name="beachball" parent="container/info/infos" parent_id_path=PackedInt32Array(492799150) index="1" unique_id=653442983]
|
|
count = 600
|
|
|
|
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
|
|
displayName = "彩虹猫之刃"
|
|
quality = 2
|
|
typeTopic = 3
|
|
|
|
[node name="source" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="1" unique_id=365191794]
|
|
text = "Terraria"
|
|
|
|
[node name="description" parent="container/back/scroller" parent_id_path=PackedInt32Array(543588938) index="0" unique_id=566230682]
|
|
text = "发射[color=cyan]1[/color]只伤害以[color=cyan]25.0%[/color]衰减的造成[color=cyan]6[/color]点伤害的[b]彩虹猫[/b]的同时挥舞造成[color=cyan]5[/color]点伤害。"
|