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/DaoStatue.tscn
T
fallingshrimp 8d8f25976c feat(武器系统): 优化道像武器逻辑并调整能量消耗
- 将子弹过滤逻辑提取为独立方法 forceFilter
- 增加攻击前检查气力层的功能
- 降低武器能量需求从50改为25
- 更新武器描述文本以更准确反映机制
2026-04-05 07:50:24 +08:00

69 lines
3.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[gd_scene format=3 uid="uid://bbrllsqjmx0ie"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_mps21"]
[ext_resource type="Script" uid="uid://cu42bwm2r05p6" path="res://scripts/Contents/Weapons/DaoStatue.gd" id="2_c82g6"]
[ext_resource type="Texture2D" uid="uid://gwsychqkmv21" path="res://resources/weapons/Statue_Sword_Attack0.png" id="2_gx1sf"]
[ext_resource type="AudioStream" uid="uid://cer3lxbxqw5pq" path="res://resources/sounds/effect/sword1.mp3" id="4_y3oaj"]
[node name="DaoStatue" unique_id=265403254 instance=ExtResource("1_mps21")]
script = ExtResource("2_c82g6")
avatarTexture = ExtResource("2_gx1sf")
displayName = "道教石像"
typeTopic = 1
costBeachball = 499
store = {
"atk": 50,
"rate1": 0.05,
"rate2": 0.025,
"rate3": 0.01
}
storeType = {
"atk": 1,
"rate1": 2,
"rate2": 2,
"rate3": 2
}
descriptionTemplate = "挥出[b]天地之剑[/b],蓄力一段时间后,
发射一道[b]无量斩[/b],造成$atk点伤害。
攻击速度每降低[color=yellow]1%[/color],伤害+$rate2
每失去[color=yellow]1[/color]点生命值,伤害+$rate1
拥有的所有[b]气力[/b]层数之和,每化解[color=yellow]1[/color]点伤害,[b]无量斩[/b]的伤害+$rate3
每次攻击需要消耗至少[color=yellow]1[/color]层气力。"
sources = Array[String](["Nine Sols"])
tease = "天机不可泄露"
needEnergy = 25.0
cooldown = 4000.0
debugRebuild = true
[node name="attack" parent="sounds" parent_id_path=PackedInt32Array(1775425991) index="0" unique_id=853583292]
stream = ExtResource("4_y3oaj")
[node name="avatar" parent="container/info" parent_id_path=PackedInt32Array(1625294072) index="0" unique_id=1021985889]
texture = ExtResource("2_gx1sf")
[node name="energy" parent="container/info/infos/energyInfo" parent_id_path=PackedInt32Array(644675021) index="1" unique_id=1664028115]
text = "25.0"
[node name="beachball" parent="container/info/infos" parent_id_path=PackedInt32Array(492799150) index="1" unique_id=653442983]
count = 499
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
displayName = "道教石像"
typeTopic = 1
[node name="source" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="1" unique_id=365191794]
text = "Nine Sols"
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
text = "[center]挥出[b]天地之剑[/b],蓄力一段时间后,
发射一道[b]无量斩[/b],造成[color=cyan]50[/color]点伤害。
攻击速度每降低[color=yellow]1%[/color],伤害+[color=cyan]2.5%[/color]
每失去[color=yellow]1[/color]点生命值,伤害+[color=cyan]5.0%[/color]
拥有的所有[b]气力[/b]层数之和,每化解[color=yellow]1[/color]点伤害,[b]无量斩[/b]的伤害+[color=cyan]1.0%[/color]
每次攻击需要消耗至少[color=yellow]1[/color]层气力。[/center]"
[node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044]
text = "“天机不可泄露”"