Skip to content

Commit

Permalink
update buff ids for 5.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
SoupCatcher committed Jun 8, 2024
1 parent 229fdcd commit c133f10
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/protoss/cannon_rush.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def on_step(self, iteration):

def main():
sc2.run_game(
sc2.maps.get("(2)CatalystLE"),
sc2.maps.get("InfestationStationAIE"),
[Bot(Race.Protoss, CannonRushBot(), name="CheeseCannon"), Computer(Race.Protoss, Difficulty.Medium)],
realtime=False,
)
Expand Down
4 changes: 4 additions & 0 deletions sc2/ids/ability_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ class AbilityId(enum.Enum):
FACTORYTECHLABRESEARCH_RESEARCHARMORPIERCINGROCKETS = 767
RESEARCH_CYCLONERAPIDFIRELAUNCHERS = 768
RESEARCH_CYCLONELOCKONDAMAGE = 769
RESEARCH_HURRICANE_THRUSTERS = 770
RESEARCH_BANSHEECLOAKINGFIELD = 790
STARPORTTECHLABRESEARCH_RESEARCHMEDIVACENERGYUPGRADE = 792
RESEARCH_RAVENCORVIDREACTOR = 793
Expand All @@ -226,6 +227,7 @@ class AbilityId(enum.Enum):
RESEARCH_HIGHCAPACITYFUELTANKS = 804
RESEARCH_ADVANCEDBALLISTICS = 805
STARPORTTECHLABRESEARCH_RAVENRESEARCHENHANCEDMUNITIONS = 806
RESEARCH_INTERFERENCE_MATRIX = 807
RESEARCH_PERSONALCLOAKING = 820
GHOSTACADEMYRESEARCH_RESEARCHGHOSTENERGYUPGRADE = 821
GHOSTACADEMYRESEARCH_RESEARCHENHANCEDSHOCKWAVES = 822
Expand Down Expand Up @@ -875,6 +877,7 @@ class AbilityId(enum.Enum):
MORPH_OVERLORDTRANSPORT = 2708
CANCEL_MORPHOVERLORDTRANSPORT = 2709
EFFECT_GHOSTSNIPE = 2714
CANCEL_CHANNEL_SNIPE = 2715
PURIFYMORPHPYLON_MOTHERSHIPCOREWEAPON = 2716
PURIFYMORPHPYLONBACK_MOTHERSHIPCOREWEAPON = 2718
RESEARCH_SHADOWSTRIKE = 2720
Expand Down Expand Up @@ -1285,6 +1288,7 @@ class AbilityId(enum.Enum):
AMORPHOUSARMORCLOUD_AMORPHOUSARMORCLOUD = 4109
SHIELDBATTERYRECHARGEEX5_SHIELDBATTERYRECHARGE = 4111
SHIELDBATTERYRECHARGEEX5_STOP = 4112
EFFECT_MOTHERSHIP_CLOAK = 4439

def __repr__(self):
return f"AbilityId.{self.name}"
Expand Down
15 changes: 9 additions & 6 deletions sc2/ids/buff_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,18 @@ class BuffId(enum.Enum):
INHIBITORZONEFLYINGTEMPORALFIELD = 291
LOADOUTSPRAYTRACKER = 292
INHIBITORZONETEMPORALFIELD = 293
RESONATINGGLAIVESPHASESHIFT = 294
NEURALPARASITECHILDREN = 295
AMORPHOUSARMORCLOUD = 296
RAVENSHREDDERMISSILEARMORREDUCTIONUISUBTRUCT = 297
BATTERYOVERCHARGE = 298
MOTHERSHIPCLOAKINGFIELD = 294
RESONATINGGLAIVESPHASESHIFT = 295
NEURALPARASITECHILDREN = 296
AMORPHOUSARMORCLOUD = 297
RAVENSHREDDERMISSILEARMORREDUCTIONUISUBTRUCT = 298
TAKENDAMAGE = 299
RAVENSCRAMBLERMISSILECARRIER = 300
BATTERYOVERCHARGE = 301
NYDUSCREEPGROWTH_1 = 300
ONCREEP = 303
ONCREEP_2 = 304
NYDUSCREEPGROWTH_2 = 306
CLOAKFIELD = 306

def __repr__(self):
return f"BuffId.{self.name}"
Expand Down
7 changes: 4 additions & 3 deletions sc2/ids/upgrade_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,13 @@ class UpgradeId(enum.Enum):
CARRIERCARRIERCAPACITY = 294
CARRIERLEASHRANGEUPGRADE = 295
TEMPESTGROUNDATTACKUPGRADE = 296
ENHANCEDSHOCKWAVES = 297
MICROBIALSHROUD = 298
MICROBIALSHROUD = 297
SUNDERINGIMPACT = 299
AMPLIFIEDSHIELDING = 300
PSIONICAMPLIFIERS = 301
SECRETEDCOATING = 302
ENHANCEDSHOCKWAVES = 302
HURRICANETHRUSTERS = 303
INTERFERENCEMATRIX = 304

def __repr__(self):
return f"UpgradeId.{self.name}"
Expand Down

0 comments on commit c133f10

Please sign in to comment.