mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
fix(BossAttack): 修正HeavyCrystal子弹的追踪逻辑并更改测试波次
将HeavyCrystal子弹的旋转逻辑替换为预设的追踪方法,提高追踪准确性 同时将默认测试波次改为WAVE_TESTBOSS_KUKE以便测试
This commit is contained in:
@@ -9,7 +9,7 @@ func register():
|
||||
func ai():
|
||||
if timeLived() < readyTime:
|
||||
PresetBulletAI.lockLauncher(self, launcher, true)
|
||||
rotation = launcher.position.angle_to_point(launcher.currentFocusedBoss.getTrackingAnchor())
|
||||
PresetBulletAI.trace(self, launcher.currentFocusedBoss.getTrackingAnchor(), 0.8)
|
||||
hitbox.disabled = true
|
||||
else:
|
||||
track.visible = false
|
||||
|
||||
@@ -30,7 +30,7 @@ static var WAVE_TESTBOSS_CHICK = [
|
||||
Wave.create("Chick", 0, 0, true, 0, INF, 10),
|
||||
]
|
||||
static var WAVE_EMPTY = []
|
||||
static var data = WAVE_NORMAL
|
||||
static var data = WAVE_TESTBOSS_KUKE
|
||||
|
||||
static func customStart():
|
||||
if false:
|
||||
|
||||
Reference in New Issue
Block a user