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/Gobo.tscn
T
fallingshrimp 4990a3e300 feat(角色): 添加Gobo角色及相关资源
添加Gobo角色,包括武器、召唤物和治疗导弹功能
- 新增Gobo角色模型和动画资源
- 实现Gobo武器系统,可召唤Gobo单位
- 添加治疗导弹功能,Gobo受伤时会发射治疗友军
- 优化实体基础类,添加生命值初始化方法
- 修改子弹伤害判定逻辑,支持友军伤害设置
2026-01-28 20:20:55 +08:00

40 lines
1.5 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 load_steps=4 format=3 uid="uid://blwoev5sencdh"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_0udcw"]
[ext_resource type="Script" uid="uid://cbg3xkg1giv35" path="res://scripts/Contents/Weapons/Gobo.gd" id="2_7yxbe"]
[ext_resource type="Texture2D" uid="uid://xen2edbhf052" path="res://resources/characters/gobo/gobo-a.svg" id="2_tw58e"]
[node name="Gobo" instance=ExtResource("1_0udcw")]
script = ExtResource("2_7yxbe")
avatarTexture = ExtResource("2_tw58e")
displayName = "Gobo"
quality = 4
typeTopic = 4
store = {
"atk": 50,
"health": 200,
"percent": 0.1
}
storeType = {
"atk": 1,
"health": 1,
"percent": 2
}
descriptionTemplate = "召唤[b]Gobo[/b]Gobo会自主行动,每受到$atk点伤害后会发射一枚[b]疗愈导弹[/b]。
[b]疗愈导弹[/b]命中障碍物或友军时对其产生Gobo剩余生命值×$percent点的治疗。
Gobo初始拥有$health点生命值。"
cooldown = 1000.0
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_tw58e")
[node name="name" parent="container/info" index="2"]
displayName = "Gobo"
quality = 4
typeTopic = 4
[node name="description" parent="container" index="2"]
text = "[center]召唤[b]Gobo[/b]Gobo会自主行动,每受到[color=cyan]50[/color]点伤害后会发射一枚[b]疗愈导弹[/b]。
[b]疗愈导弹[/b]命中障碍物或友军时对其产生Gobo剩余生命值×[color=cyan]10.0%[/color]点的治疗。
Gobo初始拥有[color=cyan]200[/color]点生命值。[/center]"