1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/Diamond.gd
T
fallingshrimp 73b3f9d569 feat(角色): 更新Kernyr角色行为和外观
- 修改Kernyr的攻击模式,增加3种攻击类型
- 更新角色贴图和显示名称
- 调整阳毅导弹的尺寸和动画效果
- 修复Diamond子弹追踪时的空引用问题
- 调整测试波次配置
2026-03-26 22:39:12 +08:00

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)