1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 23:41:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/BossAttack/KukeMC/HeavyCrystal.gd
T
fallingshrimp fce4a08b22 fix(BossAttack): 调整重型水晶子弹的伤害和速度增长
将重型水晶子弹的伤害计算从 speed/5 改为 speed/6,并降低速度增长系数从 1.2 到 1.15,以平衡游戏难度

feat(Wave): 添加自定义起始逻辑

在 customStart 方法中添加生成熊和KukeMC角色的逻辑,并设置它们互相为焦点目标
2025-09-18 22:42:43 +08:00

20 lines
465 B
GDScript

extends BulletBase
@onready var track: Node2D = $"%track"
var readyTime: float = 1000
func register():
speed = 10
func ai():
if timeLived() < readyTime:
PresetBulletAI.lockLauncher(self, launcher, true)
rotation = launcher.position.angle_to_point(launcher.currentFocusedBoss.getTrackingAnchor())
hitbox.disabled = true
else:
track.visible = false
hitbox.disabled = false
damage = speed / 6
PresetBulletAI.forward(self, rotation)
speed *= 1.15