mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
e61cfecdd3
添加Deepsea角色实体脚本及其UID文件 新增Cement和Kuaizi两种子弹的场景和纹理资源 包括子弹的碰撞体配置和动画帧设置
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
|