mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-03 09:51:53 +08:00
feat(战斗系统): 添加箭矢命中效果并调整弓箭伤害
- 为箭矢添加命中时的血液粒子效果和音效 - 将弓箭的基础伤害从3降低到2 - 更新弓箭描述文本以反映伤害调整
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://mtenc2b01vau"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bcvuuy2m0pke0" path="res://components/Abstracts/EffectBase.tscn" id="1_yjqwo"]
|
||||
[ext_resource type="AudioStream" uid="uid://23ttwefh4ej2" path="res://resources/sounds/effect/arrowshot.mp3" id="2_joko4"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_yjqwo"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_joko4"]
|
||||
curve = SubResource("Curve_yjqwo")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_yjqwo"]
|
||||
colors = PackedColorArray(0.4321134, 0.4321134, 0.4321134, 1, 1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_joko4"]
|
||||
gradient = SubResource("Gradient_yjqwo")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_er1y0"]
|
||||
_data = [Vector2(0.8, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_uam1u"]
|
||||
curve = SubResource("Curve_er1y0")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_yjqwo"]
|
||||
particle_flag_disable_z = true
|
||||
spread = 20.0
|
||||
initial_velocity_max = 200.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
damping_max = 100.00001
|
||||
scale_min = 2.0
|
||||
scale_max = 5.0
|
||||
scale_curve = SubResource("CurveTexture_uam1u")
|
||||
color = Color(1, 0, 0, 1)
|
||||
color_initial_ramp = SubResource("GradientTexture1D_joko4")
|
||||
alpha_curve = SubResource("CurveTexture_joko4")
|
||||
|
||||
[node name="ShootBlood" instance=ExtResource("1_yjqwo")]
|
||||
spawnSound = "spawn"
|
||||
|
||||
[node name="spawn" parent="sounds" index="0"]
|
||||
stream = ExtResource("2_joko4")
|
||||
volume_db = 10.0
|
||||
|
||||
[node name="particles" parent="." index="1"]
|
||||
visible = false
|
||||
amount = 50
|
||||
process_material = SubResource("ParticleProcessMaterial_yjqwo")
|
||||
Reference in New Issue
Block a user