mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat(角色): 添加新角色公鸡和相关资源
- 添加公鸡角色资源文件及音效 - 调整猫角色的攻击冷却时间和冲刺倍数 - 更新猫角色的音效和动画设置 - 重构公鸡角色的动画和碰撞体设置
This commit is contained in:
@@ -4,8 +4,8 @@ class_name Maodie
|
||||
func register():
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 75
|
||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = randf_range(0.5, 0.8)
|
||||
attackCooldownMap[0] = randi_range(2500, 6000)
|
||||
sprintMultiplier = 20
|
||||
attackCooldownMap[0] = randi_range(3500, 8000)
|
||||
sprintMultiplier = randf_range(10, 35)
|
||||
func ai():
|
||||
PresetEntityAI.follow(self, currentFocusedBoss)
|
||||
tryAttack(0, true)
|
||||
|
||||
Reference in New Issue
Block a user