1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-28 14:32:30 +08:00

feat(武器): 添加鸡毛弓武器及相关箭矢功能

实现鸡毛弓武器系统,包括武器脚本、箭矢脚本和场景配置
修改实体伤害处理逻辑,分离普通伤害和子弹伤害方法
更新公鸡角色配置,添加鸡毛弓作为默认武器
This commit is contained in:
2025-11-16 17:22:40 +08:00
parent 152f75d551
commit ddd89f1334
13 changed files with 133 additions and 10 deletions
+5 -1
View File
@@ -1,11 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://c2ga3ktbxdfc5"]
[gd_scene load_steps=4 format=3 uid="uid://c2ga3ktbxdfc5"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_t0pyo"]
[ext_resource type="Texture2D" uid="uid://7us1po711e3o" path="res://resources/weapons/鸡毛弓.png" id="2_two1a"]
[ext_resource type="Script" uid="uid://dnnxxqpbpwohf" path="res://scripts/Contents/Bullets/Bow.gd" id="2_wtwgr"]
[node name="Bow" instance=ExtResource("1_t0pyo")]
script = ExtResource("2_wtwgr")
metadata/_edit_vertical_guides_ = [88.0]
[node name="static" type="Sprite2D" parent="texture" index="1"]
position = Vector2(150, 0)
scale = Vector2(0.055427626, 0.055427626)
texture = ExtResource("2_two1a")