mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-06 03:37:13 +08:00
fdedca95b4
修改红水晶武器爆炸时生成的水晶碎片数量逻辑,从固定数量改为1~N随机数量 更新相关描述文本以反映新的随机数量机制
41 lines
1.6 KiB
Plaintext
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": 3,
|
|
"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
|
|
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]点伤害并向随机方向发射1~[color=cyan]3[/color]个[b]水晶碎片[/b],造成[color=cyan]50%[/color]基础伤害。[/center]"
|