mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 08:21:54 +08:00
13 lines
300 B
GDScript
13 lines
300 B
GDScript
|
|
extends BulletBase
|
||
|
|
class_name BigLaser
|
||
|
|
|
||
|
|
func ai():
|
||
|
|
rotation = (get_global_mouse_position() - position).angle()
|
||
|
|
position = launcher.texture.global_position
|
||
|
|
func applyDot():
|
||
|
|
hitbox.disabled = true
|
||
|
|
await TickTool.millseconds(50)
|
||
|
|
hitbox.disabled = false
|
||
|
|
await TickTool.millseconds(50)
|
||
|
|
return true
|