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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user