mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
b402f04ada
为狐狸爪子弹添加速度、自伤和无敌伤害属性,并将初始波数调整为10 修改追踪逻辑使用新定义的速度属性
8 lines
208 B
GDScript
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) |