mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-29 07:21:54 +08:00
73b3f9d569
- 修改Kernyr的攻击模式,增加3种攻击类型 - 更新角色贴图和显示名称 - 调整阳毅导弹的尺寸和动画效果 - 修复Diamond子弹追踪时的空引用问题 - 调整测试波次配置
10 lines
279 B
GDScript
10 lines
279 B
GDScript
extends BulletBase
|
|
class_name Diamond
|
|
|
|
const traceTime = 1500
|
|
|
|
func ai():
|
|
PresetBulletAI.forward(self , rotation)
|
|
if timeLived() < traceTime && is_instance_valid(launcher.currentFocusedBoss):
|
|
PresetBulletAI.trace(self , launcher.currentFocusedBoss.getTrackingAnchor(), 0.05)
|