mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-27 14:02:29 +08:00
feat(子弹): 新增狐狸爪子弹及其相关功能
添加FoxZhua子弹类型,包含追踪功能 修改FireScan子弹伤害计算方式为基于距离百分比 扩展BulletBase添加原始伤害和距离计算功能 更新Chick角色使用新子弹和调整攻击逻辑 调整Wave生成逻辑添加Boss检测功能 优化FirePot粒子效果和参数
This commit is contained in:
@@ -43,15 +43,15 @@ animations = [{
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_x766l"]
|
||||
size = Vector2(57, 62)
|
||||
size = Vector2(57, 114)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_w0sit"]
|
||||
radius = 37.054016
|
||||
radius = 61.03278
|
||||
|
||||
[node name="Chick" instance=ExtResource("1_goqmy")]
|
||||
script = ExtResource("2_r6bub")
|
||||
isBoss = true
|
||||
displayName = "小鸡"
|
||||
displayName = "狐狸"
|
||||
drops = Array[int]([0, 1])
|
||||
dropCounts = Array[Vector2]([Vector2(10, 30), Vector2(15, 50)])
|
||||
appleCount = Vector2i(2, 4)
|
||||
@@ -78,28 +78,31 @@ sprite_frames = SubResource("SpriteFrames_xji3d")
|
||||
animation = &"walk"
|
||||
|
||||
[node name="staticAnimation" parent="texture" index="1"]
|
||||
position = Vector2(0, -39)
|
||||
scale = Vector2(0.42847547, 0.42847547)
|
||||
position = Vector2(0, -94)
|
||||
scale = Vector2(0.72807497, 0.72807497)
|
||||
sprite_frames = SubResource("SpriteFrames_x766l")
|
||||
animation = &"idle"
|
||||
|
||||
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
||||
position = Vector2(-0.5, -51)
|
||||
position = Vector2(-0.5, -113)
|
||||
shape = SubResource("RectangleShape2D_x766l")
|
||||
|
||||
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
|
||||
position = Vector2(73, -76)
|
||||
position = Vector2(117, -149)
|
||||
shape = SubResource("CircleShape2D_w0sit")
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
position = Vector2(79, -63)
|
||||
position = Vector2(134, -130)
|
||||
|
||||
[node name="firepot" parent="texture/weapons/normal" index="0" instance=ExtResource("6_kvx3n")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="foot" type="Node2D" parent="texture/weapons" index="1"]
|
||||
position = Vector2(56, 28)
|
||||
|
||||
[node name="trailParticle" parent="texture" index="7"]
|
||||
position = Vector2(1, -50)
|
||||
|
||||
[node name="statebar" parent="." index="4" node_paths=PackedStringArray("entity")]
|
||||
position = Vector2(0, -167)
|
||||
position = Vector2(0, -294)
|
||||
entity = NodePath("..")
|
||||
|
||||
Reference in New Issue
Block a user