sc: update mode specials metadata
[sheet.git] / sc-units-hots.inc.pl
1 use utf8;
2 use strict;
3
4 my $V = v5.0.2; # some patch data for invisible attributes
5 my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n  or 4 gas (8 rich) after 3s (53/min)"; # lotv time scale
6
7 [
8 'patch 2.1.9+',
9 # http://wiki.teamliquid.net/starcraft2/Unit_Statistics
10 # http://wiki.teamliquid.net/starcraft2/User:Roemy/Unit_Statistics_(detailed)
11 # http://starcraft.wikia.com/wiki/List_of_StarCraft_II_units
12
13 {
14         race => 'protoss',
15         cat => 'base',
16         name => 'Probe',
17         pop => 1,
18         min => 50,
19         gas => 0,
20         build => 17,
21         size => 0.75,
22         cargo => 1,
23         armor => 0,
24         hp => 20,
25         shield => 20,
26         attr => {
27                 light => 1,
28                 mech => 1,
29         },
30         attack => [
31                 {
32                         anti => 1,
33                         name => 'Particle Beam',
34                         damage => 5,
35                         cooldown => 1.5,
36                         range => 0,
37                 },
38         ],
39         speed => 2.8125,
40         sight => 8,
41         special => [
42                 {
43                         name => 'worker',
44                         abbr => '⚒',
45                         desc => "warp-in buildings\n- $GATHER",
46                 },
47         ],
48 },
49
50 {
51         race => 'protoss',
52         cat => 'base',
53         name => 'Photon Cannon',
54         min => 150,
55         gas => 0,
56         build => 40,
57         size => 2,
58         armor => 1,
59         hp => 150,
60         shield => 150,
61         attr => {
62                 armored => 1,
63                 structure => 1,
64         },
65         attack => [
66                 {
67                         anti => 3,
68                         name => 'Phase Disruptor',
69                         damage => 20,
70                         cooldown => 1.25,
71                         type => 'projectile',
72                         range => 7,
73                 },
74         ],
75         speed => 0,
76         sight => 11,
77         detect => 1,
78 },
79
80 {
81         race => 'protoss',
82         cat => 'base',
83         name => 'Mothership Core',
84         pop => 2,
85         min => 100,
86         gas => 100,
87         build => 30,
88         size => 2,
89         cargo => 0,
90         armor => 1,
91         hp => 130,
92         shield => 60,
93         attr => {
94                 armored => 1,
95                 mech => 1,
96                 psionic => 1,
97                 flying => 1,
98         },
99         attack => [
100                 {
101                         anti => 1,
102                         name => 'Repulsor Cannon',
103                         damage => 8,
104                         upgrade => 1,
105                         type => 'projectile',
106                         cooldown => 0.85,
107                         range => 5,
108                 },
109         ],
110         speed => 1.875,
111         sight => 9,
112         energy => 50,
113         capacity => 200,
114         special => [
115                 {
116                         name => 'Photon Overcharge',
117                         abbr => 'po',
118                         desc => 'activate Nexus weapon for 1 minute',
119                         cost => 100,
120                         range => 10,
121                 },
122                 {
123                         name => 'Mass Recall',
124                         abbr => 'mr',
125                         desc => 'teleports itself and nearby units to targeted Nexus',
126                         cost => 100,
127                         duration => 2,
128                         radius => 7,
129                 },
130                 {
131                         name => 'Time Warp',
132                         abbr => 'tw',
133                         desc => 'create a temporal field which slows ground units by 50%',
134                         cost => 100,
135                         radius => 3.5,
136                         range => 9,
137                         duration => 10,
138                 },
139         ],
140 },
141
142 {
143         race => 'protoss',
144         cat => 'base',
145         name => 'Mothership',
146         pop => 8,
147         min => 300,
148         gas => 300,
149         build => 100,
150         size => 2.75,
151         armor => 2,
152         hp => 350,
153         shield => 350,
154         attr => {
155                 armored => 1,
156                 mech => 1,
157                 psionic => 1,
158                 massive => 1,
159                 flying => 1,
160                 heroic => 1,
161         },
162         attack => [
163                 {
164                         anti => 3,
165                         name => 'Purifier Beams',
166                         damage => 6,
167                         upgrade => 1,
168                         cooldown => 2.21,
169                         count => 6,
170                         range => 7,
171                 },
172         ],
173         speed => 1.4062,
174         sight => 14,
175         energy => 50,
176         capacity => 200,
177         special => [
178                 {
179                         name => 'Cloaking Field',
180                         abbr => 'cf',
181                         desc => 'cloaks all nearby friendly units and buildings',
182                         radius => 5,
183                         duration => -1,
184                 },
185                 {
186                         name => 'Mass Recall',
187                         abbr => 'mr',
188                         desc => 'teleports itself and nearby units to targeted Nexus',
189                         cost => 100,
190                         duration => 2,
191                         radius => 7,
192                 },
193                 {
194                         name => 'Time Warp',
195                         abbr => 'tw',
196                         desc => 'create a temporal field which slows ground units by 50%',
197                         cost => 100,
198                         radius => 3.5,
199                         range => 9,
200                         duration => 30,
201                 },
202         ],
203 },
204
205 {
206         race => 'protoss',
207         cat => 'base',
208         name => 'Nexus',
209         pop => -10,
210         min => 400,
211         gas => 0,
212         build => 100,
213         size => 5,
214         cargo => 0,
215         armor => 1,
216         hp => 1000,
217         shield => 1000,
218         attr => {
219                 armored => 1,
220                 structure => 1,
221         },
222         attack => [
223                 {
224                         anti => 3,
225                         name => 'Photon Overcharge',
226                         damage => 20,
227                         cooldown => 1.25,
228                         type => 'projectile',
229                         range => 13,
230                 },
231         ],
232         speed => 0,
233         sight => 11,
234         energy => 0,
235         capacity => 100,
236         special => [
237                 {
238                         name => 'Chrono Boost',
239                         abbr => 'cb',
240                         desc => '50% faster production speed at a targeted building',
241                         cost => 25,
242                         duration => 20,
243                 },
244         ],
245 },
246
247 {
248         race => 'protoss',
249         cat => 'gateway',
250         name => 'Zealot',
251         pop => 2,
252         min => 100,
253         gas => 0,
254         build => 38,
255         warp => 28,
256         size => 0.75,
257         cargo => 2,
258         armor => 1,
259         hp => 100,
260         shield => 50,
261         attr => {
262                 light => 1,
263                 organic => 1,
264         },
265         attack => [
266                 {
267                         anti => 1,
268                         name => 'Psi Blades',
269                         damage => 8,
270                         upgrade => 1,
271                         cooldown => 1.2,
272                         count => 2,
273                         range => 0,
274                 },
275         ],
276         speed => 2.25,
277         sight => 9,
278         special => [
279                 {
280                         name => 'Charge',
281                         abbr => 'ch',
282                         desc => 'on attack, increases movement speed to 6.05 for 3.5s',
283                         min => 200,
284                         gas => 200,
285                         build => 140,
286                         range => 4,
287                         duration => 3.5,
288                         cooldown => 10,
289                 },
290         ],
291         upgrade => [
292                 {
293                         name => 'Charge',
294                         speed => .5,
295                 },
296         ],
297 },
298
299 {
300         race => 'protoss',
301         cat => 'gateway',
302         name => 'Sentry',
303         pop => 2,
304         min => 50,
305         gas => 100,
306         build => 37,
307         warp => 32,
308         size => 1.25,
309         cargo => 2,
310         armor => 1,
311         hp => 40,
312         shield => 40,
313         attr => {
314                 light => 1,
315                 mech => 1,
316                 psionic => 1,
317         },
318         attack => [
319                 {
320                         anti => 3,
321                         name => 'Disruption Beam',
322                         damage => 6,
323                         upgrade => 1,
324                         cooldown => 1.0,
325                         range => 5,
326                 },
327         ],
328         speed => 2.25,
329         sight => 10,
330         energy => 50,
331         capacity => 200,
332         special => [
333                 {
334                         name => 'Force Field',
335                         abbr => 'ff',
336                         desc => 'erect a barries that impedes ground movement for 15s',
337                         cost => 50,
338                         range => 9,
339                         radius => 1.7,
340                         duration => 15,
341                 },
342                 {
343                         name => 'Guardian Shield',
344                         abbr => 'gs',
345                         desc => 'reduces ranged damage by 2 for friendly units within 4 radius',
346                         cost => 75,
347                         radius => 4,
348                         duration => 15,
349                 },
350                 {
351                         name => 'Hallucination',
352                         abbr => 'hl',
353                         desc => 'create fake replica of a protoss unit for one minute',
354                         cost => 100,
355                         duration => 60,
356                         range => 0,
357                 },
358         ],
359 },
360
361 {
362         race => 'protoss',
363         cat => 'gateway',
364         name => 'Stalker',
365         pop => 2,
366         min => 125,
367         gas => 50,
368         build => 42,
369         warp => 32,
370         size => 1.25,
371         cargo => 2,
372         armor => 1,
373         hp => 80,
374         shield => 80,
375         attr => {
376                 armored => 1,
377                 mech => 1,
378         },
379         attack => [
380                 {
381                         anti => 3,
382                         name => 'Particle Disruptors',
383                         damage => 10,
384                         upgrade => 1,
385                         bonus => {
386                                 armored => 4,
387                         },
388                         type => 'projectile',
389                         cooldown => 1.44,
390                         range => 6,
391                 },
392         ],
393         speed => 2.9531,
394         sight => 10,
395         special => [
396                 {
397                         name => 'Blink',
398                         abbr => 'bl',
399                         desc => 'teleport to visible location',
400                         min => 150,
401                         gas => 150,
402                         build => 170,
403                         range => 8,
404                         cooldown => 10,
405                 },
406         ],
407 },
408
409 {
410         race => 'protoss',
411         cat => 'gateway',
412         name => 'High Templar',
413         pop => 2,
414         min => 50,
415         gas => 150,
416         build => 55,
417         warp => 45,
418         size => 0.75,
419         cargo => 2,
420         armor => 0,
421         hp => 40,
422         shield => 40,
423         attr => {
424                 light => 1,
425                 psionic => 1,
426                 organic => 1,
427         },
428         speed => 1.875,
429         sight => 10,
430         energy => 50,
431         capacity => 200,
432         special => [
433                 {
434                         name => 'Feedback',
435                         abbr => 'fb',
436                         desc => 'target will lose its energy and receive damage equal to that amount',
437                         cost => 50,
438                         range => 9,
439                 },
440                 {
441                         name => 'Psionic Storm',
442                         abbr => 'ps',
443                         desc => 'deals 80 damage over 4 seconds to units in targeted area',
444                         cost => 75,
445                         cooldown => 2,
446                         duration => 4,
447                         radius => 1.5,
448                         range => 9,
449                         min => 200,
450                         gas => 200,
451                         build => 110,
452                 },
453         ],
454 },
455
456 {
457         race => 'protoss',
458         cat => 'gateway',
459         name => 'Dark Templar',
460         pop => 2,
461         min => 125,
462         gas => 125,
463         build => 55,
464         warp => 45,
465         size => 0.75,
466         cargo => 2,
467         armor => 1,
468         hp => 40,
469         shield => 80,
470         attr => {
471                 light => 1,
472                 organic => 1,
473                 psionic => 1,
474         },
475         attack => [
476                 {
477                         anti => 1,
478                         name => 'Warp Blade',
479                         damage => 45,
480                         upgrade => 5,
481                         cooldown => 1.694,
482                         range => 0,
483                 },
484         ],
485         speed => 2.8125,
486         sight => 8,
487         special => [
488                 {
489                         name => 'Permanent Cloak',
490                         abbr => 'cl',
491                         desc => 'cloaked at all times',
492                         duration => -1,
493                 },
494         ],
495 },
496
497 {
498         race => 'protoss',
499         cat => 'gateway',
500         name => 'Archon',
501         min => 100, # or 175 or 250
502         gas => 300, # or 275 or 250
503         pop => 4,
504         build => 12,
505         base => ['Templar', 'Templar'],
506         size => 1.5,
507         cargo => 4,
508         armor => 0,
509         hp => 10,
510         shield => 350,
511         attr => {
512                 psionic => 1,
513                 massive => 1,
514         },
515         attack => [
516                 {
517                         anti => 3,
518                         name => 'Psionic Shockwave',
519                         damage => 25,
520                         upgrade => 3,
521                         bonus => {
522                                 organic => 10,
523                                 -organic => 1,
524                         },
525                         splash => 1,
526                         cooldown => 1.754,
527                         range => 3,
528                 },
529         ],
530         speed => 2.8125,
531         sight => 9,
532 },
533
534 {
535         race => 'protoss',
536         cat => 'robotic',
537         name => 'Observer',
538         pop => 1,
539         min => 25,
540         gas => 75,
541         build => 30,
542         size => 1,
543         cargo => 0,
544         armor => 0,
545         hp => 40,
546         shield => 20,
547         attr => {
548                 light => 1,
549                 mech => 1,
550                 flying => 1,
551         },
552         speed => 1.875,
553         sight => 11,
554         detect => 1,
555         special => [
556                 {
557                         name => 'Permanent Cloak',
558                         abbr => 'cl',
559                         desc => 'cloaked at all times',
560                         duration => -1,
561                 },
562         ],
563         upgrade => [
564                 {
565                         name => 'Gravitic Boosters',
566                         min => 100,
567                         gas => 100,
568                         build => 80,
569                         speed => 0.9375,
570                 },
571         ],
572 },
573
574 {
575         race => 'protoss',
576         cat => 'robotic',
577         name => 'Warp Prism',
578         pop => 2,
579         min => 200,
580         gas => 0,
581         build => 50,
582         size => 1.75,
583         cargo => -8,
584         armor => 0,
585         hp => 100,
586         shield => 100,
587         attr => {
588                 armored => 1,
589                 mech => 1,
590                 psionic => 1,
591                 flying => 1,
592         },
593         speed => 2.9531,
594         sight => 10,
595         special => [
596                 {
597                         name => 'Phasing Mode',
598                         abbr => 'pm',
599                         desc => 'basically transforms into a hovering pylon',
600                 },
601         ],
602         upgrade => [
603                 {
604                         name => 'Gravitic Drive',
605                         min => 100,
606                         gas => 100,
607                         build => 80,
608                         speed => 0.422,
609                 },
610         ],
611 },
612
613 {
614         race => 'protoss',
615         cat => 'robotic',
616         name => 'Immortal',
617         pop => 4,
618         min => 250,
619         gas => 100,
620         build => 55,
621         size => 1.5,
622         cargo => 4,
623         armor => 1,
624         hp => 200,
625         shield => 100,
626         attr => {
627                 armored => 1,
628                 mech => 1,
629         },
630         attack => [
631                 {
632                         anti => 1,
633                         name => 'Phase Disruptors',
634                         damage => 20,
635                         upgrade => 2,
636                         bonus => {
637                                 armored => 30,
638                                 -armored => 3,
639                         },
640                         cooldown => 1.45,
641                         range => 6,
642                 },
643         ],
644         speed => 2.25,
645         sight => 9,
646         special => [
647                 {
648                         name => 'Hardened Shield',
649                         abbr => 'hs',
650                         desc => 'reduce all damage on shields to a maximum of 10',
651                         duration => -1,
652                 },
653         ],
654 },
655
656 {
657         race => 'protoss',
658         cat => 'robotic',
659         name => 'Colossus',
660         pop => 6,
661         min => 300,
662         gas => 200,
663         build => 75,
664         size => 2,
665         cargo => 8,
666         armor => 1,
667         hp => 200,
668         shield => 150,
669         attr => {
670                 armored => 1,
671                 mech => 1,
672                 massive => 1,
673                 jump => 'Cliff Walk',
674         },
675         attack => [
676                 {
677                         anti => 1,
678                         name => 'Thermal Lances',
679                         damage => 15,
680                         upgrade => 2,
681                         splash => 'line',
682                         cooldown => 1.65,
683                         count => 2,
684                         range => 6,
685                 },
686         ],
687         speed => 2.25,
688         sight => 10,
689         upgrade => [
690                 {
691                         name => 'Extended Thermal Lance',
692                         min => 200,
693                         gas => 200,
694                         build => 140,
695                         attack => [
696                                 {
697                                         range => 3,
698                                 },
699                         ],
700                 },
701         ],
702 },
703
704 {
705         race => 'protoss',
706         cat => 'stargate',
707         name => 'Phoenix',
708         pop => 2,
709         min => 150,
710         gas => 100,
711         build => 35,
712         size => 1.5,
713         cargo => 0,
714         armor => 0,
715         hp => 120,
716         shield => 60,
717         attr => {
718                 light => 1,
719                 mech => 1,
720                 flying => 1,
721         },
722         attack => [
723                 {
724                         anti => 2,
725                         name => 'Ion Cannons',
726                         damage => 5,
727                         upgrade => 1,
728                         bonus => {
729                                 light => 5,
730                         },
731                         type => 'projectile',
732                         cooldown => 1.11,
733                         count => 2,
734                         range => 5,
735                 },
736         ],
737         speed => 4.25,
738         sight => 10,
739         energy => 50,
740         capacity => 200,
741         special => [
742                 {
743                         name => 'Graviton Beam',
744                         abbr => 'gb',
745                         desc => 'lifts a ground unit into the air for 10s',
746                         cost => 50,
747                         range => 4,
748                         duration => 10,
749                 },
750         ],
751         upgrade => [
752                 {
753                         name => 'Anion Pulse-Crystals',
754                         min => 150,
755                         gas => 150,
756                         build => 90,
757                         attack => [
758                                 {
759                                         range => 2,
760                                 },
761                         ],
762                 },
763         ],
764 },
765
766 {
767         race => 'protoss',
768         cat => 'stargate',
769         name => 'Void Ray',
770         pop => 4,
771         min => 250,
772         gas => 150,
773         build => 60,
774         size => 1.5,
775         cargo => 0,
776         armor => 0,
777         hp => 150,
778         shield => 100,
779         attr => {
780                 armored => 1,
781                 mech => 1,
782                 flying => 1,
783         },
784         attack => [
785                 {
786                         anti => 3,
787                         name => 'Prismatic Beam',
788                         damage => 6,
789                         upgrade => 1,
790                         bonus => {
791                                 armored => 4,
792                                 -armored => 1,
793                         },
794                         cooldown => 0.5,
795                         range => 6, # keeps firing until range 8
796                 },
797         ],
798         speed => 2.25,
799         sight => 10,
800         special => [
801                 {
802                         name => 'Prismatic Alignment',
803                         abbr => 'pa',
804                         desc => 'increases damage to armored by 6 for 20 seconds',
805                         duration => 20,
806                         cooldown => 60,
807                         attack => [
808                                 {
809                                         bonus => {
810                                                 armored => 6,
811                                         },
812                                 },
813                         ],
814                 },
815         ],
816 },
817
818 {
819         race => 'protoss',
820         cat => 'stargate',
821         name => 'Oracle',
822         pop => 3,
823         min => 150,
824         gas => 150,
825         build => 50,
826         size => 1.5,
827         cargo => 0,
828         armor => 0,
829         hp => 100,
830         shield => 60,
831         attr => {
832                 light => 1,
833                 mech => 1,
834                 psionic => 1,
835                 flying => 1,
836         },
837         attack => [
838                 {
839                         anti => 1,
840                         name => 'Pulsar Beam',
841                         damage => 15,
842                         # costs energy
843                         bonus => {
844                                 light => 10,
845                         },
846                         cooldown => 0.86,
847                         cost => 25,
848                         maint => 1.4,
849                         range => 5, #XXX 4?
850                 },
851         ],
852         speed => 4,
853         sight => 10,
854         energy => 50, #XXX
855         capacity => 200,
856         special => [
857                 {
858                         name => 'Revelation',
859                         abbr => 'rv',
860                         desc => 'hit enemy units and buildings are revealed for 1 minute',
861                         cost => 75,
862                         range => 9,
863                         cooldown => 3,
864                         duration => 60,
865                         radius => 6,
866                 },
867                 {
868                         name => 'Envision',
869                         abbr => 'ev',
870                         desc => 'temporary detection within sight range',
871                         cost => 50,
872                         range => 14,
873                         duration => 60,
874                 },
875         ],
876 },
877
878 {
879         race => 'protoss',
880         cat => 'stargate',
881         name => 'Tempest',
882         pop => 4,
883         min => 300,
884         gas => 200,
885         build => 60,
886         size => 2.5,
887         cargo => 0,
888         armor => 2,
889         hp => 120,
890         shield => 60,
891         attr => {
892                 armored => 1,
893                 mech => 1,
894                 massive => 1,
895                 flying => 1,
896         },
897         attack => [
898                 {
899                         anti => 2,
900                         name => 'Kinetic Overload',
901                         damage => 30,
902                         upgrade => 3,
903                         bonus => {
904                                 massive => 14,
905                                 -massive => 2,
906                         },
907                         type => 'projectile',
908                         cooldown => 3.3,
909                         range => 15,
910                 },
911                 {
912                         anti => 1,
913                         name => 'Resonance Coil',
914                         damage => 30,
915                         upgrade => 3,
916                         type => 'projectile',
917                         cooldown => 3.3,
918                         range => 15,
919                 },
920         ],
921         speed => 1.875,
922         sight => 12,
923 },
924
925 {
926         race => 'protoss',
927         cat => 'stargate',
928         name => 'Carrier',
929         pop => 6,
930         min => 350,
931         gas => 250,
932         build => 120,
933         size => 2.5,
934         cargo => 0,
935         armor => 2,
936         hp => 300,
937         shield => 150,
938         attr => {
939                 armored => 1,
940                 mech => 1,
941                 massive => 1,
942                 flying => 1,
943         },
944         attack => [
945                 {
946                         anti => 3,
947                         count => 8,
948                         range => 8, # leash range 14
949                         dps => [26.7, undef, undef, 42.6],
950                         cooldown => 0.5,
951                 },
952         ],
953         speed => 1.875,
954         sight => 12,
955         special => [
956                 {
957                         alt => 'Interceptor',
958                         pop => 0,
959                         min => 25,
960                         gas => 0,
961                         build => 8,
962                         size => 0.5,
963                         cargo => 0,
964                         armor => 0,
965                         hp => 40,
966                         shield => 40,
967                         attr => {
968                                 light => 1,
969                                 mech => 1,
970                                 flying => 1,
971                         },
972                         attack => [
973                                 {
974                                         anti => 3,
975                                         name => 'Interceptor Beams',
976                                         damage => 5,
977                                         upgrade => 1,
978                                         cooldown => 3.0,
979                                         count => 2,
980                                         range => 2,
981                                 },
982                         ],
983                         speed => 7.5,
984                         sight => 7,
985                 },
986         ],
987         upgrade => [
988                 {
989                         name => 'Graviton Catapult',
990                         min => 150,
991                         gas => 150,
992                         build => 80,
993                         desc => 'increases Interceptor launch speed from 2/s to 4-8/s',
994                         attack => [
995                                 {
996                                         cooldown => -0.375, # -0.25
997                                 },
998                         ],
999                 },
1000         ],
1001 },
1002
1003 # terran
1004
1005 {
1006         race => 'terran',
1007         cat => 'base',
1008         name => 'SCV', # T-280 Space Construction Vehicle
1009         pop => 1,
1010         min => 50,
1011         gas => 0,
1012         build => 17,
1013         size => 0.75,
1014         cargo => 1,
1015         armor => 0,
1016         hp => 45,
1017         attr => {
1018                 light => 1,
1019                 organic => 1,
1020                 mech => 1,
1021         },
1022         attack => [
1023                 {
1024                         anti => 1,
1025                         name => 'Fusion Cutter',
1026                         damage => 5,
1027                         cooldown => 1.5,
1028                         range => 0,
1029                 },
1030         ],
1031         speed => 2.8125,
1032         sight => 8,
1033         special => [
1034                 {
1035                         name => 'worker',
1036                         abbr => '⚒',
1037                         desc => join("\n- ",
1038                                 'construct buildings',
1039                                 'repair mechanical units and buildings (speed as build time but 25% cost)',
1040                                 $GATHER,
1041                         ),
1042                 },
1043         ],
1044 },
1045
1046 {
1047         race => 'terran',
1048         cat => 'base',
1049         name => 'Mule',
1050         pop => 0,
1051         cargo => 0,
1052         min => 0,
1053         build => 0,
1054         size => 0.75,
1055         armor => 0,
1056         hp => 60,
1057         attr => {
1058                 light => 1,
1059                 mech => 1,
1060         },
1061         speed => 2.8,
1062         sight => 8,
1063         special => [
1064                 {
1065                         name => 'limited worker',
1066                         abbr => '⛏',
1067                         desc => join("\n- ",
1068                                 'repair like an SCV (but cannot build)',
1069                                 'gather 25 minerals after 6s: 200-225 over its 64s lifetime (equilavent to 3½ SCVs)',
1070                         ),
1071                         duration => 64,
1072                         energy => 50,
1073                 },
1074         ],
1075 },
1076
1077 {
1078         race => 'terran',
1079         cat => 'base',
1080         name => 'Missile Turret',
1081         min => 100,
1082         gas => 0,
1083         build => 25,
1084         size => 2,
1085         cargo => 0,
1086         armor => 0,
1087         hp => 250,
1088         attr => {
1089                 armored => 1,
1090                 mech => 1,
1091                 structure => 1,
1092         },
1093         attack => [
1094                 {
1095                         anti => 2,
1096                         name => 'Longbolt Missiles',
1097                         damage => 12,
1098                         cooldown => 0.8608,
1099                         count => 2,
1100                         type => 'projectile',
1101                         range => 7,
1102                 },
1103         ],
1104         speed => 0,
1105         sight => 11,
1106         detect => 1,
1107         upgrade => [
1108                 {
1109                         name => 'Hi-Sec Auto Tracking',
1110                         min => 100,
1111                         gas => 100,
1112                         build => 80,
1113                         attack => [
1114                                 {
1115                                         range => 1,
1116                                 },
1117                         ],
1118                 },
1119                 {
1120                         name => 'Building Armor',
1121                         min => 150,
1122                         gas => 150,
1123                         build => 140,
1124                         armor => 2,
1125                 },
1126         ],
1127 },
1128
1129 {
1130         race => 'terran',
1131         cat => 'base',
1132         name => 'Planetary Fortress',
1133         base => ['Command Center'],
1134         pop => -11,
1135         min => 150,
1136         gas => 150,
1137         build => 50,
1138         size => 5,
1139         cargo => 0,
1140         armor => 3,
1141         hp => 1500,
1142         attr => {
1143                 armored => 1,
1144                 mech => 1,
1145                 structure => 1,
1146         },
1147         attack => [
1148                 {
1149                         anti => 1,
1150                         name => 'Ibiks Cannon',
1151                         damage => 40,
1152                         splash => 1,
1153                         cooldown => 2,
1154                         range => 6,
1155                 },
1156         ],
1157         speed => 0,
1158         sight => 11,
1159         upgrade => [
1160                 {
1161                         name => 'Neosteel Frame',
1162                         min => 100,
1163                         gas => 100,
1164                         build => 110,
1165                         desc => 'increase load space by 5',
1166                 },
1167                 {
1168                         name => 'Building Armor',
1169                         min => 150,
1170                         gas => 150,
1171                         build => 140,
1172                         armor => 2,
1173                 },
1174                 {
1175                         name => 'Hi-Sec Auto Tracking',
1176                         min => 100,
1177                         gas => 100,
1178                         build => 80,
1179                         attack => [
1180                                 {
1181                                         range => 1,
1182                                 },
1183                         ],
1184                 },
1185         ],
1186 },
1187
1188 {
1189         race => 'terran',
1190         cat => 'barracks',
1191         name => 'Marine',
1192         pop => 1,
1193         min => 50,
1194         gas => 0,
1195         build => 25,
1196         size => 0.75,
1197         cargo => 1,
1198         armor => 0,
1199         hp => 45,
1200         attr => {
1201                 light => 1,
1202                 organic => 1,
1203         },
1204         attack => [
1205                 {
1206                         anti => 3,
1207                         name => 'C-14 Rifle',
1208                         damage => 6,
1209                         upgrade => 1,
1210                         cooldown => 0.8608,
1211                         range => 5,
1212                 },
1213         ],
1214         speed => 2.25,
1215         upgrade => [
1216                 {
1217                         name => 'Combat Shield',
1218                         min => 100,
1219                         gas => 100,
1220                         build => 110,
1221                         hp => 10,
1222                 },
1223         ],
1224         special => [
1225                 {
1226                         name => 'Stim Pack',
1227                         abbr => 'sp',
1228                         desc => 'increases attack and movement speed by 50% for 15s at the cost of 10 health',
1229                         speed => 1.125,
1230                         min => 100,
1231                         gas => 100,
1232                         build => 170,
1233                         attack => [
1234                                 {
1235                                         anti => 3,
1236                                         damage => 6,
1237                                         upgrade => 1,
1238                                         cooldown => 0.5739,
1239                                         range => 5,
1240                                 },
1241                         ],
1242                         duration => 15,
1243                 },
1244         ],
1245         sight => 9,
1246 },
1247
1248 {
1249         race => 'terran',
1250         cat => 'barracks',
1251         name => 'Marauder',
1252         pop => 2,
1253         min => 100,
1254         gas => 25,
1255         build => 30,
1256         size => 1.125,
1257         cargo => 2,
1258         armor => 1,
1259         hp => 125,
1260         attr => {
1261                 armored => 1,
1262                 organic => 1,
1263         },
1264         attack => [
1265                 {
1266                         anti => 1,
1267                         name => 'Punisher Grenades',
1268                         damage => 10,
1269                         upgrade => 1,
1270                         bonus => {
1271                                 armored => 10,
1272                                 -armored => 1,
1273                         },
1274                         type => 'projectile',
1275                         cooldown => 1.5,
1276                         range => 6,
1277                 },
1278         ],
1279         special => [
1280                 {
1281                         name => 'Stim Pack',
1282                         abbr => 'sp',
1283                         desc => 'increases attack and movement speed by 50% for 15s at the cost of 10 health',
1284                         speed => 1.125,
1285                         min => 100,
1286                         gas => 100,
1287                         build => 170,
1288                         attack => [
1289                                 {
1290                                         anti => 1,
1291                                         damage => 10,
1292                                         upgrade => 1,
1293                                         bonus => {
1294                                                 armored => 10,
1295                                                 -armored => 1,
1296                                         },
1297                                         type => 'projectile',
1298                                         cooldown => 1.0,
1299                                         range => 6,
1300                                 },
1301                         ],
1302                         duration => 15,
1303                 },
1304                 {
1305                         name => 'Concussive Shells',
1306                         abbr => 'cs',
1307                         desc => 'slows non-massive enemy movement speed by 50% for 1.5s when hit',
1308                         min => 50,
1309                         gas => 50,
1310                         build => 60,
1311                         duration => -1,
1312                 },
1313         ],
1314         speed => 2.25,
1315         sight => 10,
1316 },
1317
1318 {
1319         race => 'terran',
1320         cat => 'barracks',
1321         name => 'Reaper',
1322         pop => 1,
1323         min => 50,
1324         gas => 50,
1325         build => 40,
1326         size => 0.75,
1327         cargo => 1,
1328         armor => 0,
1329         hp => 60,
1330         attr => {
1331                 light => 1,
1332                 organic => 1,
1333                 jump => 'Jet Pack',
1334         },
1335         attack => [
1336                 {
1337                         anti => 1,
1338                         name => 'P-45 Reaper Pistol',
1339                         damage => 4,
1340                         upgrade => 1,
1341                         cooldown => 1.1,
1342                         count => 2,
1343                         range => 4.5,
1344                 },
1345         ],
1346         speed => 3.75,
1347         sight => 9,
1348         special => [
1349                 {
1350                         name => 'Combat Drugs',
1351                         abbr => 'cd',
1352                         desc => 'heal 2 HP per second after 10 seconds out of combat',
1353                         duration => -1,
1354                 },
1355         ],
1356 },
1357
1358 {
1359         race => 'terran',
1360         cat => 'barracks',
1361         name => 'Ghost',
1362         pop => 2,
1363         min => 200,
1364         gas => 100,
1365         build => 40,
1366         size => 0.75,
1367         cargo => 2,
1368         armor => 0,
1369         hp => 100,
1370         attr => {
1371                 organic => 1,
1372                 psionic => 1,
1373         },
1374         attack => [
1375                 {
1376                         anti => 3,
1377                         name => 'C-10 Rifle',
1378                         damage => 10,
1379                         upgrade => 1,
1380                         bonus => {
1381                                 light => 10,
1382                                 -light => 1,
1383                         },
1384                         cooldown => 1.5,
1385                         range => 6,
1386                 },
1387         ],
1388         speed => 2.25,
1389         sight => 11,
1390         energy => 75,
1391         capacity => 200,
1392         special => [
1393                 {
1394                         name => 'Sniper Round',
1395                         abbr => 'sr',
1396                         desc => '25 damage to a single biological unit, or 50 to psionic',
1397                         cost => 25,
1398                         range => 10,
1399                 },
1400                 {
1401                         name => 'EMP Round',
1402                         abbr => 'ep',
1403                         desc => 'reveals cloaked units and removes up to 100 shields and energy',
1404                         cost => 75,
1405                         range => 10,
1406                         radius => 1.5,
1407                 },
1408                 {
1409                         name => 'Personal Cloaking',
1410                         abbr => 'cl',
1411                         desc => 'has the ability to cloak',
1412                         cost => 25,
1413                         maint => .9, # /s
1414                         min => 150,
1415                         gas => 150,
1416                         build => 120,
1417                 },
1418                 {
1419                         name => 'Nuclear Strike',
1420                         abbr => 'ns',
1421                         desc => 'guides a missile which will do 300 damage plus 200 to buildings',
1422                         duration => 20,
1423                         cooldown => 20,
1424                         range => 12,
1425                 },
1426         ],
1427 },
1428
1429 {
1430         race => 'terran',
1431         cat => 'factory',
1432         name => 'Hellion',
1433         pop => 2,
1434         min => 100,
1435         gas => 0,
1436         build => 30,
1437         size => 1.25,
1438         cargo => 2,
1439         armor => 0,
1440         hp => 90,
1441         attr => {
1442                 light => 1,
1443                 mech => 1,
1444         },
1445         attack => [
1446                 {
1447                         anti => 1,
1448                         name => 'Infernal Flamethrower',
1449                         damage => 8,
1450                         upgrade => 1,
1451                         bonus => {
1452                                 light => 6,
1453                                 -light => 1,
1454                         },
1455                         splash => 'line',
1456                         cooldown => 2.5,
1457                         range => 5,
1458                 },
1459         ],
1460         speed => 4.25,
1461         sight => 10,
1462         special => [
1463                 {
1464                         name => 'Hellbat Mode',
1465                         abbr => 'hm',
1466                         desc => 'transform to Hellbat',
1467                         duration => 4,
1468                 },
1469         ],
1470         upgrade => [
1471                 {
1472                         name => 'Infernal Pre-Igniter',
1473                         min => $V lt v4.11.0 ? 150 : 100,
1474                         gas => $V lt v4.11.0 ? 150 : 100,
1475                         build => 110,
1476                         attack => [
1477                                 {
1478                                         damage => 6,
1479                                         upgrade => 1,
1480                                         bonus => {
1481                                                 light => 5,
1482                                                 -light => 0,
1483                                         },
1484                                 },
1485                         ],
1486                 },
1487         ],
1488 },
1489
1490 {
1491         race => 'terran',
1492         cat => 'factory',
1493         name => 'Hellbat',
1494         pop => 2,
1495         min => 100,
1496         gas => 0,
1497         build => 30,
1498         size => 1.25,
1499         cargo => 4,
1500         armor => 0,
1501         hp => 135,
1502         attr => {
1503                 light => 1,
1504                 organic => 1,
1505                 mech => 1,
1506         },
1507         attack => [
1508                 {
1509                         anti => 1,
1510                         name => 'Napalm Spray',
1511                         damage => 18,
1512                         upgrade => 2,
1513                         bonus => {
1514                                 light => 0, # visibility for upgrade
1515                         },
1516                         splash => 1,
1517                         cooldown => 2,
1518                         range => 2,
1519                 },
1520         ],
1521         speed => 2.25,
1522         sight => 10,
1523         special => [
1524                 {
1525                         name => 'Hellion Mode',
1526                         abbr => 'hm',
1527                         desc => 'transform to Hellion',
1528                         transform => 4,
1529                 },
1530         ],
1531         upgrade => [
1532                 {
1533                         name => 'Infernal Pre-Igniter',
1534                         min => $V lt v4.11.0 ? 150 : 100,
1535                         gas => $V lt v4.11.0 ? 150 : 100,
1536                         build => 110,
1537                         attack => [
1538                                 {
1539                                         bonus => {
1540                                                 light => 12,
1541                                                 -light => 1,
1542                                         },
1543                                 },
1544                         ],
1545                 },
1546         ],
1547 },
1548
1549 {
1550         race => 'terran',
1551         cat => 'factory',
1552         name => 'Widow Mine',
1553         pop => 2,
1554         min => 75,
1555         gas => 25,
1556         build => 40,
1557         size => 1,
1558         cargo => 2,
1559         armor => 0,
1560         hp => 90,
1561         attr => {
1562                 light => 1,
1563                 mech => 1,
1564         },
1565         attack => [
1566                 {
1567                         anti => 3,
1568                         name => 'Sentinel Missiles',
1569                         damage => 125,
1570                         bonus => {
1571                                 shields => 40,
1572                         },
1573                         splash => 1,
1574                         cooldown => 40,
1575                         range => 5,
1576                 },
1577         ],
1578         speed => 2.8125,
1579         sight => 7,
1580         upgrade => [
1581                 {
1582                         name => 'Drilling Claws',
1583                         abbr => 'dc',
1584                         desc => 'decreases burrow time from 3 to 1 second',
1585                         min => 150,
1586                         gas => 150,
1587                         build => 110,
1588                 },
1589         ],
1590 },
1591
1592 {
1593         race => 'terran',
1594         cat => 'factory',
1595         name => 'Siege Tank',
1596         pop => 3,
1597         min => 150,
1598         gas => 125,
1599         build => 45,
1600         size => 1.75,
1601         cargo => 4,
1602         armor => 1,
1603         hp => 160,
1604         attr => {
1605                 armored => 1,
1606                 mech => 1,
1607         },
1608         attack => [
1609                 {
1610                         anti => 1,
1611                         name => '90 mm Twin Cannon',
1612                         damage => 15,
1613                         upgrade => 2,
1614                         bonus => {
1615                                 armored => 10,
1616                                 -armored => 1,
1617                         },
1618                         cooldown => 1.04,
1619                         range => 7,
1620                 },
1621         ],
1622         special => [
1623                 {
1624                         name => 'Siege Mode',
1625                         abbr => 'sm',
1626                         alt => 'Sieged Tank',
1627                         cargo => 0,
1628                         attack => [
1629                                 {
1630                                         anti => 1,
1631                                         name => '120 mm Shock Cannon',
1632                                         damage => 35,
1633                                         upgrade => 3,
1634                                         bonus => {
1635                                                 armored => 15,
1636                                                 -armored => 2,
1637                                         },
1638                                         splash => 1,
1639                                         cooldown => 3,
1640                                         range => 13,
1641                                 },
1642                         ],
1643                         speed => 0,
1644                         transform => 4,
1645                 },
1646         ],
1647         speed => 2.25,
1648         sight => 11,
1649 },
1650
1651 {
1652         race => 'terran',
1653         cat => 'factory',
1654         name => 'Thor',
1655         pop => 6,
1656         min => 300,
1657         gas => 200,
1658         build => 60,
1659         size => 1.875,
1660         cargo => 8,
1661         armor => 1,
1662         hp => 400,
1663         attr => {
1664                 armored => 1,
1665                 mech => 1,
1666                 massive => 1,
1667         },
1668         attack => [
1669                 {
1670                         anti => 1,
1671                         name => "Thor's Hammer",
1672                         damage => 30,
1673                         upgrade => 3,
1674                         cooldown => 1.28,
1675                         range => 7,
1676                         count => 2,
1677                 },
1678                 {
1679                         anti => 2,
1680                         name => 'Javelin Missiles',
1681 #                       name => 'Explosive Payload',
1682                         damage => 6,
1683                         upgrade => 1,
1684                         bonus => {
1685                                 light => 6,
1686                                 -light => 1,
1687                         },
1688                         splash => 1,
1689                         type => 'projectile',
1690                         cooldown => 3,
1691                         range => 10,
1692                         count => 4,
1693                 },
1694                 {
1695                         anti => 2,
1696                         name => 'Punisher Cannons',
1697 #                       name => 'High Impact Payload',
1698                         damage => 24,
1699                         upgrade => 2,
1700                         type => 'projectile',
1701                         cooldown => 2,
1702                         range => 10,
1703                 },
1704         ],
1705         speed => 1.875,
1706         sight => 11,
1707 },
1708
1709 {
1710         race => 'terran',
1711         cat => 'starport',
1712         name => 'Viking',
1713         pop => 2,
1714         min => 150,
1715         gas => 75,
1716         build => 42,
1717         size => 1.5,
1718         cargo => 0,
1719         armor => 0,
1720         hp => 125,
1721         attr => {
1722                 armored => 1,
1723                 mech => 1,
1724                 flying => 1,
1725         },
1726         attack => [
1727                 {
1728                         anti => 2,
1729                         name => 'Lanzer Torpedoes',
1730                         damage => 10,
1731                         upgrade => 1,
1732                         bonus => {
1733                                 armored => 4,
1734                         },
1735                         type => 'projectile',
1736                         cooldown => 2,
1737                         count => 2,
1738                         range => 9,
1739                 },
1740         ],
1741         special => [
1742                 {
1743                         name => 'Assault Mode',
1744                         abbr => 'am',
1745                         transform => 3,
1746                         alt => 'Landed Viking',
1747                         cargo => 2,
1748                         attack => [
1749                                 {
1750                                         anti => 1,
1751                                         name => 'Twin Gatling Cannon',
1752                                         damage => 12,
1753                                         upgrade => 1,
1754                                         cooldown => 1,
1755                                         range => 6,
1756                                 },
1757                         ],
1758                 },
1759         ],
1760         speed => 2.75,
1761         sight => 10,
1762 },
1763
1764 {
1765         race => 'terran',
1766         cat => 'starport',
1767         name => 'Medivac',
1768         pop => 2,
1769         min => 100,
1770         gas => 100,
1771         build => 42,
1772         size => 1.5,
1773         cargo => -8,
1774         armor => 1,
1775         hp => 150,
1776         attr => {
1777                 armored => 1,
1778                 mech => 1,
1779                 flying => 1,
1780         },
1781         speed => 2.5,
1782         energy => 50,
1783         capacity => 200,
1784         special => [
1785                 {
1786                         name => 'Heal',
1787                         abbr => 'hl',
1788                         desc => 'automatically heals nearby biological allies for 9 HP per second',
1789                         range => 4,
1790                         cost => 3,
1791                 },
1792                 {
1793                         name => 'Ignite Afterburners',
1794                         abbr => 'ia',
1795                         desc => 'boost speed and accelleration to 4.25 for 8s',
1796                         speed => 4.25,
1797                         duration => 8,
1798                         cooldown => 20,
1799                 },
1800         ],
1801         sight => 11,
1802         upgrade => [
1803                 {
1804                         name => 'Caduceus Reactor',
1805                         min => 100,
1806                         gas => 100,
1807                         build => 80,
1808                         energy => 25,
1809                 },
1810         ],
1811 },
1812
1813 {
1814         race => 'terran',
1815         cat => 'starport',
1816         name => 'Banshee', # AH/G-24
1817         pop => 3,
1818         min => 150,
1819         gas => 100,
1820         build => 60,
1821         size => 1.5,
1822         cargo => 0,
1823         armor => 0,
1824         hp => 140,
1825         attr => {
1826                 light => 1,
1827                 mech => 1,
1828                 flying => 1,
1829         },
1830         attack => [
1831                 {
1832                         anti => 1,
1833                         name => 'Backlash Rockets',
1834                         damage => 12,
1835                         upgrade => 1,
1836                         type => 'projectile',
1837                         cooldown => 1.25,
1838                         count => 2,
1839                         range => 6,
1840                 },
1841         ],
1842         speed => 2.75,
1843         sight => 10,
1844         energy => 50,
1845         capacity => 200,
1846         special => [
1847                 {
1848                         name => 'Cloak',
1849                         abbr => 'cl',
1850                         desc => 'has the ability to cloak',
1851                         cost => 25,
1852                         maint => .9,
1853                         min => 100,
1854                         gas => 100,
1855                         build => 110,
1856                 },
1857         ],
1858 },
1859
1860 {
1861         race => 'terran',
1862         cat => 'starport',
1863         name => 'Raven',
1864         pop => 2,
1865         min => 100,
1866         gas => 200,
1867         build => 60,
1868         size => 1.25,
1869         cargo => 0,
1870         armor => 1,
1871         hp => 140,
1872         attr => {
1873                 light => 1,
1874                 mech => 1,
1875                 flying => 1,
1876         },
1877         speed => 2.25,
1878         sight => 11,
1879         detect => 1,
1880         energy => 50,
1881         capacity => 200,
1882         special => [
1883                 {
1884                         alt => 'Auto-Turret',
1885                         abbr => 'at',
1886                         cost => 50,
1887                         size => 2,
1888                         cargo => 0,
1889                         armor => 1,
1890                         hp => 150,
1891                         attr => {
1892                                 armored => 1,
1893                                 mech => 1,
1894                                 structure => 1,
1895                         },
1896                         attack => [
1897                                 {
1898                                         anti => 3,
1899                                         name => '12 mm Gauss Cannon',
1900                                         damage => 8,
1901                                         cooldown => 0.8,
1902                                         range => 6,
1903                                 },
1904                         ],
1905                         speed => 0,
1906                         sight => 7,
1907                         upgrade => [
1908                                 {
1909                                         name => 'Hi-Sec Auto Tracking',
1910                                         min => 100,
1911                                         gas => 100,
1912                                         build => 80,
1913                                         attack => [
1914                                                 {
1915                                                         range => 1,
1916                                                 },
1917                                         ],
1918                                 },
1919                                 {
1920                                         name => 'Building Armor',
1921                                         min => 150,
1922                                         gas => 150,
1923                                         build => 140,
1924                                         armor => 2,
1925                                 },
1926                                 {
1927                                         name => 'Durable Materials',
1928                                         min => 150,
1929                                         gas => 150,
1930                                         build => 110,
1931                                         duration => 60,
1932                                 },
1933                         ],
1934                         duration => 180,
1935                 },
1936                 {
1937                         alt => 'Point Defense Drone',
1938 #                       abbr => 'pd',
1939                         cost => 100,
1940                         size => 1.2,
1941                         cargo => 0,
1942                         armor => 0,
1943                         hp => 50,
1944                         attr => {
1945                                 light => 1,
1946                                 mech => 1,
1947                                 structure => 1,
1948                                 flying => 1,
1949                         },
1950                         cooldown => 0,
1951                         attack => [
1952                                 {
1953                                         name => 'Point Defense Laser',
1954                                         range => 8,
1955                                 },
1956                         ],
1957                         sight => 7,
1958                         upgrade => [
1959                                 {
1960                                         name => 'Hi-Sec Auto Tracking',
1961                                         min => 100,
1962                                         gas => 100,
1963                                         build => 80,
1964                                         attack => [
1965                                                 {
1966                                                         range => 1,
1967                                                 },
1968                                         ],
1969                                 },
1970                                 {
1971                                         name => 'Building Armor',
1972                                         min => 150,
1973                                         gas => 150,
1974                                         build => 140,
1975                                         armor => 2,
1976                                 },
1977                                 {
1978                                         name => 'Durable Materials',
1979                                         min => 150,
1980                                         gas => 150,
1981                                         build => 110,
1982                                         duration => 10,
1983                                 },
1984                         ],
1985                         duration => 20,
1986                 },
1987                 {
1988                         name => 'Seeker Missile',
1989                         abbr => 'sm',
1990                         desc => 'launches missile to do 100 damage plus splash'
1991                                 . ' unless targeted unit moves to 13 range within 5 seconds of charging',
1992                         range => 10,
1993                         attack => [
1994                                 {
1995                                         damage => 100,
1996                                         splash => 1,
1997                                 },
1998                         ],
1999                         cost => 75,
2000                 },
2001         ],
2002         upgrade => [
2003                 {
2004                         name => 'Corvid Reactor',
2005                         min => 150,
2006                         gas => 150,
2007                         build => 110,
2008                         energy => 25,
2009                 },
2010         ],
2011 },
2012
2013 {
2014         race => 'terran',
2015         cat => 'starport',
2016         name => 'Battlecruiser',
2017         pop => 6,
2018         min => 400,
2019         gas => 300,
2020         build => 90,
2021         size => 2.5,
2022         cargo => 0,
2023         armor => 3,
2024         hp => 550,
2025         attr => {
2026                 armored => 1,
2027                 mech => 1,
2028                 massive => 1,
2029                 flying => 1,
2030         },
2031         attack => [
2032                 {
2033                         anti => 1,
2034                         name => 'ATS Laser Batteries',
2035                         damage => 8,
2036                         upgrade => 1,
2037                         cooldown => 0.225,
2038                         type => 'projectile',
2039                         range => 6,
2040                 },
2041                 {
2042                         anti => 2,
2043                         name => 'ATA Laser Batteries',
2044                         damage => 6,
2045                         upgrade => 1,
2046                         cooldown => 0.225,
2047                         type => 'projectile',
2048                         range => 6,
2049                 },
2050         ],
2051         speed => 1.875,
2052         sight => 12,
2053         energy => 50,
2054         capacity => 200,
2055         special => [
2056                 {
2057                         name => 'Yamato Cannon',
2058                         abbr => 'yc',
2059                         desc => '300 damage to a single target',
2060                         min => 150,
2061                         gas => 150,
2062                         build => 60,
2063                         duration => 3,
2064                         range => 10,
2065                         cost => 100,
2066                         attack => [
2067                                 {
2068                                         damage => 300,
2069                                 },
2070                         ],
2071                 },
2072         ],
2073         upgrade => [
2074                 {
2075                         name => 'Behemoth Reactor',
2076                         min => 150,
2077                         gas => 150,
2078                         build => 80,
2079                         energy => 25,
2080                 },
2081         ],
2082 },
2083
2084 # zerg
2085
2086 {
2087         race => 'zerg',
2088         cat => 'base',
2089         name => 'Drone',
2090         pop => 1,
2091         min => 50,
2092         gas => 0,
2093         build => 17,
2094         size => 0.75,
2095         cargo => 1,
2096         armor => 0,
2097         hp => 40,
2098         attr => {
2099                 light => 1,
2100                 organic => 1,
2101         },
2102         attack => [
2103                 {
2104                         anti => 1,
2105                         name => 'Claws',
2106                         damage => 5,
2107                         cooldown => 1.5,
2108                         range => 0,
2109                 },
2110         ],
2111         speed => 2.8125,
2112         creep => 1.0,
2113         sight => 8,
2114         special => [
2115                 {
2116                         name => 'worker',
2117                         abbr => '⚒',
2118                         desc => "morph into buildings\n- $GATHER",
2119                 },
2120         ],
2121 },
2122
2123 {
2124         race => 'zerg',
2125         cat => 'base',
2126         name => 'Queen',
2127         pop => 2,
2128         min => 150,
2129         gas => 0,
2130         build => 50,
2131         size => 1.75,
2132         cargo => 2,
2133         armor => 1,
2134         hp => 175,
2135         attr => {
2136                 organic => 1,
2137                 psionic => 1,
2138         },
2139         attack => [
2140                 {
2141                         anti => 1,
2142                         name => 'Claws',
2143                         damage => 4,
2144                         upgrade => 1,
2145                         cooldown => 1.0,
2146                         type => 'projectile', # except if range < 3
2147                         range => 5,
2148                         count => 2,
2149                 },
2150                 {
2151                         anti => 2,
2152                         name => 'Acid Spines',
2153                         damage => 9,
2154                         upgrade => 1,
2155                         cooldown => 1.0,
2156                         type => 'projectile', # except if range < 3
2157                         range => 7,
2158                 },
2159         ],
2160         speed => 0.9375,
2161         creep => 2.7,
2162         sight => 9,
2163         energy => 25,
2164         capacity => 200,
2165         special => [
2166                 {
2167                         name => 'Spawn Larva',
2168                         abbr => 'sl',
2169                         desc => 'injects a Hatchery to produce 4 Larvae after 40 seconds',
2170                         cost => 25,
2171                         range => 1,
2172                         cooldown => 2.5,
2173                         duration => 40,
2174                 },
2175                 {
2176                         name => 'Spawn Creep Tumor',
2177                         abbr => 'sc',
2178                         desc => 'place a tumor on creep which will expand it',
2179                         cost => 25,
2180                         range => 1,
2181                         duration => 15,
2182                 },
2183                 {
2184                         name => 'Transfusion',
2185                         abbr => 'tf',
2186                         desc => 'heal a friendly biological unit or building for 125 HP',
2187                         cost => 50,
2188                         range => 7,
2189                         cooldown => 1,
2190                 },
2191         ],
2192 },
2193
2194 {
2195         race => 'zerg',
2196         cat => 'base',
2197         name => 'Overlord',
2198         pop => -9,
2199         min => 100,
2200         gas => 0,
2201         build => 25,
2202         size => 0,
2203         cargo => 0,
2204         armor => 0,
2205         hp => 200,
2206         attr => {
2207                 armored => 1,
2208                 organic => 1,
2209                 flying => 1,
2210         },
2211         speed => 0.586,
2212         sight => 11,
2213         special => [
2214                 {
2215                         name => 'Generate Creep',
2216                         abbr => 'gc',
2217                         desc => 'place Zerg creep at current location',
2218                         duration => 15,
2219                         radius => 2,
2220                         req => 'Lair',
2221                 },
2222         ],
2223         upgrade => [
2224                 {
2225                         name => 'Pneumatized Carapace',
2226                         min => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2227                         gas => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2228                         build => 60,
2229                         speed => 1.294,
2230                 },
2231                 {
2232                         name => 'Ventral Sacs',
2233                         min => 200,
2234                         gas => 200,
2235                         build => 130,
2236                         cargo => -8,
2237                         req => 'Lair',
2238                 },
2239         ],
2240 },
2241
2242 {
2243         race => 'zerg',
2244         cat => 'base',
2245         name => 'Overseer',
2246         base => ['Overlord'],
2247         pop => -9,
2248         min => 100+50,
2249         gas => 50,
2250         build => 17,
2251         size => 0,
2252         cargo => 0,
2253         armor => 1,
2254         hp => 200,
2255         attr => {
2256                 armored => 1,
2257                 organic => 1,
2258                 flying => 1,
2259         },
2260         speed => 1.875,
2261         sight => 11,
2262         detect => 1,
2263         energy => 50,
2264         capacity => 200,
2265         special => [
2266                 {
2267                         name => 'Spawn Changeling',
2268                         abbr => 'sc',
2269                         alt => 'Changeling',
2270                         cost => 50,
2271                         duration => 150,
2272                         build => 1,
2273                         size => 0.75,
2274                         cargo => 0,
2275                         armor => 0,
2276                         hp => 5,
2277                         attr => {
2278                                 light => 1,
2279                                 organic => 1,
2280                         },
2281                         speed => 2.25,
2282                         creep => 1.0,
2283                         sight => 8,
2284                         range => 0,
2285                 },
2286                 {
2287                         name => 'Contaminate',
2288                         abbr => 'ct',
2289                         desc => 'covers an enemy structure in slime, preventing production and research for 30 seconds',
2290                         cost => 125,
2291                         range => 3,
2292                         duration => 30,
2293                 },
2294         ],
2295         upgrade => [
2296                 {
2297                         name => 'Pneumatized Carapace',
2298                         min => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2299                         gas => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2300                         build => 60,
2301                         speed => 3.375 - 1.875,
2302                 },
2303         ],
2304 },
2305
2306 {
2307         race => 'zerg',
2308         cat => 'creep',
2309         name => 'Larva',
2310         pop => 0,
2311         build => 15,
2312         size => 0.25,
2313         cargo => 0,
2314         armor => 10,
2315         hp => 25,
2316         attr => {
2317                 light => 1,
2318                 organic => 1,
2319         },
2320         speed => 0.5625,
2321         creep => 1.0,
2322         sight => 5,
2323         special => [
2324                 {
2325                         alt => 'Cocoon',
2326                         attr => {
2327                                 organic => 1,
2328                         },
2329                         hp => 200,
2330                         armor => 10,
2331                         size => 0.75,
2332                         sight => 5,
2333                         speed => 0,
2334                 },
2335         ],
2336 },
2337
2338 {
2339         race => 'zerg',
2340         cat => 'creep',
2341         name => 'Spine Crawler',
2342         min => 100,
2343         gas => 0,
2344         build => 50,
2345         size => 2,
2346         cargo => 0,
2347         armor => 2,
2348         hp => 300,
2349         attr => {
2350                 armored => 1,
2351                 organic => 1,
2352                 structure => 1,
2353         },
2354         attack => [
2355                 {
2356                         anti => 1,
2357                         name => 'Impaler Tentacle',
2358                         damage => 25,
2359                         bonus => {
2360                                 armored => 5,
2361                         },
2362                         cooldown => 1.85,
2363                         range => 7,
2364                 },
2365         ],
2366         speed => (1.0),
2367         creep => 2.5,
2368         sight => 11,
2369 },
2370
2371 {
2372         race => 'zerg',
2373         cat => 'creep',
2374         name => 'Spore Crawler',
2375         min => 75,
2376         gas => 0,
2377         build => 30,
2378         size => 2,
2379         cargo => 0,
2380         armor => 1,
2381         hp => 400,
2382         attr => {
2383                 armored => 1,
2384                 organic => 1,
2385                 structure => 1,
2386         },
2387         attack => [
2388                 {
2389                         anti => 2,
2390                         name => 'Seeker Spores',
2391                         damage => 15,
2392                         bonus => {
2393                                 organic => 30,
2394                         },
2395                         type => 'projectile',
2396                         cooldown => 0.8608,
2397                         range => 7,
2398                 },
2399         ],
2400         speed => (1.0),
2401         creep => 2.5,
2402         sight => 11,
2403         detect => 1,
2404 },
2405
2406 {
2407         race => 'zerg',
2408         cat => 'hatchery',
2409         name => 'Zergling',
2410         pop => 0.5,
2411         min => 25,
2412         gas => 0,
2413         build => 24,
2414         size => 0.75,
2415         cargo => 1,
2416         armor => 0,
2417         hp => 35,
2418         attr => {
2419                 light => 1,
2420                 organic => 1,
2421         },
2422         attack => [
2423                 {
2424                         anti => 1,
2425                         name => 'Claws',
2426                         damage => 5,
2427                         upgrade => 1,
2428                         cooldown => 0.696,
2429                 },
2430         ],
2431         speed => 2.9531,
2432         creep => 1.3,
2433         range => 0,
2434         sight => 8,
2435         upgrade => [
2436                 {
2437                         name => 'Adrenal Glands',
2438                         min => 200,
2439                         gas => 200,
2440                         build => 130,
2441                         attack => [
2442                                 {
2443                                         anti => 1,
2444                                         cooldown => -0.109,
2445                                 },
2446                         ],
2447                         req => 'Hive',
2448                 },
2449                 {
2450                         name => 'Metabolic Boost',
2451                         min => 100,
2452                         gas => 100,
2453                         build => 110,
2454                         speed => 1.746,
2455                 },
2456         ],
2457 },
2458
2459 {
2460         race => 'zerg',
2461         cat => 'hatchery',
2462         name => 'Baneling',
2463         base => ['Zergling'],
2464         pop => 0.5,
2465         min => 25+25,
2466         gas => 25,
2467         build => 20,
2468         size => 0.75,
2469         cargo => 2,
2470         armor => 0,
2471         hp => 30,
2472         attr => {
2473                 organic => 1,
2474         },
2475         attack => [
2476                 {
2477                         anti => 1,
2478                         name => 'Volatile Burst',
2479                         damage => 20,
2480                         upgrade => 2,
2481                         bonus => {
2482                                 light => 15,
2483                                 -light => 2,
2484                                 structure => 60,
2485                                 -structure => 3,
2486                         },
2487                         splash => 1,
2488                         range => 0,
2489                 },
2490         ],
2491         speed => 2.5,
2492         creep => 1.3,
2493         sight => 8,
2494         upgrade => [
2495                 {
2496                         name => 'Centrifugal Hooks',
2497                         min => 150,
2498                         gas => 150,
2499                         build => 110,
2500                         speed => 0.4531,
2501                         req => 'Lair',
2502                 },
2503         ],
2504 },
2505
2506 {
2507         race => 'zerg',
2508         cat => 'hatchery',
2509         name => 'Roach',
2510         pop => 2,
2511         min => 75,
2512         gas => 25,
2513         build => 27,
2514         size => 1,
2515         cargo => 2,
2516         armor => 1,
2517         hp => 145,
2518         attr => {
2519                 armored => 1,
2520                 organic => 1,
2521         },
2522         attack => [
2523                 {
2524                         anti => 1,
2525                         name => 'Acid Saliva', # Claws melee
2526                         damage => 16,
2527                         upgrade => 2,
2528                         cooldown => 2.0,
2529                         range => 4,
2530                 },
2531         ],
2532         speed => 2.25,
2533         creep => 1.3,
2534         range => 4,
2535         sight => 9,
2536         special => [
2537                 {
2538                         name => 'Rapid Regeneration',
2539                         abbr => 'rr',
2540                         desc => 'regenerates health at 5 HP/s while burrowed',
2541                         duration => -1,
2542                 },
2543                 {
2544                         name => 'Tunneling Claws',
2545                         min => 150,
2546                         gas => 150,
2547                         build => 110,
2548                         abbr => 'tc',
2549                         desc => 'move while burrowed at speed of 2.0 and increase regeneration to 10 HP/s',
2550                         duration => -1,
2551                         req => 'Lair',
2552                 },
2553         ],
2554         upgrade => [
2555                 {
2556                         name => 'Glial Reconstitution',
2557                         min => 100,
2558                         gas => 100,
2559                         build => 110,
2560                         speed => 0.75,
2561                         req => 'Lair',
2562                 },
2563         ],
2564 },
2565
2566 {
2567         race => 'zerg',
2568         cat => 'lair',
2569         name => 'Hydralisk',
2570         pop => 2,
2571         min => 100,
2572         gas => 50,
2573         build => 33,
2574         size => 1.25,
2575         cargo => 2,
2576         armor => 0,
2577         hp => 80,
2578         attr => {
2579                 light => 1,
2580                 organic => 1,
2581         },
2582         attack => [
2583                 {
2584                         anti => 3,
2585                         name => 'Needle Spines', # Scythe melee
2586                         damage => 12,
2587                         upgrade => 1,
2588                         type => 'projectile', # except melee
2589                         cooldown => 0.75,
2590                         range => 5,
2591                 },
2592         ],
2593         speed => 2.25,
2594         creep => 1.5,
2595         sight => 9,
2596         upgrade => [
2597                 {
2598                         name => 'Grooved Spines',
2599                         min => 150,
2600                         gas => 150,
2601                         build => 80,
2602                         attack => [
2603                                 {
2604                                         range => 1,
2605                                 },
2606                         ],
2607                 },
2608                 {
2609                         name => 'Muscular Augments',
2610                         min => 150,
2611                         gas => 150,
2612                         build => 100,
2613                         speed => 0.5625,
2614                         creep => -0.302,
2615                 },
2616         ],
2617 },
2618
2619 {
2620         race => 'zerg',
2621         cat => 'lair',
2622         name => 'Infestor',
2623         pop => 2,
2624         min => 100,
2625         gas => 150,
2626         build => 50,
2627         size => 1.5,
2628         cargo => 2,
2629         armor => 0,
2630         hp => 90,
2631         attr => {
2632                 armored => 1,
2633                 organic => 1,
2634                 psionic => 1,
2635         },
2636         speed => 2.25,
2637         creep => 1.3,
2638         sight => 10,
2639         energy => 50,
2640         capacity => 200,
2641         special => [
2642                 {
2643                         name => 'Neural Parasite',
2644                         abbr => 'np',
2645                         desc => 'take control of target enemy unit for 15s (while within 14 range)',
2646                         cost => 100,
2647                         range => 7,
2648                         duration => 15,
2649                         min => 150,
2650                         gas => 150,
2651                         build => 110,
2652                 },
2653                 {
2654                         name => 'Fungal Growth',
2655                         abbr => 'fg',
2656                         desc => 'for 4 seconds, immobilize enemy units in target area and deal 30 damage',
2657                         cost => 75,
2658                         range => 10,
2659                         duration => 4,
2660                         radius => 2.0,
2661                 },
2662                 {
2663                         alt => 'Infested Terran',
2664                         cost => 25,
2665                         range => 9,
2666                         duration => 30,
2667                         build => 4.8, # 5 normal but 3 faster
2668                         size => 0.75,
2669                         cargo => 0,
2670                         armor => 0,
2671                         hp => 50,
2672                         attr => {
2673                                 light => 1,
2674                                 organic => 1,
2675                         },
2676                         attack => [
2677                                 {
2678                                         name => 'Infested Rockets',
2679                                         anti => 3,
2680                                         damage => 8,
2681                                         cooldown => 0.8608,
2682                                         range => 5,
2683                                 },
2684                         ],
2685                         speed => 0.9375,
2686                         creep => 1.3,
2687                         sight => 9,
2688                 },
2689         ],
2690         upgrade => [
2691                 {
2692                         name => 'Pathogen Glands',
2693                         min => 150,
2694                         gas => 150,
2695                         build => 80,
2696                         energy => 25,
2697                 },
2698         ],
2699 },
2700
2701 {
2702         race => 'zerg',
2703         cat => 'lair',
2704         name => 'Nydus Worm',
2705         min => 100, # Nydus Network costs 150/200
2706         gas => 100,
2707         build => 20,
2708         size => 3,
2709         cargo => 0,
2710         armor => 1,
2711         hp => 200,
2712         attr => {
2713                 armored => 1,
2714                 organic => 1,
2715                 structure => 1,
2716         },
2717         speed => 0,
2718         sight => 10,
2719 },
2720
2721 {
2722         race => 'zerg',
2723         cat => 'lair',
2724         name => 'Swarm Host',
2725         pop => 4,
2726         min => 100,
2727         gas => 200,
2728         build => 40,
2729         size => 1.625,
2730         cargo => 4,
2731         armor => 1,
2732         hp => 160,
2733         attr => {
2734                 armored => 1,
2735                 organic => 1,
2736         },
2737         attack => [
2738                 {
2739                         anti => 1,
2740                         dps => [16.7, undef, undef, 20.8], # 20/.6 * 2 /60*25
2741                         type => 'projectile',
2742                         count => 2,
2743                         cooldown => 60,
2744                         duration => 25,
2745                         range => 3*25, # locust speed * duration = theoretical walk limit
2746                 },
2747         ],
2748         speed => 2.95,
2749         creep => 1.3,
2750         sight => 10,
2751         special => [
2752                 {
2753                         alt => 'Locust',
2754                         build => 4.8, # 5 normal but 3 faster
2755                         size => 0.75,
2756                         cargo => 0,
2757                         armor => 0,
2758                         hp => 65,
2759                         attr => {
2760                                 light => 1,
2761                                 organic => 1,
2762                         },
2763                         attack => [
2764                                 {
2765                                         anti => 1,
2766                                         name => 'Acid Spit',
2767                                         damage => 12,
2768                                         upgrade => 1,
2769                                         type => 'projectile',
2770                                         cooldown => 0.6,
2771                                         range => 3,
2772                                 },
2773                         ],
2774                         speed => 1.875,
2775                         creep => 1.4,
2776                         sight => 6,
2777                         duration => 25,
2778                         cooldown => 60,
2779                         count => 2,
2780                         upgrade => [
2781                                 {
2782                                         # Flying Locusts
2783                                         attr => {
2784                                                 flying => 1,
2785                                         },
2786                                 },
2787                         ],
2788                 },
2789         ],
2790         upgrade => [
2791                 {
2792                         name => 'Flying Locusts',
2793                         min => 200,
2794                         gas => 200,
2795                         build => 160,
2796                 },
2797         ],
2798 },
2799
2800 {
2801         race => 'zerg',
2802         cat => 'lair',
2803         name => 'Mutalisk',
2804         pop => 2,
2805         min => 100,
2806         gas => 100,
2807         build => 33,
2808         size => 0,
2809         cargo => 0,
2810         armor => 0,
2811         hp => 120,
2812         attr => {
2813                 light => 1,
2814                 organic => 1,
2815                 flying => 1,
2816         },
2817         attack => [
2818                 {
2819                         anti => 3,
2820                         name => 'Glaive Wurm',
2821                         damage => 9,
2822                         upgrade => 1,
2823                         splash => 'bounce',
2824                         type => 'projectile',
2825                         psionic => 1,
2826                         cooldown => 1.5246,
2827                         range => 3,
2828                 },
2829         ],
2830         speed => 4,
2831         sight => 11,
2832         upgrade => [
2833                 {
2834                         name => 'Tissue Regeneration',
2835                         abbr => 'tr',
2836                         desc => 'health regeneration rate increased to 1 HP per second',
2837                 },
2838         ],
2839 },
2840
2841 {
2842         race => 'zerg',
2843         cat => 'lair',
2844         name => 'Corruptor',
2845         pop => 2,
2846         min => 150,
2847         gas => 100,
2848         build => 40,
2849         size => 0,
2850         cargo => 0,
2851         armor => 2,
2852         hp => 200,
2853         attr => {
2854                 armored => 1,
2855                 organic => 1,
2856                 flying => 1,
2857         },
2858         attack => [
2859                 {
2860                         anti => 2,
2861                         name => 'Parasite Spores',
2862                         damage => 14,
2863                         upgrade => 1,
2864                         bonus => {
2865                                 massive => 6,
2866                                 -massive => 1,
2867                         },
2868                         type => 'projectile',
2869                         cooldown => 1.9,
2870                         range => 6,
2871                 },
2872         ],
2873         speed => 2.9531,
2874         sight => 10,
2875         special => [
2876                 {
2877                         name => 'Corruption',
2878                         desc => 'target unit takes 20% more damage for 30 seconds',
2879                         cooldown => 45,
2880                         range => 6,
2881                         duration => 40,
2882                 },
2883         ],
2884 },
2885
2886 {
2887         race => 'zerg',
2888         cat => 'hive',
2889         name => 'Brood Lord',
2890         base => ['Corruptor'],
2891         pop => 4,
2892         min => 150+150,
2893         gas => 100+150,
2894         build => 34,
2895         size => 0,
2896         cargo => 0,
2897         armor => 1,
2898         hp => 225,
2899         attr => {
2900                 armored => 1,
2901                 organic => 1,
2902                 massive => 1,
2903                 flying => 1,
2904         },
2905         attack => [
2906                 {
2907                         anti => 1,
2908                         name => 'Broodling Strike',
2909                         damage => 20,
2910                         upgrade => 2,
2911                         cooldown => 2.5,
2912                         range => 9.5,
2913                 },
2914         ],
2915         speed => 1.4062,
2916         sight => 12,
2917         special => [
2918                 {
2919                         name => 'Swarm Seeds',
2920                         desc => 'Broodlings are spawned upon each attack',
2921                         duration => -1,
2922                         alt => 'Broodling',
2923                         pop => 0,
2924 #                       build => 1,
2925                         size => 0.75,
2926                         cargo => 0,
2927                         armor => 0,
2928                         hp => 30,
2929                         attr => {
2930                                 light => 1,
2931                                 organic => 1,
2932                         },
2933                         attack => [
2934                                 {
2935                                         anti => 1,
2936                                         name => 'Claws',
2937                                         damage => 4,
2938                                         upgrade => 1,
2939                                         cooldown => 0.6455,
2940                                         range => 0,
2941                                 },
2942                         ],
2943                         speed => 3.836,
2944                         creep => 1.0,
2945                         sight => 7,
2946                 },
2947                 {
2948                         name => 'Frenzied',
2949                         abbr => 'fz',
2950                         desc => 'immune to snare, stun, mind control, and movement altering effects',
2951                         duration => -1,
2952                 },
2953         ],
2954 },
2955
2956 {
2957         race => 'zerg',
2958         cat => 'hive',
2959         name => 'Viper',
2960         pop => 3,
2961         min => 100,
2962         gas => 200,
2963         build => 40,
2964         size => 0,
2965         cargo => 0,
2966         armor => 1,
2967         hp => 150,
2968         attr => {
2969                 armored => 1,
2970                 organic => 1,
2971                 psionic => 1,
2972                 flying => 1,
2973         },
2974         speed => 2.9531,
2975         sight => 11,
2976         energy => 50, #XXX
2977         capacity => 200,
2978         special => [
2979                 {
2980                         name => 'Blinding Cloud',
2981                         abbr => 'bc',
2982                         desc => 'all attacks from within cloud are reduced to melee range',
2983                         cost => 100,
2984                         range => 11,
2985                         duration => 14,
2986                         radius => 2,
2987                 },
2988                 {
2989                         name => 'Abduct',
2990                         abbr => 'ad',
2991                         desc => 'pull target unit to Viper\'s location',
2992                         cost => 75,
2993                         range => 9,
2994                         duration => 10,
2995                 },
2996                 {
2997                         name => 'Consume',
2998                         abbr => 'cs',
2999                         desc => 'leaches 200 life of friendly building over 20s to gain 50 energy',
3000                         cost => -50,
3001                         duration => 20,
3002                         range => 7,
3003                         cooldown => 1,
3004                 },
3005         ],
3006 },
3007
3008 {
3009         race => 'zerg',
3010         cat => 'hive',
3011         name => 'Ultralisk',
3012         pop => 6,
3013         min => 300,
3014         gas => 200,
3015         build => 55,
3016         size => 2,
3017         cargo => 8,
3018         armor => 1,
3019         hp => 500,
3020         attr => {
3021                 armored => 1,
3022                 organic => 1,
3023                 massive => 1,
3024         },
3025         attack => [
3026                 {
3027                         anti => 1,
3028                         name => 'Kaiser Blades',
3029                         damage => 35,
3030                         upgrade => 3,
3031                         splash => 1,
3032                         cooldown => 0.861,
3033                         range => 1,
3034                 },
3035         ],
3036         speed => 2.9531,
3037         creep => 1.3,
3038         sight => 9,
3039         special => [
3040                 {
3041                         name => 'Frenzied',
3042                         abbr => 'fz',
3043                         desc => 'immune to snare, stun, mind control, and movement altering effects',
3044                         duration => -1,
3045                 },
3046         ],
3047         upgrade => [
3048                 {
3049                         name => 'Chitinous Plating',
3050                         min => 150,
3051                         gas => 150,
3052                         build => 110,
3053                         armor => 2,
3054                 },
3055         ],
3056 },
3057
3058 ]