1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/RainbowCat.gd
T

9 lines
267 B
GDScript
Raw Normal View History

extends BulletBase
class_name RainbowCat
func ai():
PresetBulletAI.forward(self, rotation)
func succeedToHit(_dmg: float, _entity: EntityBase):
EffectController.create(ComponentManager.getEffect("CatBoom"), position).shot()
rotation_degrees = randf_range(0, 360)