1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-01 17:01:53 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/Arrow.tscn
T
fallingshrimp d3cc2f94c1 feat(子弹): 增强鸡毛箭和鸡毛弓效果
- 为 ChickSprint 子弹添加 atk 属性并调整伤害计算
- 猫角色攻击时设置 ChickSprint 子弹的 atk 为 0.2
- 调整 Bow 子弹的生成延迟和角度计算精度
- 将 Bow 的箭矢数量从 1 增加到 2
- 增强 Arrow 子弹的速度、射程和视觉效果
2025-11-17 22:38:06 +08:00

48 lines
1.6 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://wy8wqwhwr4fb"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_0wuio"]
[ext_resource type="Texture2D" uid="uid://dadbn306owsy3" path="res://resources/bullets/arrow/arrow.png" id="2_b2ohg"]
[ext_resource type="Script" uid="uid://u5x40y0cvqq2" path="res://scripts/Contents/Bullets/Arrow.gd" id="2_qddg0"]
[sub_resource type="Curve" id="Curve_uu3a4"]
_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_cawe8"]
curve = SubResource("Curve_uu3a4")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_afwvr"]
particle_flag_disable_z = true
direction = Vector3(-1, 0, 0)
spread = 0.0
initial_velocity_min = 3000.0
initial_velocity_max = 3000.0
gravity = Vector3(0, 0, 0)
alpha_curve = SubResource("CurveTexture_cawe8")
[sub_resource type="CircleShape2D" id="CircleShape2D_b2ohg"]
[node name="Arrow" instance=ExtResource("1_0wuio")]
script = ExtResource("2_qddg0")
displayName = "鸡毛箭"
speed = 50.0
penerate = 1.0
lifeDistance = 2000.0
[node name="static" type="Sprite2D" parent="texture" index="1"]
position = Vector2(0, -3)
scale = Vector2(0.06775362, 0.06775362)
texture = ExtResource("2_b2ohg")
[node name="trail" type="GPUParticles2D" parent="texture/static" index="0"]
z_index = -1
amount = 12
texture = ExtResource("2_b2ohg")
preprocess = 1.0
local_coords = true
process_material = SubResource("ParticleProcessMaterial_afwvr")
[node name="hitbox" parent="." index="1"]
position = Vector2(85, 0)
shape = SubResource("CircleShape2D_b2ohg")