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 a19c868aee fix: 调整子弹逻辑和粒子效果参数
修复子弹逻辑中hitbox和track的显示顺序问题,优化LGBTBoom粒子效果参数:
- 调整粒子数量从10增加到20
- 修改粒子初始速度和大小曲线
- 更新颜色渐变和透明度曲线
2025-09-18 22:38:56 +08:00

20 lines
464 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 / 5
PresetBulletAI.forward(self, rotation)
speed *= 1.2