1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-27 05:52:29 +08:00

refactor: 替换PresetAIs为PresetBulletAI,优化子弹AI逻辑

This commit is contained in:
2025-09-06 18:33:11 +08:00
parent b32f864e84
commit f5db5829a2
14 changed files with 36 additions and 15 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ func register():
func ai():
attackCooldownMap[0] = randi_range(1500, 4000)
move(currentFocusedBoss.position - position)
PresetEntityAI.follow(self, currentFocusedBoss, 300)
tryAttack(0)
func attack(type):
if type == 0: