mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix(角色平衡): 调整小鸡角色的冲刺倍率和冲刺伤害计算
将小鸡的冲刺倍率从60降低到30以平衡游戏性 修改冲刺伤害计算方式,使其与角色速度相关
This commit is contained in:
@@ -3,9 +3,9 @@ class_name ChickSprint
|
||||
|
||||
func register():
|
||||
speed = 0
|
||||
damage = 20
|
||||
penerate = 1
|
||||
func ai():
|
||||
damage = launcher.velocity.length()
|
||||
PresetBulletAI.lockLauncher(self, launcher, true)
|
||||
if !launcher.sprinting:
|
||||
tryDestroy()
|
||||
|
||||
@@ -12,7 +12,7 @@ func register():
|
||||
attackCooldownMap[1] = 6000
|
||||
attackCooldownMap[2] = 100
|
||||
attackCooldownMap[3] = 500
|
||||
sprintMultiplier = 60
|
||||
sprintMultiplier = 30
|
||||
func spawn():
|
||||
texture.play("walk")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user