1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-12 22:57:13 +08:00

refactor(Bullets): 优化子弹格挡逻辑并提取公共方法

重构Parrier.gd中的格挡逻辑,将重复代码提取为parryEffect和penerateEffect方法
调整FoxZhua子弹的追踪位置和场景配置
修改waveDebugConfig使用测试BOSS而非测试小怪
This commit is contained in:
2026-04-30 18:32:34 +08:00
parent 550718c742
commit 5cef96cd34
4 changed files with 50 additions and 36 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ class_name FoxZhua
func ai():
if canTrace:
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), speed)
PresetBulletAI.lerpPosition(self , launcher.currentFocusedBoss.getTrackingAnchor(), speed)