1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00

feat(游戏内容): 添加新敌人波次并调整武器参数

为游戏添加新的敌人波次WAVE_MOWING,包含多种敌人类型。同时调整InfinitySword武器的穿透伤害减免参数和音频音量,并修改敌人生成范围从200-1000调整为400-800,以改善游戏平衡性
This commit is contained in:
2026-04-04 08:42:32 +08:00
parent 0dfbd4f613
commit d4598e113d
2 changed files with 10 additions and 2 deletions
+8 -2
View File
@@ -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):