diff --git a/scripts/Contents/Bullets/Parrier.gd b/scripts/Contents/Bullets/Parrier.gd index 0b96dba..6559a45 100644 --- a/scripts/Contents/Bullets/Parrier.gd +++ b/scripts/Contents/Bullets/Parrier.gd @@ -28,8 +28,8 @@ func hitBullet(bullet: BulletBase): # 当前子弹与其他子弹相撞 eff.modulate = bullet.modulate.blend(bullet.texture.modulate) eff.rotation = position.angle_to_point(bullet.position) eff.shot() - CameraManager.shake(200, 250) - launcher.impluse((position - bullet.position).normalized() * sqrt(bullet.speed) * 500) + CameraManager.shake(250, 300) + launcher.impluse((position - bullet.position).normalized() * (bullet.speed * bullet.getDamage()) ** (1.0 / 3) * 250) # 摧毁其他子弹 bullet.tryDestroy() var cycler = launcher.getOrCreateCycleTimer("parry", 2000, 100)