mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
1fa8263667
移除所有子弹类中的register方法,将属性初始化移至其他位置 在BulletBase的trySplit和tryRefract方法中添加子子弹标记
10 lines
227 B
GDScript
10 lines
227 B
GDScript
extends BulletBase
|
|
class_name Diamond
|
|
|
|
const traceTime = 1500
|
|
|
|
func ai():
|
|
PresetBulletAI.forward(self, rotation)
|
|
if timeLived() < traceTime:
|
|
PresetBulletAI.trace(self, launcher.currentFocusedBoss.getTrackingAnchor(), 0.05)
|