+
+ pop => 3,
+ min => 150,
+ gas => $V ge v5.0.11 ? 125 : 150,
+ build => 43,
+ size => 1.5,
+ armor => 0,
+ hp => 180,
+ attr => {
+ armored => 1,
+ mech => 1,
+ flying => 1,
+ },
+ attack => [
+ {
+ anti => 2,
+ name => 'Lexington Rockets',
+ damage => 5,
+ upgrade => 1,
+ type => 'projectile',
+ cooldown => 1.29,
+ count => 2,
+ range => 5,
+ },
+ ],
+ special => [
+ {
+ name => 'Defender Mode',
+ abbr => 'dm',
+ transform => 2.88, # 1.46s to revert
+ alt => 'Defender Liberator',
+ attack => [
+ {
+ anti => 1,
+ name => 'Concord Cannon',
+ desc => 'within 5 diameter circle',
+ damage => 75,
+ upgrade => 5,
+ cooldown => 1.14,
+ range => 10,
+ },
+ ],
+ speed => 0,
+ sight => 15, # only targeted area
+ upgrade => [
+ {
+ name => 'Advanced Ballistics',
+ min => 150,
+ gas => 150,
+ build => 79,
+ attack => [
+ {
+ range => 4,
+ },
+ ],
+ sight => 4,
+ },
+ ],
+ },
+ ],
+ speed => 4.72,
+ sight => 10,
+},
+
+{
+ %{ $unit{banshee} },
+ speed => 3.85,
+ upgrade => [
+ {
+ name => 'Hyperflight Rotors',
+ speed => 1.4,
+ min => $V ge v5.0.11 ? 125 : $V ge v4.7.1 ? 150 : 200,
+ gas => $V ge v5.0.11 ? 125 : $V ge v4.7.1 ? 150 : 200,
+ build => $V ge v5.0.11 ? 100 : 121.4,
+ },
+ ],
+},
+
+{
+ %{ $unit{raven} },
+ gas => $V ge v5.0.11 ? 150 : 200,
+ build => $V ge v5.0.11 ? 34.3 : 42.9,
+ speed => $V lt v4.11.0 ? 3.85 : 4.13,
+ upgrade => $V ge v5.0.11 ? [] : $unit{raven}->{upgrade}, # corvid reactor
+ special => [
+ {
+ %{ $unit{raven}->{special}->[0] }, # auto-turret
+ attack => [
+ {
+ anti => 3,
+ name => '12 mm Gauss Cannon',
+ damage => 18,
+ cooldown => .57,
+ range => 6,
+ },
+ ],
+ hp => $V ge v5.0.11 ? 100 : 150,
+ armor => $V ge v5.0.11 ? 0 : 1,
+ range => $V lt v4.3.0 ? 1 : 2,
+ duration => $V ge v5.0.11 ? 7.9 : 10,
+ upgrade => [
+ $unit{raven}->{special}->[0]->{upgrade}->[0], # hi-sec auto tracking
+ $unit{raven}->{special}->[0]->{upgrade}->[1], # structure armor
+ # no more durable materials
+ ],
+ },
+ {
+ name => 'Interference Matrix',
+ abbr => 'im',
+ desc => 'disable target mech or psionic unit rendering it unable to attack or cast',
+ cost => $V lt v4.11.0 ? 50 : 75,
+ range => 9,
+ duration => $V lt v4.11.0 ? 7.9 : 11,
+ },
+ {
+ name => 'Anti-Armor Missile',
+ abbr => 'aa',
+ desc => sprintf('launches missile %s reduce armor by %d',
+ $V lt v4.7.1 ? 'to do splash damage and' : 'to',
+ $V ge v5.0.11 ? 2 : 3,
+ ),
+ range => 10,
+ size => 2.88,
+ attack => [
+ {
+ damage => $V lt v4.3.0 ? 30 : $V lt v4.7.1 ? 15 : 0,
+ splash => 1,
+ },
+ ],
+ cost => 75,
+ duration => 21,
+ },
+ ],
+},
+
+{
+ %{ $unit{battlecruiser} },
+ attack => [
+ $unit{battlecruiser}->{attack}->[0], # ats laser
+ {
+ %{ $unit{battlecruiser}->{attack}->[1] }, # ata laser
+ damage => $V lt v4.7.1 ? 6 : 5,
+ },
+ ],
+ special => [
+ {
+ name => 'Tactical Jump',
+ abbr => 'tj',
+ desc => 'warps to the target location after 5s (invulnerable after 1s)',
+ duration => 4,
+ cooldown => 71,
+ },
+ {
+ %{ $unit{battlecruiser}->{special}->[0] }, # yc
+ desc => '240 damage to a single target',
+ attack => [
+ {
+ damage => 240,
+ },
+ ],
+ cost => undef,
+ cooldown => 71,
+ },
+ ],
+ upgrade => [],