1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-24 20:42:30 +08:00

feat(战斗系统): 添加内伤机制和爆炸类型子弹

为子弹系统添加新的爆炸类型(MotionType.EXPLOSION)
实现内伤机制,包括内伤子弹和相关逻辑
修改多个子弹场景以使用爆炸类型
调整格挡系统,增加内伤效果
更新武器描述和角色配置
This commit is contained in:
2026-05-09 19:43:44 +08:00
parent a6448813b8
commit 8b14e36031
16 changed files with 138 additions and 57 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://c0oc8aqfef0tt"]
[gd_scene format=3 uid="uid://c0oc8aqfef0tt"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_k4d80"]
[ext_resource type="Script" uid="uid://bv848wj2ko0y0" path="res://scripts/Contents/Bullets/RedCrystal.gd" id="2_llvlo"]
@@ -15,13 +15,14 @@ animations = [{
"speed": 5.0
}]
[node name="RedCrystal" instance=ExtResource("1_k4d80")]
[node name="RedCrystal" unique_id=1424825822 instance=ExtResource("1_k4d80")]
script = ExtResource("2_llvlo")
displayName = "红水晶"
speed = 8.0
motionType = 7
lifeTime = 3000.0
metadata/_edit_vertical_guides_ = [150.0]
[node name="texture" parent="." index="0"]
[node name="texture" parent="." index="0" unique_id=162977358]
modulate = Color(1.2892731, 0.44830602, 0.44830602, 1)
sprite_frames = SubResource("SpriteFrames_ns31y")