tank constant

MonsterDef const tank

Slow, heavy, and largely indifferent to being shot.

Implementation

static const MonsterDef tank = MonsterDef(
  name: 'tank',
  health: 320.0,
  speed: 2.2,
  radius: 0.62,
  height: 2.4,
  sightRange: 22.0,
  painChance: 0.15,
  painCooldown: 1.4,
  hurtDuration: 0.18,
  attack: WeaponDef(
    name: 'slam',
    loudness: 12.0,
    behaviour: MeleeBehaviour(arcDegrees: 100.0),
    ammo: AmmoType.none,
    damage: 34.0,
    shotsPerSecond: 0.7,
    range: 2.6,
    automatic: true,
  ),
);