mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-23 03:52:30 +08:00
refactor: 替换PresetAIs为PresetBulletAI,优化子弹AI逻辑
This commit is contained in:
@@ -7,6 +7,6 @@ func register():
|
||||
damage = 2
|
||||
func ai():
|
||||
canDamageSelf = !(timeLived() >= traceTime)
|
||||
PresetAIs.forward(self, rotation)
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
if timeLived() < traceTime:
|
||||
PresetAIs.trace(self, launcher.currentFocusedBoss.getTrackingAnchor(), 0.05)
|
||||
PresetBulletAI.trace(self, launcher.currentFocusedBoss.getTrackingAnchor(), 0.05)
|
||||
|
||||
Reference in New Issue
Block a user