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