06ec25e0db4422ce4b6ed0e6856183abfd1332fa
[sheet.git] / sc-units.inc.pl
1 # time in fastest game seconds
2 my $FPS = 24;  # frames per second
3 # toss shield += .65 per second
4 # zerg regen  += .37 per second
5 [
6
7 # protoss
8
9 {
10 cat => 'base',
11 req => ['nexus'],
12 name => 'Probe',
13 min => 50,
14 gas => 0,
15 build => 20,
16 suit => 1,
17 unit => 1,
18 race => 'protoss',
19 organic => 0,
20 hp => 20,
21 shield => 20,
22 armor => 0,
23 attack => {
24         ground => {
25                 name => "Particle Beam",
26                 damage => 5,
27                 dps => 7,
28                 cooldown => 22,
29         },
30         range => 1,
31 },
32 sight => 8,
33 speed => 14,
34 counter => ['vulture', 'dark templar'],
35 },
36
37 {
38 cat => 'base',
39 req => ['forge'],
40 name => 'Photon Cannon',
41 trans => {
42         nl => 'kanon',
43 },
44 min => 150,
45 gas => 0,
46 build => 50,
47 suit => 3,
48 race => 'protoss',
49 hp => 100,
50 shield => 100,
51 armor => 0,
52 attack => {
53         ground => {
54                 damage => 20,
55                 dps => 27,
56                 cooldown => 22,
57         },
58         air => 'ground',
59         range => 7,
60 },
61 sight => 11,
62 detect => 1,
63 speed => 0,
64 counter => ['zergling', 'tank'],
65 },
66
67 {
68 cat => 'ground',
69 req => ['gateway'],
70 name => 'Zealot',
71 trans => {
72         nl => 'zeloot',
73 },
74 min => 100,
75 gas => 0,
76 build => 40,
77 suit => 1,
78 unit => 2,
79 race => 'protoss',
80 organic => 1,
81 hp => 100,
82 shield => 60,
83 armor => 1,
84 attack => {
85         ground => {
86                 name => "Psi Blades",
87                 damage => [16, 18, 20, 22],
88                 dps => [22, undef, undef, 30],
89                 cooldown => 22,
90         },
91         range => 1,
92 },
93 sight => 7,
94 speed => 11,
95 upgrade => [
96         {
97                 name => 'Leg Enhancements',
98                 speed => 16 - 11,
99                 min => 150,
100                 gas => 150,
101                 build => 133,
102         },
103 ],
104 counter => ['vulture'],
105 },
106
107 {
108 cat => 'ground',
109 req => ['gateway', 'cybernetics core'],
110 name => 'Dragoon',
111 trans => {
112         nl => 'dragonder',
113 },
114 min => 125,
115 gas => 50,
116 build => 50,
117 suit => 3,
118 unit => 2,
119 race => 'protoss',
120 organic => 0,
121 hp => 100,
122 shield => 80,
123 armor => 1,
124 attack => {
125         ground => {
126                 name => "Phase Disruptor",
127                 damage => [20, 22, 24, 26],
128                 dps => [20, 22, 24, 26],
129                 type => 'explosive',
130                 cooldown => 30,
131         },
132         air => 'ground',
133         range => 4,
134 },
135 sight => 8,
136 speed => 15,
137 upgrade => [
138         {
139                 name => 'Singularity Charge',
140                 min => 150,
141                 gas => 150,
142                 build => 166,
143                 attack => {
144                         range => 6 - 4,
145                 },
146         },
147 ],
148 counter => ['zergling', 'zealot', 'tank'],
149 },
150
151 {
152 cat => 'ground',
153 name => 'High Templar',
154 trans => {
155         nl => 'hoge tempelier',
156         eo => 'alta templano',
157 },
158 min => 50,
159 gas => 150,
160 build => 50,
161 suit => 1,
162 unit => 2,
163 race => 'protoss',
164 organic => 1,
165 hp => 40,
166 shield => 40,
167 armor => 0,
168 sight => 7,
169 speed => 9,
170 energy => 200,
171 upgrade => [
172         {
173                 name => "Khaydarin Amulet",
174                 min => 150,
175                 gas => 150,
176                 energy => 250-200,
177         },
178 ],
179 special => [
180         {
181                 name => 'Psionic Storm',
182                 abbr => 'ps',
183                 min => 200,
184                 gas => 200,
185                 build => 120,
186                 desc => 'units in the area will receive upto 112 damage', # 14*8
187                 range => 9,
188                 cost => 75,
189                 duration => 3,
190         },
191         {
192                 name => 'Hallucination',
193                 abbr => 'hl',
194                 min => 150,
195                 gas => 150,
196                 build => 80,
197                 desc => 'creates two illusionary duplicates of a unit for 3 minutes',
198                 range => 7,
199                 cost => 80,
200                 duration => 3*60,
201         },
202 ],
203 counter => ['vulture', 'ultralisk'],
204 },
205
206 {
207 cat => 'ground',
208 name => 'Dark Templar',
209 trans => {
210         nl => 'donkere tempelier',
211         eo => 'malluma templano',
212 },
213 min => 125,
214 gas => 100,
215 build => 50,
216 suit => 1,
217 unit => 2,
218 race => 'protoss',
219 organic => 1,
220 hp => 80,
221 shield => 40,
222 armor => 1,
223 attack => {
224         ground => {
225                 name => "Warp Blades",
226                 damage => [40, 43, 46, 49],
227                 dps => [40, 43, 46, 49],
228                 cooldown => 30,
229         },
230         range => 1,
231 },
232 sight => 7,
233 speed => 15,
234 special => [
235         {
236                 name => 'Cloaked',
237                 abbr => 'cl',
238                 desc => 'cloaked at all times',
239                 duration => -1,
240         },
241 ],
242 },
243
244 {
245 cat => 'psionic',
246 name => 'Archon',
247 trans => {
248         nl => 'archont',
249         eo => 'arĥono',
250 },
251 min => 100,
252 gas => 300,
253 build => 20,
254 base => ['templar', 'templar'],
255 suit => 3,
256 unit => 4,
257 race => 'protoss',
258 organic => 0,
259 hp => 10,
260 shield => 350,
261 armor => 0,
262 attack => {
263         ground => {
264                 name => "Psionic Shockwave",
265                 damage => [30, 33, 36, 39],
266                 dps => [45, undef, undef, 59],
267                 cooldown => 20,
268                 splash => 1,
269         },
270         air => 'ground',
271         range => 2,
272 },
273 sight => 8,
274 speed => 14,
275 },
276
277 {
278 cat => 'psionic',
279 name => 'Dark Archon',
280 trans => {
281         nl => 'donkere archont',
282         eo => 'malluma arĥono',
283 },
284 min => 250,
285 gas => 200,
286 build => 20,
287 base => ['dark templar', 'dark templar'],
288 suit => 3,
289 unit => 4,
290 race => 'protoss',
291 organic => 0,
292 hp => 25,
293 shield => 200,
294 armor => 1,
295 attack => {
296 },
297 sight => 10,
298 speed => 14,
299 energy => 200,
300 upgrade => [
301         {
302                 name => "Argus Talisman",
303                 min => 150,
304                 gas => 150,
305                 build => 166,
306                 energy => 250-200,
307         },
308 ],
309 special => [
310         {
311                 name => 'Feedback',
312                 abbr => 'fb',
313                 desc => 'targeted unit will lose its mana and receive damage equal to that amount',
314                 range => 10,
315                 cost => 50,
316                 duration => 0,
317         },
318         {
319                 name => 'Mind Control',
320                 abbr => 'mc',
321                 min => 200,
322                 gas => 200,
323                 build => 120,
324                 desc => 'permanently gives you control over any unit',
325                 range => 8,
326                 cost => 150,
327                 duration => 0,
328         },
329         {
330                 name => 'Maelstrom',
331                 abbr => 'ms',
332                 min => 100,
333                 gas => 100,
334                 build => 100,
335                 desc => 'field stunning all organic units for a few seconds',
336                 range => 10,
337                 cost => 100,
338                 duration => 180 / $FPS, # 7.5s fastest
339         },
340 ],
341 },
342
343 {
344 cat => 'aerial',
345 name => 'Scout',
346 trans => {
347         nl => 'verkenner',
348         eo => 'esploristo',
349 },
350 min => 275,
351 gas => 125,
352 build => 80,
353 suit => 3,
354 unit => 3,
355 race => 'protoss',
356 organic => 0,
357 air => 1,
358 hp => 150,
359 shield => 100,
360 armor => 0,
361 attack => {
362         ground => {
363                 damage => [8, 9, 10, 11],
364                 dps => [8, 9, 10, 11],
365                 cooldown => 30,
366         },
367         air => {
368                 damage => [28, 30, 32, 34],
369                 dps => [38, undef, undef, 46],
370                 type => 'explosive',
371                 cooldown => 22,
372         },
373         range => 4,
374 },
375 sight => 8,
376 speed => 13,
377 upgrade => [
378         {
379                 name => 'Apial Sensors',
380                 min => 100,
381                 gas => 100,
382                 build => 166,
383                 sight => 10 - 8,
384         },
385         {
386                 name => 'Gravitic Thrusters',
387                 min => 200,
388                 gas => 200,
389                 build => 166,
390                 speed => 18 - 13,
391         },
392 ],
393 },
394
395 {
396 cat => 'aerial',
397 name => 'Corsair',
398 trans => {
399         de => 'Korsar',
400 },
401 min => 150,
402 gas => 100,
403 build => 40,
404 suit => 2,
405 unit => 2,
406 race => 'protoss',
407 organic => 0,
408 air => 1,
409 hp => 100,
410 shield => 80,
411 armor => 1,
412 attack => {
413         air => {
414                 damage => [5, 6, 7, 8],
415                 dps => [19, undef, undef, 30],
416                 cooldown => 8,
417                 splash => 1,
418                 type => 'explosive',
419         },
420         range => 5,
421 },
422 sight => 9,
423 speed => 17,
424 energy => 200,
425 upgrade => [
426         {
427                 name => 'Argus Jewel',
428                 min => 100,
429                 gas => 100,
430                 build => 166,
431                 energy => 250-200,
432         },
433 ],
434 special => [
435         {
436                 name => 'Disruption web',
437                 abbr => 'dw',
438                 min => 200,
439                 gas => 200,
440                 build => 80,
441                 desc => 'creates a field in which no ground unit/structure can attack',
442                 range => 9,
443                 cost => 62-50,
444                 duration => undef, #XXX
445         },
446 ],
447 counter => ['devourer', 'valkyrie'],
448 },
449
450 {
451 cat => 'aerial',
452 name => 'Carrier',
453 trans => {
454         nl => 'vliegdekschip',
455 },
456 min => 350,
457 gas => 250,
458 build => 140,
459 suit => 3,
460 unit => 6,
461 race => 'protoss',
462 organic => 0,
463 hp => 300,
464 shield => 150,
465 armor => 4,
466 attack => {
467         ground => {
468                 dps => [17, undef, undef, 49],
469                 count => 4,
470         },
471         air => 'ground',
472         range => 8,
473 },
474 sight => 11,
475 speed => 10,
476 special => [
477         {
478                 name => 'Build Interceptor',
479                 alt => 'Interceptor',
480                 min => 25,
481                 build => 20,
482                 suit => 1,
483                 unit => 0,
484                 race => 'protoss',
485                 organic => 0,
486                 hp => 40,
487                 shield => 40,
488                 armor => 0,
489                 attack => {
490                         ground => {
491                                 damage => [6, 7, 8, 9],
492                                 dps => [4, 5, 5, 6],
493                                 cooldown => 43, # approximately 37 according to liquipedia
494                                 build => 20,
495                         },
496                         air => 'ground',
497                         range => 0,
498                 },
499                 sight => 0,
500                 range => 0,
501         },
502 ],
503 upgrade => [
504         {
505                 name => 'Carrier Capacity',
506                 damage => {
507                         count => 8-4,
508                 },
509         },
510 ],
511 counter => ['wraith', 'corsair', 'scourge'],
512 },
513
514 {
515 cat => 'aerial',
516 name => 'Arbiter',
517 trans => {
518         nl => 'arbiter',
519 },
520 min => 100,
521 gas => 350,
522 build => 160,
523 suit => 3,
524 unit => 4,
525 race => 'protoss',
526 organic => 0,
527 air => 1,
528 hp => 200,
529 shield => 150,
530 armor => 1,
531 attack => {
532         ground => {
533                 damage => [10, 11, 12, 13],
534                 dps => [7, undef, undef, 9],
535                 cooldown => 45,
536                 type => 'explosive',
537         },
538         air => 'ground',
539         range => 5,
540 },
541 sight => 9,
542 speed => 12,
543 energy => 200,
544 upgrade => [
545         {
546                 name => 'Khaydarin Core',
547                 min => 150,
548                 gas => 150,
549                 build => 166,
550                 energy => 250-200,
551         },
552 ],
553 special => [
554         {
555                 name => 'cloaks',
556                 abbr => 'cs',
557                 desc => 'cloaks nearby friendly units except for other Arbiters',
558                 duration => -1,
559         },
560         {
561                 name => 'Stasis Field',
562                 abbr => 'sf',
563                 min => 150,
564                 gas => 150,
565                 build => 100,
566                 desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
567                 cost => 100,
568                 range => 9,
569                 duration => 1000 / $FPS,
570         },
571         {
572                 name => 'Recall',
573                 abbr => 'rc',
574                 min => 150,
575                 gas => 150,
576                 build => 100,
577                 desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
578                 cost => 150,
579                 duration => 0,
580         },
581 ],
582 },
583
584 {
585 cat => 'robotic',
586 name => 'Reaver',
587 min => 200,
588 gas => 100,
589 build => 70,
590 suit => 3,
591 unit => 4,
592 race => 'protoss',
593 organic => 0,
594 hp => 100,
595 shield => 80,
596 armor => 0,
597 attack => {
598         ground => {
599                 damage => 100,
600                 dps => 50,
601                 cooldown => 60,
602                 splash => 1,
603                 cost => 15,
604                 build => 7,
605                 max => 5,
606         },
607         range => 8,
608 },
609 sight => 10,
610 speed => 5,
611 upgrade => [
612         {
613                 name => 'Scarab Damage',
614                 min => 200,
615                 gas => 200,
616                 build => 166,
617                 attack => {
618                         ground => {
619                                 damage => 125 - 100,
620                                 dps => 63 - 50,
621                         },
622                 },
623         },
624         {
625                 attack => {
626                         ground => {
627                                 splash => 2 - 1,
628                         },
629                 },
630         },
631         {
632                 name => 'Increased Reaver Capacity',
633                 min => 200,
634                 gas => 200,
635                 build => 166,
636                 attack => {
637                         ground => {
638                                 max => 10-5,
639                         },
640                 },
641         },
642 ],
643 },
644
645 {
646 cat => 'robotic',
647 name => 'Observer',
648 trans => {
649         nl => 'observeerder',
650 },
651 min => 25,
652 gas => 75,
653 build => 40,
654 suit => 1,
655 unit => 1,
656 race => 'protoss',
657 organic => 0,
658 air => 1,
659 hp => 40,
660 shield => 20,
661 armor => 0,
662 sight => 9,
663 detect => 1,
664 speed => 9,
665 upgrade => [
666         {
667                 name => "Sensor Array",
668                 min => 150,
669                 gas => 150,
670                 build => 133,
671                 sight => 11 - 9,
672         },
673         {
674                 name => "Gravitic Booster",
675                 min => 150,
676                 gas => 150,
677                 build => 166,
678                 speed => 13 - 9,
679         },
680 ],
681 special => [
682         {
683                 name => 'Cloaked',
684                 abbr => 'cl',
685                 desc => 'cloaked at all times',
686                 duration => -1,
687         },
688 ],
689 },
690
691 {
692 cat => 'robotic',
693 name => 'Shuttle',
694 trans => {
695         fr => 'navette',
696 },
697 min => 200,
698 gas => 0,
699 build => 60,
700 suit => 3,
701 unit => 2,
702 race => 'protoss',
703 organic => 0,
704 hp => 80,
705 shield => 60,
706 armor => 1,
707 attack => {
708 },
709 sight => 8,
710 speed => 13,
711 transport => 1,
712 upgrade => [
713         {
714                 name => 'Gravitic Drive',
715                 min => 200,
716                 gas => 200,
717                 build => 166,
718                 speed => 19 - 13,
719         }
720 ],
721 },
722
723 # terran
724
725 {
726 race => 'terran',
727 cat => 'base',
728 name => 'SCV', # T-280 Space Construction Vehicle
729 min => 50,
730 gas => 0,
731 build => 20,
732 suit => 1,
733 unit => 1,
734 race => 'terran',
735 organic => 0,
736 hp =>  60,
737 armor => 0,
738 attack => {
739         ground => {
740                 damage => 5,
741                 dps => 10,
742                 cooldown => 15,
743         },
744         range => 1,
745 },
746 sight => 7,
747 speed => 15,
748 },
749
750 {
751 cat => 'base',
752 name => 'Missile Turret',
753 trans => {
754         nl => 'toren',
755 },
756 min => 75,
757 gas => 0,
758 build => 30,
759 suit => 3,
760 race => 'terran',
761 hp => 200,
762 armor => 0,
763 attack => {
764         air => {
765                 damage => 20,
766                 dps => 40,
767                 cooldown => 15,
768                 type => 'explosive',
769         },
770         range => 7,
771 },
772 sight => 11,
773 detect => 1,
774 speed => 0,
775 },
776
777 {
778 cat => 'barracks',
779 name => 'Marine',
780 trans => {
781         nl => 'marinier',
782 },
783 min => 50,
784 gas => 0,
785 build => 24,
786 suit => 1,
787 unit => 1,
788 race => 'terran',
789 organic => 1,
790 hp =>  40,
791 armor => 0,
792 attack => {
793         ground => {
794                 damage => [6, 7, 8, 9],
795                 dps => [12, undef, undef, 18],
796                 cooldown => 15,
797         },
798         air => 'ground',
799         range => 4,
800 },
801 sight => 7,
802 speed => 11,
803 upgrade => [
804         {
805                 name => 'U-238 Shells',
806                 min => 150,
807                 gas => 150,
808                 build => 100,
809                 attack => {
810                         range => 5 - 4,
811                 },
812         },
813 ],
814 special => [
815         {
816                 name => 'stim pack',
817                 abbr => 'sp',
818                 min => 100,
819                 gas => 100,
820                 build => 80,
821                 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
822                 speed => 17,
823                 attack => {
824                         ground => {
825                                 cooldown => 7.5,
826                                 dps => [24, undef, undef, 36],
827                         },
828                         air => 'ground',
829                 },
830                 duration => 220 / $FPS,
831         },
832 ],
833 },
834
835 {
836 cat => 'barracks',
837 name => 'Firebat',
838 min => 50,
839 gas => 25,
840 build => 24,
841 suit => 1,
842 unit => 1,
843 race => 'terran',
844 organic => 1,
845 hp =>  50,
846 armor => 1,
847 attack => {
848         ground => {
849                 damage => [16, 18, 20, 22],
850                 dps => [22, undef, undef, 30],
851                 cooldown => 22,
852                 splash => 1,
853                 type => 'implosive',
854         },
855         range => 2,
856 },
857 sight => 7,
858 speed => 11,
859 upgrade => [
860 ],
861 special => [
862         {
863                 name => 'Stim Pack',
864                 abbr => 'sp',
865                 min => 100,
866                 gas => 100,
867                 build => 80,
868                 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
869                 speed => 17,
870                 attack => {
871                         cooldown => 11,
872                         dps => [44, undef, undef, 60],
873                 },
874                 duration => 220 / $FPS,
875         },
876 ],
877 },
878
879 {
880 cat => 'barracks',
881 name => 'Ghost',
882 trans => {
883         nl => 'geest',
884 },
885 min => 25,
886 gas => 75,
887 build => 50,
888 suit => 1,
889 unit => 1,
890 race => 'terran',
891 organic => 1,
892 hp =>  45,
893 armor => 0,
894 attack => {
895         ground => {
896                 damage => [10, 11, 12, 13],
897                 dps => [14, undef, undef, 18],
898                 cooldown => 22,
899                 type => 'implosive',
900         },
901         air => 'ground',
902         range => 7,
903 },
904 sight => 9,
905 speed => 11,
906 upgrade => [
907         {
908                 name => 'Ocular Implants',
909                 min => 150,
910                 gas => 150,
911                 build => 166,
912                 sight => 11 - 9,
913                 special => {
914                         ns => {
915                                 # nuke
916                                 range => 10-8,
917                         },
918                 },
919         },
920         {
921                 name => 'Moebius Reactor',
922                 min => 150,
923                 gas => 150,
924                 build => 166,
925                 energy => 250-200,
926         },
927 ],
928 energy => 200,
929 special => [
930         {
931                 name => 'Personal Cloaking',
932                 abbr => 'cl',
933                 min => 100,
934                 gas => 100,
935                 build => 80,
936                 desc => 'has the ability to cloak',
937                 cost => 25,
938                 maint => 1, # per second
939         },
940         {
941                 name => 'Lockdown',
942                 abbr => 'ld',
943                 min => 200,
944                 gas => 200,
945                 build => 100,
946                 desc => 'disables a mechanical unit completely for one minute',
947                 range => 8,
948                 cost => 100,
949                 duration => 60,
950         },
951         {
952                 name => 'Nuclear Strike',
953                 abbr => 'ns',
954                 min => 200,
955                 gas => 200,
956                 unit => 8,
957                 desc => 'guides a nuclear missile which will do 500 damage',
958                 duration => 14+3,
959                 range => 8,
960         },
961 ],
962 },
963
964 {
965 cat => 'barracks',
966 name => 'Medic',
967 min => 50,
968 gas => 25,
969 build => 30,
970 suit => 1,
971 unit => 1,
972 race => 'terran',
973 organic => 1,
974 hp =>  60,
975 armor => 1,
976 attack => {
977 },
978 sight => 9,
979 speed => 11,
980 energy => 200,
981 update => [
982         {
983                 name => 'Caduceus Reactor',
984                 min => 150,
985                 gas => 150,
986                 build => 166,
987                 energy => 250-200,
988         },
989 ],
990 special => [
991         {
992                 name => 'Healing',
993                 abbr => 'hl',
994                 desc => 'heals 2 HP of friendly biological units',
995                 range => 2,
996                 cost => 1,
997                 duration => 1,
998         },
999         {
1000                 name => 'Restoration',
1001                 abbr => 'rs',
1002                 min => 100,
1003                 gas => 100,
1004                 build => 80,
1005                 desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
1006                 range => 6,
1007                 cost => 50,
1008                 duration => 0,
1009         },
1010         {
1011                 name => 'Optic Flare',
1012                 abbr => 'of',
1013                 min => 100,
1014                 gas => 100,
1015                 build => 80,
1016                 desc => 'reduces the sight of target unit to 1',
1017                 range => 9,
1018                 cost => 75,
1019                 duration => 0,
1020         },
1021 ],
1022 },
1023
1024 {
1025 cat => 'factory',
1026 name => 'Vulture',
1027 trans => {
1028         nl => 'gier',
1029 },
1030 min => 75,
1031 gas => 0,
1032 build => 30,
1033 suit => 2,
1034 unit => 2,
1035 race => 'terran',
1036 organic => 0,
1037 hp =>  80,
1038 armor => 0,
1039 attack => {
1040         ground => {
1041                 damage => [20, 22, 24, 26],
1042                 dps => [20, 22, 24, 26],
1043                 cooldown => 30,
1044                 type => 'implosive',
1045         },
1046         range => 5,
1047 },
1048 sight => 8,
1049 speed => 20,
1050 upgrade => [
1051         {
1052                 name => 'Ion Thrusters',
1053                 min => 100,
1054                 gas => 100,
1055                 build => 100,
1056                 speed => 28 - 20,
1057         },
1058 ],
1059 special => [
1060         {
1061                 name => 'Spider Mine',
1062                 abbr => 'sm',
1063                 min => 100,
1064                 gas => 100,
1065                 build => 80,
1066                 alt => 'Spider Mine',
1067                 desc => 'burrows a mine (capable of doing 125+ damage to enemy units coming within range 3)',
1068                 amount => 3,
1069                 organic => 0,
1070                 hp => 20,
1071                 suit => 1,
1072                 armor => 0,
1073                 attack => {
1074                         ground => {
1075                                 damage => 125,
1076                                 cooldown => 0,
1077                                 splash => 1,
1078                                 type => 'explosive',
1079                         },
1080                         range => 3,
1081                 },
1082                 sight => 3,
1083                 speed => 25,
1084     },
1085 ],
1086 },
1087
1088 {
1089 cat => 'factory',
1090 name => 'Tank',
1091 trans => {
1092         nl => 'tank',
1093 },
1094 min => 150,
1095 gas => 100,
1096 build => 50,
1097 suit => 3,
1098 unit => 2,
1099 race => 'terran',
1100 organic => 0,
1101 hp => 150,
1102 armor => 1,
1103 attack => {
1104         ground => {
1105                 damage => [30, 33, 36, 39],
1106                 dps => [24, undef, undef, 32],
1107                 cooldown => 37,
1108                 type => 'explosive',
1109         },
1110         range => 7,
1111 },
1112 sight => 10,
1113 speed => 12,
1114 special => [
1115         {
1116                 name => 'Siege Mode',
1117                 abbr => 'sg',
1118                 min => 150,
1119                 gas => 150,
1120                 build => 80,
1121                 alt => 'Sieged Tank',
1122                 attack => {
1123                         ground => {
1124                                 damage => [70, 75, 80, 85],
1125                                 dps => [28, 30, 32, 34],
1126                                 cooldown => 75,
1127                                 splash => 1,
1128                                 type => 'explosive',
1129                         },
1130                         range => 12,
1131                 },
1132                 speed => 0,
1133         },
1134 ],
1135 },
1136
1137 {
1138 cat => 'factory',
1139 name => 'Goliath',
1140 trans => {
1141         nl => 'goliat',
1142 },
1143 min => 100,
1144 gas => 50,
1145 build => 40,
1146 suit => 3,
1147 unit => 2,
1148 race => 'terran',
1149 organic => 0,
1150 hp => 125,
1151 armor => 1,
1152 attack => {
1153         ground => {
1154                 damage => [12, 13, 14, 15],
1155                 dps => [16, undef, undef, 20],
1156                 cooldown => 22,
1157         },
1158         air => {
1159                 damage => [20, 24, 28, 32],
1160                 dps => [27, undef, undef, 44],
1161                 type => 'explosive',
1162                 cooldown => 22,
1163         },
1164         range => 5,
1165 },
1166 sight => 8,
1167 speed => 13,
1168 upgrade => [
1169         {
1170                 name => 'Charon Boosters',
1171                 min => 100,
1172                 gas => 100,
1173                 build => 133,
1174                 attack => {
1175 #                       air => {
1176                                 range => 8 - 5,
1177 #                       },
1178                 },
1179         },
1180 ],
1181 },
1182
1183 {
1184 cat => 'starport',
1185 name => 'Wraith',
1186 min => 150,
1187 gas => 100,
1188 build => 60,
1189 suit => 3,
1190 unit => 2,
1191 race => 'terran',
1192 organic => 0,
1193 air => 1,
1194 hp => 120,
1195 armor => 0,
1196 attack => {
1197         ground => {
1198                 damage => [8, 9, 10, 11],
1199                 dps => [8, 9, 10, 11],
1200                 cooldown => 30,
1201         },
1202         air => {
1203                 damage => [20, 22, 24, 26],
1204                 dps => [27, undef, undef, 35],
1205                 cooldown => 22,
1206                 type => 'explosive',
1207         },
1208         range => 5,
1209 },
1210 sight => 7,
1211 speed => 17,
1212 energy => 200,
1213 special => [
1214         {
1215                 name => 'Cloak',
1216                 abbr => 'cl',
1217                 min => 150,
1218                 gas => 150,
1219                 build => 100,
1220                 desc => 'has the ability to cloak',
1221                 cost => 25,
1222                 maint => 1, # /second
1223         },
1224 ],
1225 upgrade => [
1226         {
1227                 name => 'Apollo Reactor',
1228                 min => 200,
1229                 gas => 200,
1230                 build => 166,
1231                 energy => 250-200,
1232         },
1233 ],
1234 },
1235
1236 {
1237 cat => 'starport',
1238 name => 'Battle Cruiser',
1239 trans => {
1240         nl => 'slagkruiser',
1241 },
1242 min => 400,
1243 gas => 300,
1244 build => 133,
1245 suit => 3,
1246 unit => 6,
1247 race => 'terran',
1248 organic => 0,
1249 air => 1,
1250 hp => 500,
1251 armor => 3,
1252 attack => {
1253         ground => {
1254                 damage => [25, 28, 31, 34],
1255                 dps => [25, 28, 31, 34],
1256                 cooldown => 30,
1257         },
1258         air => 'ground',
1259         range => 6,
1260 },
1261 sight => 11,
1262 speed => 7,
1263 energy => 200,
1264 special => [
1265         {
1266                 name => 'Yamato Gun',
1267                 abbr => 'yg',
1268                 min => 100,
1269                 gas => 100,
1270                 build => 120,
1271                 desc => 'blast doing 260 damage to a target',
1272                 attack => {
1273                         ground => {
1274                                 damage => 260,
1275                         },
1276                         air => 'ground',
1277                         range => 10,
1278                 },
1279                 cost => 150,
1280         },
1281 ],
1282 upgrade => [
1283         {
1284                 name => 'Colossus Reactor',
1285                 min => 150,
1286                 gas => 150,
1287                 build => 166,
1288                 energy => 250-200,
1289         },
1290 ],
1291 },
1292
1293 {
1294 cat => 'starport',
1295 name => 'Science Vessel',
1296 trans => {
1297         nl => 'wetenschapsvaartuig',
1298 },
1299 min => 100,
1300 gas => 225,
1301 build => 80,
1302 suit => 3,
1303 unit => 2,
1304 race => 'terran',
1305 organic => 0,
1306 air => 1,
1307 hp => 200,
1308 armor => 1,
1309 sight => 10,
1310 detect => 1,
1311 speed => 15,
1312 energy => 200,
1313 special => [
1314         {
1315                 name => 'Defensive Matrix',
1316                 abbr => 'dm',
1317                 desc => 'gives target unit a shield of 250HP for one minute',
1318                 range => 10,
1319                 cost => 100,
1320                 duration => 55,
1321         },
1322         {
1323                 name => 'EMP Shockwave',
1324                 abbr => 'ep',
1325                 min => 200,
1326                 gas => 200,
1327                 build => 120,
1328                 desc => 'units in 3-matrix radius will lose all energy and shields',
1329                 range => 8,
1330                 cost => 100,
1331         },
1332         {
1333         name => 'Irradiate',
1334                 abbr => 'ir',
1335                 min => 200,
1336                 gas => 200,
1337                 build => 80,
1338                 desc => 'organic units will suffer upto 250 damage over 30s',
1339                 range => 9,
1340                 cost => 75,
1341                 attack => {
1342                         damage => 250,
1343                         splash => 1,
1344                 },
1345                 duration => 25,
1346         },
1347 ],
1348 upgrade => [
1349         {
1350                 name => 'Titan Reactor',
1351                 min => 150,
1352                 gas => 150,
1353                 build => 166,
1354                 energy => 250-200,
1355         },
1356 ],
1357 },
1358
1359 {
1360 cat => 'starport',
1361 name => 'Valkyrie',
1362 trans => {
1363         nl => 'walkure',
1364 },
1365 min => 250,
1366 gas => 125,
1367 build => 50,
1368 suit => 3,
1369 unit => 3,
1370 race => 'terran',
1371 organic => 0,
1372 air => 1,
1373 hp => 200,
1374 armor => 2,
1375 attack => {
1376         air => {
1377                 damage => [6, 7, 8, 9],
1378                 dps => [23, undef, undef, 25],
1379                 cooldown => 64,
1380                 splash => 1,
1381                 type => 'explosive',
1382                 count => 8,
1383         },
1384         range => 6,
1385 },
1386 sight => 8,
1387 speed => 19,
1388 },
1389
1390 {
1391 cat => 'starport',
1392 name => 'Dropship',
1393 min => 100,
1394 gas => 100,
1395 build => 50,
1396 suit => 3,
1397 unit => 2,
1398 race => 'terran',
1399 organic => 0,
1400 air => 1,
1401 hp => 150,
1402 armor => 1,
1403 sight => 8,
1404 speed => 15,
1405 transport => 1,
1406 },
1407
1408 # zerg
1409
1410 {
1411 race => 'zerg',
1412 cat => 'base',
1413 name => 'Drone',
1414 min => 50,
1415 gas => 0,
1416 build => 20,
1417 suit => 1,
1418 unit => 1,
1419 race => 'zerg',
1420 organic => 1,
1421 hp => 40,
1422 armor => 0,
1423 attack => {
1424         ground => {
1425                 damage => 5,
1426                 dps => 7,
1427                 cooldown => 22,
1428         },
1429         range => 1,
1430 },
1431 sight => 7,
1432 speed => 14,
1433 },
1434
1435 {
1436 cat => 'base',
1437 name => 'Overlord',
1438 min => 100,
1439 gas => 0,
1440 build => 40,
1441 suit => 3,
1442 unit => -9,
1443 race => 'zerg',
1444 organic => 1,
1445 air => 1,
1446 hp => 200,
1447 armor => 0,
1448 cargo => 0,
1449 sight => 9,
1450 detect => 1,
1451 speed => 2,
1452 transport => 1,
1453 upgrade => [
1454         {
1455                 name => 'Ventral Sacs',
1456                 min => 200,
1457                 gas => 200,
1458                 build => 160,
1459                 cargo => -8,
1460         },
1461         {
1462                 name => 'Antennae',
1463                 min => 150,
1464                 gas => 150,
1465                 build => 133,
1466                 sight => 11 - 9,
1467         },
1468         {
1469                 name => 'Pneumatized Carapace',
1470                 min => 150,
1471                 gas => 150,
1472                 build => 133,
1473                 speed => 10 - 2,
1474         },
1475 ],
1476 },
1477
1478 {
1479 cat => 'creep',
1480 name => 'Larva',
1481 trans => {
1482         nl => 'larve',
1483 },
1484 build => 20,
1485 suit => 1,
1486 unit => 0,
1487 race => 'zerg',
1488 organic => 1,
1489 hp => 25,
1490 armor => 10,
1491 sight => 4,
1492 speed => 0.1, # more or less
1493 special => [
1494         {
1495                 name => 'transform',
1496                 alt => 'Egg',
1497                 trans => {
1498                         nl => 'ei',
1499                 },
1500                 suit => 3,
1501                 race => 'zerg',
1502                 organic => undef, # unchanged from parent
1503                 hp => 200,
1504                 armor => 10,
1505                 sight => 4,
1506                 speed => 0,
1507         },
1508 ],
1509 },
1510
1511 {
1512 cat => 'creep',
1513 name => 'Sunken Colony',
1514 min => 175,
1515 gas => 0,
1516 build => 20,
1517 suit => 3,
1518 race => 'zerg',
1519 hp => 300,
1520 armor => 2,
1521 attack => {
1522         ground => {
1523                 damage => 40,
1524                 dps => 38,
1525                 cooldown => 32,
1526                 type => 'explosive',
1527         },
1528         range => 7,
1529 },
1530 sight => 10,
1531 speed => 0,
1532 },
1533
1534 {
1535 cat => 'creep',
1536 name => 'Spore Colony',
1537 min => 175,
1538 gas => 0,
1539 build => 20,
1540 suit => 3,
1541 race => 'zerg',
1542 hp => 400,
1543 armor => 0,
1544 attack => {
1545         air => {
1546                 damage => 15,
1547                 dps => 30,
1548                 cooldown => 15,
1549         },
1550         range => 7,
1551 },
1552 sight => 10,
1553 detect => 1,
1554 speed => 0,
1555 },
1556
1557 {
1558 cat => 'hatchery',
1559 name => 'Zergling',
1560 min => 25,
1561 gas => 0,
1562 build => 28, # for 2
1563 suit => 1,
1564 unit => 0.5,
1565 race => 'zerg',
1566 organic => 1,
1567 hp => 35,
1568 armor => 0,
1569 attack => {
1570         ground => {
1571                 damage => [5, 6, 7, 8],
1572                 dps => [18, undef, undef, 29], # 29 is an estimate
1573                 cooldown => 8,
1574         },
1575         range => 1,
1576 },
1577 sight => 5,
1578 speed => 14,
1579 upgrade => [
1580         {
1581                 name => 'Metabolic Boost',
1582                 min => 100,
1583                 gas => 100,
1584                 build => 80,
1585                 speed => 22 - 14,
1586         },
1587         {
1588                 name => 'Adrenal Glands',
1589                 min => 200,
1590                 gas => 200,
1591                 build => 80,
1592                 attack => {
1593                         ground => {
1594                                 cooldown => 6,
1595                                 dps => [undef, undef, undef, 42 - 29],
1596                         },
1597                 },
1598         },
1599 ],
1600 counter => ['archon', 'templar', 'firebat'],
1601 },
1602
1603 {
1604 cat => 'hatchery',
1605 name => 'Hydralisk',
1606 min => 75,
1607 gas => 25,
1608 build => 28,
1609 suit => 2,
1610 unit => 1,
1611 race => 'zerg',
1612 organic => 1,
1613 hp => 80,
1614 armor => 0,
1615 attack => {
1616         ground => {
1617                 damage => [10, 11, 12, 13],
1618                 dps => [20, 22, 24, 26],
1619                 cooldown => 15,
1620                 type => 'explosive',
1621         },
1622         air => 'ground',
1623         range => 4,
1624 },
1625 sight => 6,
1626 speed => 11,
1627 upgrade => [
1628         {
1629                 name => 'Grooved Spines',
1630                 min => 150,
1631                 gas => 150,
1632                 build => 100,
1633                 attack => {
1634                         range => 5 - 4,
1635                 },
1636         },
1637         {
1638                 name => 'Muscular Augments',
1639                 min => 150,
1640                 gas => 150,
1641                 build => 100,
1642                 speed => 16 - 11,
1643         },
1644         {
1645                 name => 'Lurker Aspect',
1646                 min => 200,
1647                 gas => 200,
1648                 build => 120,
1649         },
1650 ],
1651 },
1652
1653 {
1654 cat => 'lair',
1655 name => 'Lurker',
1656 min => 125,
1657 gas => 125,
1658 base => 'hydralisk',
1659 build => 40,
1660 suit => 2,
1661 unit => 2,
1662 race => 'zerg',
1663 organic => 1,
1664 hp => 125,
1665 armor => 1,
1666 attack => {
1667         ground => {
1668                 damage => [20, 22, 24, 26],
1669                 dps => [16, undef, undef, 21],
1670                 cooldown => 37,
1671                 splash => 'line',
1672         },
1673         range => 6,
1674 },
1675 sight => 8,
1676 speed => 17,
1677 },
1678
1679 {
1680 cat => 'lair',
1681 name => 'Queen',
1682 min => 100,
1683 gas => 100,
1684 build => 50,
1685 suit => 2,
1686 unit => 2,
1687 race => 'zerg',
1688 organic => 1,
1689 air => 1,
1690 hp => 120,
1691 armor => 0,
1692 sight => 10,
1693 speed => 18,
1694 energy => 200,
1695 special => [
1696         {
1697                 name => 'Infest CC',
1698                 abbr => 'ic',
1699                 desc => 'assimilate a damaged Terran Command Center to produce infested marines',
1700                 duration => 0,
1701         },
1702         {
1703                 name => 'Parasite',
1704                 abbr => 'ps',
1705                 desc => "shares an infected unit's vision",
1706                 range => 12,
1707                 cost => 75,
1708         },
1709         {
1710                 name => 'Ensnare',
1711                 abbr => 'es',
1712                 min => 100,
1713                 gas => 100,
1714                 build => 80,
1715                 desc => 'slows units downto half speed',
1716                 range => 9,
1717                 cost => 75,
1718                 duration => 25,
1719         },
1720         {
1721                 name => 'Spawn Broodling',
1722                 abbr => 'sb',
1723                 min => 100,
1724                 gas => 100,
1725                 build => 80,
1726                 desc => 'spawn one inside an enemy unit killing it',
1727                 range => 9,
1728                 cost => 150,
1729
1730                 count => 2,
1731                 alt => 'Broodling',
1732                 suit => 1,
1733                 unit => 0,
1734                 organic => 1,
1735                 hp => 30,
1736                 armor => 0,
1737                 attack => {
1738                         ground => {
1739                                 damage => [4, 5, 6, 7],
1740                                 dps => [8, 10, 12, 14],
1741                                 cooldown => 15,
1742                         },
1743                         range => 1,
1744                 },
1745                 sight => 5,
1746                 speed => 19,
1747         },
1748 ],
1749 },
1750
1751 {
1752 cat => 'lair',
1753 name => 'Infested Terran',
1754 min => 100,
1755 gas => 50,
1756 build => 40,
1757 suit => 1,
1758 unit => 1,
1759 race => 'zerg',
1760 organic => 1,
1761 hp => 60,
1762 armor => 0,
1763 attack => {
1764         ground => {
1765                 damage => 500,
1766                 splash => 1,
1767                 type => 'explosive',
1768         },
1769         range => 1,
1770 },
1771 sight => 5,
1772 speed => 17,
1773 },
1774
1775 {
1776 cat => 'lair',
1777 name => 'Scourge',
1778 min => 12,
1779 gas => 38,
1780 build => 30, # for 2
1781 suit => 1,
1782 unit => 0.5,
1783 race => 'zerg',
1784 organic => 1,
1785 air => 1,
1786 hp => 25,
1787 armor => 0,
1788 attack => {
1789         air => {
1790                 damage => 110,
1791         },
1792         range => 1,
1793 },
1794 sight => 5,
1795 speed => 18,
1796 counter => ['cannon', 'goliath', 'hydralisk'],
1797 },
1798
1799 {
1800 cat => 'lair',
1801 name => 'Mutalisk',
1802 min => 100,
1803 gas => 100,
1804 build => 40,
1805 suit => 1,
1806 unit => 2,
1807 race => 'zerg',
1808 organic => 1,
1809 air => 1,
1810 hp => 120,
1811 armor => 0,
1812 attack => {
1813         ground => {
1814                 damage => [9 .. 12],
1815                 dps => [9, 10, 11, 12],
1816                 cooldown => 30,
1817                 splash => 'bounce',
1818         },
1819         air => 'ground',
1820         range => 3,
1821 },
1822 sight => 7,
1823 speed => 18,
1824 special => [
1825         {
1826                 alt => 'Cocoon',
1827                 suit => 3,
1828                 organic => 1,
1829                 hp => 200,
1830                 armor => 0,
1831                 sight => 4,
1832                 speed => 0,
1833         },
1834         #TODO: glaive
1835 ],
1836 counter => ['templar', 'corsair', 'valkyrie'],
1837 },
1838
1839 {
1840 cat => 'hive',
1841 name => 'Guardian',
1842 min => 150,
1843 gas => 200,
1844 build => 40,
1845 base => 'mutalisk',
1846 suit => 3,
1847 unit => 2,
1848 race => 'zerg',
1849 organic => 1,
1850 air => 1,
1851 hp => 150,
1852 armor => 2,
1853 attack => {
1854         ground => {
1855                 damage => [20, 22, 24, 26],
1856                 dps => [20, 22, 24, 26],
1857                 cooldown => 30,
1858         },
1859         range => 8,
1860 },
1861 sight => 11,
1862 speed => 7,
1863 },
1864
1865 {
1866 cat => 'hive',
1867 name => 'Devourer',
1868 min => 250,
1869 gas => 150,
1870 build => 40,
1871 base => 'mutalisk',
1872 suit => 3,
1873 unit => 2,
1874 race => 'zerg',
1875 organic => 1,
1876 air => 1,
1877 hp => 250,
1878 armor => 2,
1879 attack => {
1880         air => {
1881                 damage => [25, 27, 29, 31],
1882                 dps => [8, undef, undef, 9],
1883                 cooldown => 100,
1884                 type => 'explosive',
1885         },
1886         range => 6,
1887 },
1888 sight => 10,
1889 speed => 15,
1890 counter => ['goliath', 'dragoon', 'scourge'],
1891 },
1892
1893 {
1894 cat => 'hive',
1895 name => 'Defiler',
1896 min => 50,
1897 gas => 150,
1898 build => 50,
1899 suit => 2,
1900 unit => 2,
1901 race => 'zerg',
1902 organic => 1,
1903 hp => 80,
1904 armor => 1,
1905 sight => 10,
1906 speed => 12,
1907 energy => 200,
1908 special => [
1909         {
1910                 name => 'Consume',
1911                 abbr => 'cs',
1912                 min => 100,
1913                 gas => 100,
1914                 build => 100,
1915                 desc => 'gain energy by eating one of your own',
1916                 cost => -50,
1917                 duration => 0,
1918         },
1919         {
1920                 name => 'Dark Swarm',
1921                 abbr => 'ds',
1922                 desc => 'protect 6x6m from ranged attacks for 60s',
1923                 range => 9,
1924                 cost => 100,
1925                 duration => 60,
1926         },
1927         {
1928                 name => 'Plague',
1929                 abbr => 'pl',
1930                 min => 200,
1931                 gas => 200,
1932                 build => 100,
1933                 desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
1934                 range => 9,
1935                 cost => 150,
1936                 duration => 12,
1937         },
1938 ],
1939 counter => ['archon', 'firebat'],
1940 },
1941
1942 {
1943 cat => 'hive',
1944 name => 'Ultralisk',
1945 min => 200,
1946 gas => 200,
1947 build => 60,
1948 suit => 3,
1949 unit => 4,
1950 race => 'zerg',
1951 organic => 1,
1952 hp => 400,
1953 armor => 1,
1954 attack => {
1955         ground => {
1956                 damage => [20, 23, 26, 29],
1957                 dps => [40, 46, 52, 58],
1958                 cooldown => 15,
1959         },
1960         range => 1,
1961 },
1962 sight => 7,
1963 speed => 16,
1964 upgrade => [
1965         {
1966                 name => 'Chitinous Plating',
1967                 min => 150,
1968                 gas => 150,
1969                 build => 133,
1970                 armor => 2,
1971         },
1972         {
1973                 name => 'Anabolic Synthesis',
1974                 min => 200,
1975                 gas => 200,
1976                 build => 133,
1977                 speed => 21 - 16,
1978         },
1979 ],
1980 },
1981
1982 ]