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