shooter constant
Keeps its distance and throws something slow enough to dodge, which is what makes the room's geometry matter.
Implementation
static const MonsterDef shooter = MonsterDef(
name: 'shooter',
health: 60.0,
speed: 3.0,
radius: 0.38,
height: 1.8,
sightRange: 30.0,
attack: WeaponDef(
name: 'fireball',
behaviour: ProjectileBehaviour(),
ammo: AmmoType.none,
damage: 22.0,
shotsPerSecond: 0.55,
range: 30.0,
projectileSpeed: 13.0,
splashRadius: 2.2,
splashMinimumFraction: 0.2,
),
);