From 566531c856a127260a327c6fbd45458f610ee549 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:50:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E5=92=8C=E5=AD=90=E5=BC=B9=E5=B1=9E=E6=80=A7=E5=8F=8A=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E5=B9=B3=E8=A1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 隐藏Bear角色的mask - 提高Bear和KukeMC子弹的伤害值 - 增加KukeMC的最大生命值 - 设置World场景的currentInvinsible为true - 调整KukeChild的攻击冷却时间和存活时间 - 为HeavyCrystal子弹添加初始伤害值 --- components/Scenes/World.tscn | 1 + scripts/Contents/Bullets/BossAttack/Bear/ArrowSeven.gd | 2 +- scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd | 2 +- scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd | 2 +- scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd | 2 +- scripts/Contents/Characters/Bear.gd | 1 + scripts/Contents/Characters/KukeChild.gd | 4 ++-- scripts/Contents/Characters/KukeMC.gd | 2 +- 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/components/Scenes/World.tscn b/components/Scenes/World.tscn index b4c7235..d3cc97d 100644 --- a/components/Scenes/World.tscn +++ b/components/Scenes/World.tscn @@ -103,3 +103,4 @@ shape = SubResource("CircleShape2D_4hkht") polygon = PackedVector2Array(-2419, 1803, 2429, 1825, 2392, -366, 2867, -318, 2723, 2241, -2879, 2193, -2797, -2582, 2959, -2528, 2858, -347, 2420, -337, 2441, -1834, -2438, -1792) [node name="rooster" parent="." groups=["players"] instance=ExtResource("3_5ui6q")] +currentInvinsible = true diff --git a/scripts/Contents/Bullets/BossAttack/Bear/ArrowSeven.gd b/scripts/Contents/Bullets/BossAttack/Bear/ArrowSeven.gd index d6423b6..375543b 100644 --- a/scripts/Contents/Bullets/BossAttack/Bear/ArrowSeven.gd +++ b/scripts/Contents/Bullets/BossAttack/Bear/ArrowSeven.gd @@ -13,7 +13,7 @@ var forwarded: bool = false func register(): speed = 1 - damage = 5 + damage = 10 penerate = 1 func spawn(): myColor = allColor.gradient.sample(randf()) diff --git a/scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd b/scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd index f2be570..bee8b55 100644 --- a/scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd +++ b/scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd @@ -5,7 +5,7 @@ extends BulletBase var myColor: Color func register(): - damage = 5 + damage = 15 penerate = 1 func spawn(): myColor = allColor.gradient.sample(randf()) diff --git a/scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd b/scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd index f74fbde..f0a1855 100644 --- a/scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd +++ b/scripts/Contents/Bullets/BossAttack/Bear/SunDance.gd @@ -11,7 +11,7 @@ var myColor: Color func register(): speed = 0 - damage = 5 + damage = 20 penerate = 1 func spawn(): myColor = allColor.gradient.sample(randf()) diff --git a/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd b/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd index b522e4d..fa9a145 100644 --- a/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd +++ b/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd @@ -6,6 +6,7 @@ var readyTime: float = 1000 func register(): speed = 10 + damage = 20 func ai(): if timeLived() < readyTime: PresetBulletAI.lockLauncher(self, launcher, true) @@ -14,6 +15,5 @@ func ai(): else: track.visible = false hitbox.disabled = false - damage = speed / 6 PresetBulletAI.forward(self, rotation) speed *= 1.15 diff --git a/scripts/Contents/Characters/Bear.gd b/scripts/Contents/Characters/Bear.gd index 41515b3..8274a81 100644 --- a/scripts/Contents/Characters/Bear.gd +++ b/scripts/Contents/Characters/Bear.gd @@ -22,6 +22,7 @@ func register(): ) func spawn(): texture.play("walk") + mask.visible = false func ai(): PresetEntityAI.follow(self, currentFocusedBoss, 400) for i in len(attackCooldownMap.keys()): diff --git a/scripts/Contents/Characters/KukeChild.gd b/scripts/Contents/Characters/KukeChild.gd index 21b48a2..48988b5 100644 --- a/scripts/Contents/Characters/KukeChild.gd +++ b/scripts/Contents/Characters/KukeChild.gd @@ -6,12 +6,12 @@ func register(): fields[FieldStore.Entity.MAX_HEALTH] = 25 fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.35 attackCooldownMap[0] = 200 - attackCooldownMap[1] = 3500 + attackCooldownMap[1] = 4000 func ai(): PresetEntityAI.follow(self, currentFocusedBoss, 700) tryAttack(0) tryAttack(1) - if timeLived() > 8000: + if timeLived() > 10000: masterMine.tryHeal(100) tryDie(null) func attack(type): diff --git a/scripts/Contents/Characters/KukeMC.gd b/scripts/Contents/Characters/KukeMC.gd index c96dd36..95f48a9 100644 --- a/scripts/Contents/Characters/KukeMC.gd +++ b/scripts/Contents/Characters/KukeMC.gd @@ -2,7 +2,7 @@ extends EntityBase class_name KukeMC func register(): - fields[FieldStore.Entity.MAX_HEALTH] = 2500 + fields[FieldStore.Entity.MAX_HEALTH] = 3000 fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5 attackCooldownMap[0] = 2000 attackCooldownMap[1] = 5000