mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-26 21:42:29 +08:00
feat(武器系统): 新增红水晶武器及相关资源
添加红水晶武器系统,包括武器、子弹、特效和音效资源 - 新增红水晶武器脚本及场景,实现爆炸伤害功能 - 添加红水晶子弹逻辑,支持半径爆炸效果 - 加入红水晶爆炸特效和音效 - 更新角色武器库包含红水晶武器 - 调整现有水晶武器描述和数值 - 扩展子弹基类支持首帧回调 - 更新特效控制器支持音效播放等待
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
script = ExtResource("2_jbcf8")
|
||||
avatarTexture = ExtResource("3_fewtg")
|
||||
displayName = "蓝水晶簇"
|
||||
quality = 2
|
||||
typeTopic = 3
|
||||
store = {
|
||||
"atk": 5,
|
||||
"atk": 3,
|
||||
"count": 2.0
|
||||
}
|
||||
storeType = {
|
||||
@@ -30,7 +30,7 @@ texture = ExtResource("3_fewtg")
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "蓝水晶簇"
|
||||
quality = 2
|
||||
typeTopic = 3
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]发射[b]蓝水晶[/b],可无限追踪,命中造成[color=cyan]2[/color]点伤害,飞行过程中有[color=cyan]2[/color]颗[b]钻石[/b]环绕。[/center]"
|
||||
text = "[center]发射[b]蓝水晶[/b],可无限追踪,命中造成[color=cyan]5[/color]点伤害,飞行过程中有[color=cyan]2[/color]颗[b]钻石[/b]环绕。[/center]"
|
||||
|
||||
@@ -11,8 +11,9 @@ script = ExtResource("2_0xgcv")
|
||||
avatarTexture = ExtResource("2_wgtcw")
|
||||
displayName = "紫水晶簇"
|
||||
costBeachball = 200
|
||||
descriptionTemplate = "撞击造成$atk点伤害。"
|
||||
descriptionTemplate = "发射[b]紫水晶[/b],撞击时造成$atk点伤害。"
|
||||
cooldown = 200.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="attack" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_16daa")
|
||||
@@ -21,10 +22,10 @@ stream = ExtResource("4_16daa")
|
||||
texture = ExtResource("2_wgtcw")
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 250
|
||||
count = 200
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "紫水晶簇"
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]撞击造成[color=cyan]10[/color]点伤害。[/center]"
|
||||
text = "[center]发射[b]紫水晶[/b],撞击时造成[color=cyan]10[/color]点伤害。[/center]"
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
[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": 40,
|
||||
"radius": 150.0
|
||||
}
|
||||
storeType = {
|
||||
"atk": 1,
|
||||
"radius": 1
|
||||
}
|
||||
descriptionTemplate = "发射[b]红水晶[/b],在3秒后以$radius的半径爆炸,造成$atk点伤害。"
|
||||
cooldown = 2000.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]40[/color]点伤害。[/center]"
|
||||
Reference in New Issue
Block a user