balance: 全面提升游戏难度——怪物HP/速度/KPI扣减上调,精力消耗加快,初始HC降至150,波次加量缩间隔,Boss技能冷却12s,自动下一波等待2s
This commit is contained in:
@@ -4,7 +4,7 @@ import { getRandomQuote } from '../data/quotes'
|
||||
import { AudioEngine } from '../AudioEngine'
|
||||
|
||||
export class BossVP extends EnemyBase {
|
||||
private skillTimer: number = 20000
|
||||
private skillTimer: number = 12000 // 技能间隔从20s压缩到12s
|
||||
private onDestroyTower?: () => void
|
||||
private bossLabel!: Phaser.GameObjects.Text
|
||||
|
||||
@@ -15,7 +15,8 @@ export class BossVP extends EnemyBase {
|
||||
speedMultiplier: number = 1.0,
|
||||
hpMultiplier: number = 1.0
|
||||
) {
|
||||
super(scene, pathPoints, 800, 40, 30, 150, 'enemy-boss', speedMultiplier, hpMultiplier)
|
||||
// HP: 800→1200, speed: 40→55, kpiDamage: 30→40, hcReward: 150→100
|
||||
super(scene, pathPoints, 1200, 55, 40, 100, 'enemy-boss', speedMultiplier, hpMultiplier)
|
||||
this.onDestroyTower = onDestroyTower
|
||||
const bossSize = this.cellW * 1.3
|
||||
this.imageSprite.setDisplaySize(bossSize, bossSize)
|
||||
@@ -47,7 +48,7 @@ export class BossVP extends EnemyBase {
|
||||
super.update(delta)
|
||||
this.skillTimer -= delta
|
||||
if (this.skillTimer <= 0) {
|
||||
this.skillTimer = 20000
|
||||
this.skillTimer = 12000 // 重置技能冷却
|
||||
this.triggerOrgRestructure()
|
||||
}
|
||||
if (this.bossLabel) {
|
||||
|
||||
Reference in New Issue
Block a user