mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-02 17:31:55 +08:00
13 lines
306 B
GDScript
13 lines
306 B
GDScript
|
|
extends EntityBase
|
||
|
|
class_name DeepseaEntity
|
||
|
|
|
||
|
|
func register():
|
||
|
|
fields[FieldStore.Entity.MAX_HEALTH] = 2000
|
||
|
|
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.9
|
||
|
|
fields[FieldStore.Entity.OFFSET_SHOOT] = 2
|
||
|
|
func ai():
|
||
|
|
PresetEntityAI.follow(self , currentFocusedBoss)
|
||
|
|
func attack(type: int):
|
||
|
|
if type == 0:
|
||
|
|
pass
|