ocraft / ocraft-s2client

StarCraft II Client - Java library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
55 stars 15 forks source link

New big patch brought more "stable" id changes #36

Closed Ketroc closed 4 years ago

Ketroc commented 4 years ago

Blizzard released a big patch with the 10th anniversary and unfortunately it made some stable ids not so stable... again. Below is the important Enum changes/additions required:

Units
PROTOSS_ASSIMILATOR_RICH = 1994 ZERG_EXTRACTOR_RICH = 1995 NEUTRAL_MINERAL_FIELD450 = 1996 NEUTRAL_MINERAL_FIELD_OPAQUE = 1997 NEUTRAL_MINERAL_FIELD_OPAQUE900 = 1998 NEUTRAL_MINERAL_FIELD450_410 = 1961 NEUTRAL_MINERAL_FIELD_OPAQUE_410 = 1962 NEUTRAL_MINERAL_FIELD_OPAQUE900_410 = 1963

Abilities BATTERY_OVERCHARGE = 4107 (new protoss nexus ability) AMORPHOUS_ARMOR_CLOUD = 4109 (new zerg infestor ability)

Buffs BATTERY_OVERCHARGE = 297 AMORPHOUS_ARMOR_CLOUD = 295

complete info on the id changes here: https://github.com/BurnySc2/python-sc2/commit/43ce023e5fa9bd3f91d2eb0de751052bf9e39135