1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/FoxZhua.gd
T
fallingshrimp b402f04ada feat(子弹): 调整狐狸爪子弹属性和初始波数
为狐狸爪子弹添加速度、自伤和无敌伤害属性,并将初始波数调整为10
修改追踪逻辑使用新定义的速度属性
2025-11-22 08:04:08 +08:00

8 lines
208 B
GDScript

extends BulletBase
class_name FoxZhua
@export var canTrace: bool = true
func ai():
if canTrace:
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), speed)