mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-26 13:32:29 +08:00
feat(武器系统): 添加核弹武器及相关资源
实现核弹武器功能,包括: - 添加核弹控制器武器脚本和场景 - 实现核弹子弹逻辑和爆炸效果 - 添加相关图片、音效资源 - 更新角色武器库包含核弹 - 调整武器名称颜色配置
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b2qhes4apaxsj"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_k4t0h"]
|
||||
[ext_resource type="Texture2D" uid="uid://cp57lmeohvo3o" path="res://resources/weapons/nuclear-bomb.png" id="2_5nh8i"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Weapons/NuclearBomb.gd" id="2_hscw2"]
|
||||
|
||||
[node name="NuclearBomb" instance=ExtResource("1_k4t0h")]
|
||||
script = ExtResource("2_hscw2")
|
||||
avatarTexture = ExtResource("2_5nh8i")
|
||||
displayName = "核弹控制器"
|
||||
quality = 4
|
||||
typeTopic = 2
|
||||
costBeachball = 100
|
||||
store = {
|
||||
"atk": 20,
|
||||
"radius": 1000.0
|
||||
}
|
||||
storeType = {
|
||||
"atk": 1,
|
||||
"radius": 1
|
||||
}
|
||||
descriptionTemplate = "倒计时10秒后对半径$radius范围的实体造成$atk点[b]无差别伤害[/b]。"
|
||||
needEnergy = 200.0
|
||||
cooldown = 1000.0
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_5nh8i")
|
||||
|
||||
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
|
||||
text = "200.0"
|
||||
|
||||
[node name="beachball" parent="container/info/infos/beachballInfo" index="1"]
|
||||
text = "100"
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "核弹控制器"
|
||||
quality = 4
|
||||
typeTopic = 2
|
||||
typeTopicColorMap = {
|
||||
0: Color(1, 1, 1, 1),
|
||||
1: Color(0, 0.708754, 1, 1),
|
||||
2: Color(1, 0.274813, 0, 1),
|
||||
3: Color(0.707984, 0, 1, 1)
|
||||
}
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]倒计时10秒后对半径[color=cyan]1000[/color]→[color=yellow]1020[/color]范围的实体造成[color=cyan]20[/color]→[color=yellow]45[/color]点[b]无差别伤害[/b]。[/center]"
|
||||
Reference in New Issue
Block a user