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/MushroomPickaxe.tscn
T
fallingshrimp d0e3564933 feat(武器系统): 重构武器信息显示逻辑并添加新功能
重构武器卡片的信息显示逻辑,使用ItemShow组件替代原有Label显示
添加武器升级和镶嵌前的预览功能
为武器描述添加升级前后数值对比显示
新增FREQUENCY数据类型支持
统一子弹生命周期参数为lifeTime
2025-10-01 07:58:09 +08:00

36 lines
1.3 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dwsyn746hr25d"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_aoaad"]
[ext_resource type="Script" path="res://scripts/Contents/Weapons/MushroomPickaxe.gd" id="2_5dp3e"]
[ext_resource type="Texture2D" uid="uid://cqg0aluvegqfe" path="res://resources/bullets/MushroomPickaxe/frames/Shroomite_Digging_Claw.webp" id="2_u2d30"]
[node name="MushroomPickaxe" instance=ExtResource("1_aoaad")]
script = ExtResource("2_5dp3e")
avatarTexture = ExtResource("2_u2d30")
displayName = "蘑菇矿挖爪"
costBeachball = 750
store = {
"atk": 1,
"count": 5.0,
"rate": 0.15
}
storeType = {
"atk": 1,
"count": 1,
"rate": 2
}
descriptionTemplate = "命中时造成$atk点伤害,有$rate概率挖出1~$count个随机物品。"
needEnergy = 2.0
debugRebuild = true
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_u2d30")
[node name="name" parent="container/info" index="2"]
displayName = "蘑菇矿挖爪"
[node name="description" parent="container" index="2"]
text = "[center]命中时造成[color=cyan]1[/color]→[color=yellow]2[/color]点伤害,有[color=cyan]15%[/color]→[color=yellow]19%[/color]概率挖出1~[color=cyan]5[/color]→[color=yellow]6[/color]个随机物品。[/center]"