mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
a27e36a384
为狐狸爪子弹添加血雨特效,当攻击公鸡角色时触发。同时新增相关资源文件和粒子系统配置。
9 lines
207 B
GDScript
9 lines
207 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), 0.1)
|