1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-06 11:47:13 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/DaoStatue.tscn
T
fallingshrimp 7e90bd1c1c feat(武器): 新增道教石像武器及其相关效果
实现道教石像武器,包含以下功能:
- 添加天地之剑攻击逻辑,根据攻击速度、生命值和气层数计算伤害
- 新增无量斩子弹类型和特效
- 为公鸡角色添加新武器配置
- 更新相关动画和音效资源
2026-04-03 18:29:14 +08:00

51 lines
1.9 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://b3jn85pkl143b" path="res://resources/sounds/effect/Flash1.ogg" id="4_y3oaj"]
[node name="DaoStatue" unique_id=265403254 instance=ExtResource("1_mps21")]
script = ExtResource("2_c82g6")
avatarTexture = ExtResource("2_gx1sf")
displayName = "道教石像"
typeTopic = 1
store = {
"atk": 30,
"rate1": 0.02,
"rate2": 0.01,
"rate3": 0.1
}
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
命中时每拥有[color=yellow]1[/color]层[b]气[/b],伤害+$rate3"
cooldown = 3000.0
debugRebuild = true
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_y3oaj")
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_gx1sf")
[node name="name" parent="container/info" index="2"]
displayName = "道教石像"
typeTopic = 1
[node name="description" parent="container" index="2"]
text = "[center]挥出[b]天地之剑[/b],蓄力一段时间后,
发射一道[b]无量斩[/b],造成[color=cyan]30[/color]点伤害。
攻击速度每降低[color=yellow]1%[/color],伤害+[color=cyan]1.0%[/color]
每失去[color=yellow]1[/color]点生命值,伤害+[color=cyan]2.0%[/color]
命中时每拥有[color=yellow]1[/color]层[b]气[/b],伤害+[color=cyan]10.0%[/color][/center]"