mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-01 17:01:53 +08:00
12 lines
242 B
GDScript
12 lines
242 B
GDScript
|
|
extends BulletBase
|
||
|
|
class_name ParryBallBullet
|
||
|
|
|
||
|
|
var cycler: CycleTimer
|
||
|
|
|
||
|
|
func spawn():
|
||
|
|
cycler = launcher.getOrCreateCycleTimer("parry")
|
||
|
|
cycler.host(self )
|
||
|
|
func ai():
|
||
|
|
PresetBulletAI.selfRotate(self , 5)
|
||
|
|
hitbox.disabled = !launcher.sprinting
|