From e70918a3910cc7dd41686fa72d4f1d74bfff6d0b 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: Thu, 18 Sep 2025 22:17:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=88=98=E6=96=97=E5=B9=B3=E8=A1=A1):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A7=92=E8=89=B2=E5=92=8C=E5=AD=90=E5=BC=B9?= =?UTF-8?q?=E7=9A=84=E6=94=BB=E5=87=BB=E5=86=B7=E5=8D=B4=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=8F=8A=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改KukeChild和KukeMC的攻击冷却时间,优化HeavyCrystal子弹的追踪逻辑 减少KukeMC技能2的分支数量范围,从2-4调整为1-3 --- scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd | 2 +- scripts/Contents/Characters/KukeChild.gd | 2 +- scripts/Contents/Characters/KukeMC.gd | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd b/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd index afc8a7c..b1aec93 100644 --- a/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd +++ b/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd @@ -9,7 +9,7 @@ func register(): func ai(): if timeLived() < readyTime: PresetBulletAI.lockLauncher(self, launcher, true) - rotation = launcher.position.angle_to_point(launcher.currentFocusedBoss.position) + rotation = launcher.position.angle_to_point(launcher.currentFocusedBoss.getTrackingAnchor()) hitbox.disabled = true else: damage = speed / 4 diff --git a/scripts/Contents/Characters/KukeChild.gd b/scripts/Contents/Characters/KukeChild.gd index ab86704..21b48a2 100644 --- a/scripts/Contents/Characters/KukeChild.gd +++ b/scripts/Contents/Characters/KukeChild.gd @@ -6,7 +6,7 @@ func register(): fields[FieldStore.Entity.MAX_HEALTH] = 25 fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.35 attackCooldownMap[0] = 200 - attackCooldownMap[1] = 2000 + attackCooldownMap[1] = 3500 func ai(): PresetEntityAI.follow(self, currentFocusedBoss, 700) tryAttack(0) diff --git a/scripts/Contents/Characters/KukeMC.gd b/scripts/Contents/Characters/KukeMC.gd index 76a38a3..c96dd36 100644 --- a/scripts/Contents/Characters/KukeMC.gd +++ b/scripts/Contents/Characters/KukeMC.gd @@ -6,7 +6,7 @@ func register(): fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5 attackCooldownMap[0] = 2000 attackCooldownMap[1] = 5000 - attackCooldownMap[2] = 6000 + attackCooldownMap[2] = 20000 attackCooldownMap[3] = 2000 inventory[ItemStore.ItemType.APPLE] = INF func ai(): @@ -32,7 +32,7 @@ func attack(type): child.masterMine = self elif type == 2: var countOfBullet = randi_range(40, 50) - var countOfBranch = randi_range(2, 4) + var countOfBranch = randi_range(1, 3) for bulletIndex in countOfBullet: for branchIndex in countOfBranch: fields[FieldStore.Entity.OFFSET_SHOOT] = 0