mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-23 12:02:30 +08:00
fix(Bullets): 修正紫色水晶子弹分裂时的旋转角度计算
refactor(Wave): 移除重复的Chick boss生成配置
This commit is contained in:
@@ -10,7 +10,7 @@ func split(index, total, _last):
|
|||||||
preload("res://components/Bullets/PurpleCrystal.tscn"),
|
preload("res://components/Bullets/PurpleCrystal.tscn"),
|
||||||
launcher,
|
launcher,
|
||||||
position,
|
position,
|
||||||
deg_to_rad(360 / total * index),
|
rotation + deg_to_rad(360 / total * index),
|
||||||
true,
|
true,
|
||||||
isChildRefract
|
isChildRefract
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ static var data: Array[Wave] = [
|
|||||||
# entity, minCount, maxCount, isBoss, from, to, per
|
# entity, minCount, maxCount, isBoss, from, to, per
|
||||||
create(preload("res://components/Characters/Hen.tscn"), 1, 5, false, 0, INF, 1),
|
create(preload("res://components/Characters/Hen.tscn"), 1, 5, false, 0, INF, 1),
|
||||||
create(preload("res://components/Characters/Chick.tscn"), 0, 0, true, 8, INF, 6),
|
create(preload("res://components/Characters/Chick.tscn"), 0, 0, true, 8, INF, 6),
|
||||||
create(preload("res://components/Characters/Chick.tscn"), 1, 1, true, 0, INF, 1),
|
# create(preload("res://components/Characters/Chick.tscn"), 1, 1, true, 0, INF, 1),
|
||||||
]
|
]
|
||||||
|
|
||||||
static func create(
|
static func create(
|
||||||
|
|||||||
Reference in New Issue
Block a user