1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-26 13:32:29 +08:00

refactor(武器系统): 调整水晶武器伤害计算和子弹行为

重构蓝水晶和紫水晶武器的伤害计算方式,将蓝水晶的基础伤害从3降至2
移除紫水晶子弹的分裂和折射功能,将其逻辑移至BulletBase基类
更新相关场景文件中的显示文本和配置参数
调整角色初始武器配置,移除无用音效资源
This commit is contained in:
2025-12-13 10:55:02 +08:00
parent 698b5a5618
commit 33b2b16b70
7 changed files with 47 additions and 43 deletions
+7 -3
View File
@@ -1,8 +1,9 @@
[gd_scene load_steps=4 format=3 uid="uid://c3crr8r7y3oho"]
[gd_scene load_steps=5 format=3 uid="uid://c3crr8r7y3oho"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_rlc3s"]
[ext_resource type="Texture2D" uid="uid://cp4ypuarjoshp" path="res://resources/skillIcons/purple-crystal.png" id="2_4qqa7"]
[ext_resource type="Script" uid="uid://8xlc5upq36n7" path="res://scripts/Contents/Weapons/BlueCrystal.gd" id="2_jbcf8"]
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="4_fewtg"]
[node name="BlueCrystal" instance=ExtResource("1_rlc3s")]
script = ExtResource("2_jbcf8")
@@ -10,7 +11,7 @@ avatarTexture = ExtResource("2_4qqa7")
displayName = "蓝水晶簇"
quality = 2
store = {
"atk": 3,
"atk": 2,
"count": 2.0
}
storeType = {
@@ -21,6 +22,9 @@ storeType = {
descriptionTemplate = "发射[b]蓝水晶[/b],可无限追踪,命中造成$atk点伤害,飞行过程中有$count颗[b]钻石[/b]环绕。"
cooldown = 200.0
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_fewtg")
[node name="avatar" parent="container/info" index="0"]
modulate = Color(0.828, 1.53, 1.549, 1)
texture = ExtResource("2_4qqa7")
@@ -36,4 +40,4 @@ displayName = "蓝水晶簇"
quality = 2
[node name="description" parent="container" index="2"]
text = "[center]发射[b]蓝水晶[/b],可无限追踪,命中造成[color=cyan]5[/color]点伤害,飞行过程中有[color=cyan]2[/color]颗[b]钻石[/b]环绕。[/center]"
text = "[center]发射[b]蓝水晶[/b],可无限追踪,命中造成[color=cyan]2[/color]点伤害,飞行过程中有[color=cyan]2[/color]颗[b]钻石[/b]环绕。[/center]"