diff --git a/components/Bullets/BroomBoomerang.tscn b/components/Bullets/BroomBoomerang.tscn index 239a6a0..7b0ab7d 100644 --- a/components/Bullets/BroomBoomerang.tscn +++ b/components/Bullets/BroomBoomerang.tscn @@ -102,8 +102,8 @@ _data = { } [sub_resource type="Curve" id="Curve_14u4g"] -_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] -point_count = 2 +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.1, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_wnwnl"] curve = SubResource("Curve_14u4g") @@ -122,8 +122,8 @@ colors = PackedColorArray(0.9490196, 0.7529412, 0.3882353, 1, 0.42, 0.30975002, gradient = SubResource("Gradient_0vfy6") [sub_resource type="Curve" id="Curve_eep1e"] -_data = [Vector2(0, 0.7), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] -point_count = 2 +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.1, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_g0gbx"] curve = SubResource("Curve_eep1e") diff --git a/components/Bullets/BroomGun.tscn b/components/Bullets/BroomGun.tscn index 6ea8891..a051a84 100644 --- a/components/Bullets/BroomGun.tscn +++ b/components/Bullets/BroomGun.tscn @@ -224,6 +224,7 @@ size = Vector2(1968, 44) script = ExtResource("2_jn776") canTrace = true displayName = "扫帚炮" +speed = 15.0 baseDamage = 5.0 motionType = 2 penerate = 1.0 diff --git a/scripts/Contents/Bullets/BroomGun.gd b/scripts/Contents/Bullets/BroomGun.gd index a63637f..bccda45 100644 --- a/scripts/Contents/Bullets/BroomGun.gd +++ b/scripts/Contents/Bullets/BroomGun.gd @@ -4,7 +4,7 @@ class_name BroomGun @export var canTrace: bool = true func shake(): - CameraManager.shake(2000, 200) + CameraManager.shake(2000, 300) func ai(): if canTrace: - PresetBulletAI.trace(self , launcher.currentFocusedPosition, 0.05) + look_at(launcher.currentFocusedPosition)