diff --git a/components/Bullets/InfinitySword.tscn b/components/Bullets/InfinitySword.tscn index 2cd0410..a5a265e 100644 --- a/components/Bullets/InfinitySword.tscn +++ b/components/Bullets/InfinitySword.tscn @@ -145,6 +145,7 @@ height = 580.0 script = ExtResource("2_nbqhn") speed = 25.0 penerate = 1.0 +penerateDamageReduction = 0.05 autoSpawnAnimation = true autoPlayTexture = true freeAfterSpawn = true @@ -158,6 +159,7 @@ sprite_frames = SubResource("SpriteFrames_c741v") libraries/ = SubResource("AnimationLibrary_3cvbl") [node name="audio" parent="texture" index="1" unique_id=1167114186] +volume_db = 10.0 max_distance = 10000.0 [node name="hitbox" parent="." index="1" unique_id=175349408] diff --git a/scripts/Contents/Wave.gd b/scripts/Contents/Wave.gd index ac01a9e..8152204 100644 --- a/scripts/Contents/Wave.gd +++ b/scripts/Contents/Wave.gd @@ -48,8 +48,14 @@ static var WAVE_TESTBOSS_CHICK = [ static var WAVE_JUSTJOKE = [ Wave.create("Kernyr", 0, 0, true, 0, INF, 1), ] +static var WAVE_MOWING = [ + Wave.create("Hen", 15, 30, false, 0, INF, 1), + Wave.create("Cat", 15, 30, false, 0, INF, 1), + Wave.create("Dog", 15, 30, false, 0, INF, 1), + Wave.create("MTY", 1, 5, false, 0, INF, 1), +] static var WAVE_EMPTY = [] -static var waveConfig = [WAVE_NORMAL, 1] +static var waveConfig = [WAVE_MOWING, 1] static var current: int = startWith(1) if WorldManager.isRelease() else startWith(waveConfig[1]) static var data = WAVE_NORMAL if WorldManager.isRelease() else waveConfig[0] @@ -105,7 +111,7 @@ static func spawn(center: Vector2) -> Array: var wave: Wave = data[i] for j in range(entityCountOf(wave)): var currentWave = wave.duplicate() - currentWave.entityPosition = MathTool.sampleInRing(200, 1000) + center + currentWave.entityPosition = MathTool.sampleInRing(400, 800) + center result.append(currentWave) return result static func next(waves: Array):