mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 23:11:54 +08:00
5c16dcc294
- 替换原有Laser为ChickLaser,实现更华丽的激光效果 - 调整FireScan子弹速度和伤害值 - 优化Diamond子弹追踪逻辑和持续时间 - 新增PresetsAI.lockLauncher方法用于固定子弹位置 - 调整Chick角色的攻击冷却时间和攻击距离判定
13 lines
280 B
GDScript
13 lines
280 B
GDScript
extends BulletBase
|
|
class_name Diamond
|
|
|
|
const traceTime = 1500
|
|
|
|
func register():
|
|
damage = 2
|
|
func ai():
|
|
canDamageSelf = !(timeLived() >= traceTime)
|
|
PresetsAI.forward(self, rotation)
|
|
if timeLived() < traceTime:
|
|
PresetsAI.trace(self, launcher.currentFocusedBoss.position, 0.05)
|