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 0ab740a00a feat: 调整游戏平衡性和测试配置
- 提高重型水晶子弹的伤害值从20到30
- 移除玩家角色的无敌状态
- 调整KukeChild角色的攻击冷却时间
- 将默认波次从空波次改为测试BOSS波次
- 禁用自定义启动逻辑
2025-09-19 21:58:45 +08:00

20 lines
457 B
GDScript

extends BulletBase
@onready var track: Node2D = $"%track"
var readyTime: float = 1000
func register():
speed = 10
damage = 30
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
PresetBulletAI.forward(self, rotation)
speed *= 1.15