mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-04 18:57:13 +08:00
fix(BossAttack/Bear): 调整追踪子弹的追踪速度参数
将追踪子弹的追踪速度参数从0.03降低到0.015,以平衡游戏难度
This commit is contained in:
@@ -30,7 +30,7 @@ func ai():
|
||||
if timeLived() < forwardTime + 2000:
|
||||
speed = clamp((timeLived() - forwardTime) / 75, 0, 30)
|
||||
if is_instance_valid(tracer):
|
||||
PresetBulletAI.trace(self, tracer.position, 0.03)
|
||||
PresetBulletAI.trace(self, tracer.position, 0.015)
|
||||
else:
|
||||
forwarded = true
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ func register():
|
||||
attackCooldownMap[1] = 10000
|
||||
attackCooldownMap[2] = 8000
|
||||
attackCooldownMap[3] = 13000
|
||||
sprintMultiplier = 100
|
||||
sprintMultiplier = 50
|
||||
func spawn():
|
||||
texture.play("walk")
|
||||
func ai():
|
||||
|
||||
Reference in New Issue
Block a user