Skip to content

Commit 9e0a603

Browse files
committed
Fix found attributes on Drones and Banelings
1 parent 0bb9ca3 commit 9e0a603

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

sc2reader/data/build16561.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ class Egg(Supporter):
508508
class Drone(Worker):
509509
abilities = {
510510
0x0: 'Return cargo',
511+
0x12a40: 'Gather resources',
511512
0x0: 'Burrow',
512513
0x0: 'Hatchery',
513514
0x0: 'Spawning Pool',
@@ -541,7 +542,9 @@ class Zergling(Moveable, Attacker):
541542
class Baneling(Moveable, Attacker):
542543
abilities = {
543544
0x0: 'Explode',
544-
0x0: 'Attack Structure'
545+
0x0: 'Attack Structure',
546+
0x21c00: 'Enable Building Attack',
547+
0x0: 'Disable Building Attack',
545548
}
546549

547550
@Burrows(0x0, 0x0)
@@ -700,4 +703,4 @@ class GreaterSpire(Spire):
700703
class UltraliskCavern(Research):
701704
abilities = {
702705
0x0: 'Chitinous Plating',
703-
}
706+
}

sc2reader/data/build17326.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,9 @@ class Zergling(Moveable, Attacker):
551551
class Baneling(Moveable, Attacker):
552552
abilities = {
553553
0x003500: 'Explode',
554-
0x011d00: 'Attack Structure'
554+
0x011d00: 'Attack Structure',
555+
0x21c00: 'Enable Building Attack',
556+
0x0: 'Disable Building Attack',
555557
}
556558

557559
@Burrows(0x023a00, 0x023b00)
@@ -710,4 +712,4 @@ class GreaterSpire(Spire):
710712
class UltraliskCavern(Research):
711713
abilities = {
712714
0x012602: 'Chitinous Plating',
713-
}
715+
}

sc2reader/data/build18317.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ class Egg(Supporter):
508508
class Drone(Worker):
509509
abilities = {
510510
0x0: 'Return cargo',
511+
0x12a40: 'Gather resources',
511512
0x0: 'Burrow',
512513
0x0: 'Hatchery',
513514
0x0: 'Spawning Pool',
@@ -541,7 +542,9 @@ class Zergling(Moveable, Attacker):
541542
class Baneling(Moveable, Attacker):
542543
abilities = {
543544
0x0: 'Explode',
544-
0x0: 'Attack Structure'
545+
0x0: 'Attack Structure',
546+
0x21c00: 'Enable Building Attack',
547+
0x0: 'Disable Building Attack',
545548
}
546549

547550
@Burrows(0x0, 0x0)
@@ -700,4 +703,4 @@ class GreaterSpire(Spire):
700703
class UltraliskCavern(Research):
701704
abilities = {
702705
0x0: 'Chitinous Plating',
703-
}
706+
}

sc2reader/data/build19595.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ class Egg(Supporter):
608608
class Drone(Worker):
609609
abilities = {
610610
0x12a01: 'Return cargo',
611+
0x12a40: 'Gather resources',
611612
0x0: 'Burrow',
612613
0x12920: 'Hatchery',
613614
0x12923: 'Spawning Pool',
@@ -656,7 +657,9 @@ class Zergling(Moveable, Attacker):
656657
class Baneling(Moveable, Attacker):
657658
abilities = {
658659
0x3600: 'Explode',
659-
0x5e40: 'Attack Structure'
660+
0x5e40: 'Attack Structure',
661+
0x0: 'Attack Structure',
662+
0x21c00: 'Enable Building Attack',
660663
}
661664

662665
@Burrows(0x13b00, 0x13c00)

0 commit comments

Comments
 (0)