mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
4c077af28d
refactor(Bullets): 调整BigLaser和Diamond的旋转插值系数 feat(EntityBase): 添加掉落物提示概率控制 style(BossBar): 添加currentValue默认值和label对齐方式 docs(GameRule): 新增掉落物提示概率配置项
13 lines
330 B
GDScript
13 lines
330 B
GDScript
extends BulletBase
|
|
class_name BigLaser
|
|
|
|
func ai():
|
|
rotation = lerp_angle(rotation, ((get_global_mouse_position() - position).angle()), 0.15)
|
|
position = launcher.texture.global_position
|
|
func applyDot():
|
|
hitbox.disabled = true
|
|
await TickTool.millseconds(50)
|
|
hitbox.disabled = false
|
|
await TickTool.millseconds(50)
|
|
return true
|