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/FoxZhua.gd
T
fallingshrimp a27e36a384 feat(特效): 添加血雨效果及关联逻辑
为狐狸爪子弹添加血雨特效,当攻击公鸡角色时触发。同时新增相关资源文件和粒子系统配置。
2025-11-16 16:10:19 +08:00

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)