From 0736230aedaf74975140c24292579c328b2a3e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Wed, 17 Sep 2025 22:00:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor(Characters):=20=E4=BC=98=E5=8C=96KukeM?= =?UTF-8?q?C=E7=9A=84=E6=94=BB=E5=87=BB=E9=80=BB=E8=BE=91=E5=92=8C?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=8F=AF=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除七彩飞星注释,简化攻击逻辑 重构紫色水晶子弹生成方式,增加旋转效果 --- scripts/Contents/Characters/KukeMC.gd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/Contents/Characters/KukeMC.gd b/scripts/Contents/Characters/KukeMC.gd index a55c555..5fc0d7b 100644 --- a/scripts/Contents/Characters/KukeMC.gd +++ b/scripts/Contents/Characters/KukeMC.gd @@ -22,7 +22,7 @@ func ai(): for bullet in get_tree().get_nodes_in_group("bullets"): if ( bullet is LGBTBullet and - bullet.position.distance_to(self.position) < 200 # 酷可mc会去摧毁200半径以内的七彩飞星 + bullet.position.distance_to(self.position) < 200 ): bullet.tryDestroy() for i in len(attackCooldownMap.keys()): @@ -40,5 +40,7 @@ func attack(type): elif type == 2: var count = randi_range(50, 60) for i in count: - BulletBase.generate(preload("res://components/Bullets/PurpleCrystal.tscn"), self, findWeaponAnchor("normal"), 360.0 / count * i) + var count1 = 3 + for j in count1: + BulletBase.generate(preload("res://components/Bullets/PurpleCrystal.tscn"), self, findWeaponAnchor("normal"), 360.0 / count * i + 360.0 / count1 * j) await TickTool.millseconds(50)