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