import type Phaser from 'phaser'
import { EnemyBase, type PathPoint } from './EnemyBase'
import { getRandomQuote } from '../data/quotes'

export class FreshGraduate extends EnemyBase {
  constructor(
    scene: Phaser.Scene,
    pathPoints: PathPoint[],
    speedMultiplier: number = 1.0,
    hpMultiplier: number = 1.0
  ) {
    // HP: 40, speed: 130, kpiDamage: 2.5→取整3不行，用整数2, hcReward: 9
    // kpiDamage 用浮点：在 GameManager.reduceKPI 里用 Math.max(0, kpi - amount)
    super(scene, pathPoints, 40, 130, 2, 9, 'enemy-fresh', speedMultiplier, hpMultiplier)
  }
  getQuote(): string { return getRandomQuote('FreshGraduate') }
}
