1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-10 05:37:12 +08:00

refactor(Characters): 移除KukeMC中子弹检测逻辑

将KukeMC.gd中与LGBTBullet相关的检测和销毁逻辑移除,简化AI处理流程
This commit is contained in:
2025-11-08 07:18:58 +08:00
parent 2b237bf225
commit e3a5db7860
-6
View File
@@ -22,12 +22,6 @@ func register():
)
func ai():
PresetEntityAI.follow(self, currentFocusedBoss, 500)
for bullet in get_tree().get_nodes_in_group("bullets"):
if (
bullet is LGBTBullet and
bullet.position.distance_to(self.position) < 200
):
bullet.tryDestroy()
for i in len(attackCooldownMap.keys()):
tryAttack(i)
func attack(type):