lib/sc2ai/api/tech_tree_data.rb in sc2ai-0.0.2 vs lib/sc2ai/api/tech_tree_data.rb in sc2ai-0.0.3

- old
+ new

@@ -25,10 +25,11 @@ {ability: Api::AbilityId::BARRACKSTRAIN_MARAUDER, requires_techlab: true}}, Api::UnitTypeId::FACTORY => {Api::UnitTypeId::HELLION => {ability: Api::AbilityId::FACTORYTRAIN_HELLION}, + Api::UnitTypeId::CYCLONE => {ability: Api::AbilityId::TRAIN_CYCLONE}, Api::UnitTypeId::WIDOWMINE => {ability: Api::AbilityId::FACTORYTRAIN_WIDOWMINE}, Api::UnitTypeId::SIEGETANK => {ability: Api::AbilityId::FACTORYTRAIN_SIEGETANK, requires_techlab: true}, @@ -36,13 +37,11 @@ {ability: Api::AbilityId::FACTORYTRAIN_THOR, requires_techlab: true, required_building: Api::UnitTypeId::ARMORY}, Api::UnitTypeId::HELLIONTANK => {ability: Api::AbilityId::TRAIN_HELLBAT, - required_building: Api::UnitTypeId::ARMORY}, - Api::UnitTypeId::CYCLONE => - {ability: Api::AbilityId::TRAIN_CYCLONE, requires_techlab: true}}, + required_building: Api::UnitTypeId::ARMORY}}, Api::UnitTypeId::STARPORT => {Api::UnitTypeId::MEDIVAC => {ability: Api::AbilityId::STARPORTTRAIN_MEDIVAC}, Api::UnitTypeId::VIKINGFIGHTER => {ability: Api::AbilityId::STARPORTTRAIN_VIKINGFIGHTER}, @@ -505,35 +504,37 @@ Api::UnitTypeId::FUSIONCORE => {Api::UpgradeId::BATTLECRUISERENABLESPECIALIZATIONS => {ability: Api::AbilityId::RESEARCH_BATTLECRUISERWEAPONREFIT}, Api::UpgradeId::LIBERATORAGRANGEUPGRADE => {ability: Api::AbilityId::FUSIONCORERESEARCH_RESEARCHBALLISTICRANGE}, - Api::UpgradeId::MEDIVACINCREASESPEEDBOOST => - {ability: Api::AbilityId::FUSIONCORERESEARCH_RESEARCHRAPIDREIGNITIONSYSTEM}}, + Api::UpgradeId::MEDIVACCADUCEUSREACTOR => + {ability: Api::AbilityId::FUSIONCORERESEARCH_RESEARCHMEDIVACENERGYUPGRADE}}, Api::UnitTypeId::BARRACKSTECHLAB => {Api::UpgradeId::STIMPACK => {ability: Api::AbilityId::BARRACKSTECHLABRESEARCH_STIMPACK}, Api::UpgradeId::SHIELDWALL => {ability: Api::AbilityId::RESEARCH_COMBATSHIELD}, Api::UpgradeId::PUNISHERGRENADES => {ability: Api::AbilityId::RESEARCH_CONCUSSIVESHELLS}}, Api::UnitTypeId::FACTORYTECHLAB => {Api::UpgradeId::HIGHCAPACITYBARRELS => {ability: Api::AbilityId::RESEARCH_INFERNALPREIGNITER}, - Api::UpgradeId::CYCLONELOCKONDAMAGEUPGRADE => - {ability: Api::AbilityId::RESEARCH_CYCLONELOCKONDAMAGE}, + Api::UpgradeId::TEMPESTGROUNDATTACKUPGRADE => + {ability: Api::AbilityId::FACTORYTECHLABRESEARCH_CYCLONERESEARCHHURRICANETHRUSTERS}, Api::UpgradeId::DRILLCLAWS => {ability: Api::AbilityId::RESEARCH_DRILLINGCLAWS, required_building: Api::UnitTypeId::ARMORY}, Api::UpgradeId::SMARTSERVOS => {ability: Api::AbilityId::RESEARCH_SMARTSERVOS, required_building: Api::UnitTypeId::ARMORY}}, Api::UnitTypeId::STARPORTTECHLAB => {Api::UpgradeId::BANSHEECLOAK => {ability: Api::AbilityId::RESEARCH_BANSHEECLOAKINGFIELD}, Api::UpgradeId::BANSHEESPEED => - {ability: Api::AbilityId::RESEARCH_BANSHEEHYPERFLIGHTROTORS}}, + {ability: Api::AbilityId::RESEARCH_BANSHEEHYPERFLIGHTROTORS}, + Api::UpgradeId::AMPLIFIEDSHIELDING => + {ability: Api::AbilityId::STARPORTTECHLABRESEARCH_RESEARCHRAVENINTERFERENCEMATRIX}}, Api::UnitTypeId::FORGE => {Api::UpgradeId::PROTOSSGROUNDWEAPONSLEVEL1 => {ability: Api::AbilityId::FORGERESEARCH_PROTOSSGROUNDWEAPONSLEVEL1, requires_power: true}, Api::UpgradeId::PROTOSSGROUNDARMORSLEVEL1 => @@ -577,11 +578,11 @@ {ability: Api::AbilityId::RESEARCH_PHOENIXANIONPULSECRYSTALS, requires_power: true}, Api::UpgradeId::VOIDRAYSPEEDUPGRADE => {ability: Api::AbilityId::FLEETBEACONRESEARCH_RESEARCHVOIDRAYSPEEDUPGRADE, requires_power: true}, - Api::UpgradeId::TEMPESTGROUNDATTACKUPGRADE => + Api::UpgradeId::MICROBIALSHROUD => {ability: Api::AbilityId::FLEETBEACONRESEARCH_TEMPESTRESEARCHGROUNDATTACKUPGRADE, requires_power: true}}, Api::UnitTypeId::TWILIGHTCOUNCIL => {Api::UpgradeId::CHARGE => {ability: Api::AbilityId::RESEARCH_CHARGE, requires_power: true}, @@ -707,13 +708,11 @@ {Api::UpgradeId::ANABOLICSYNTHESIS => {ability: Api::AbilityId::RESEARCH_ANABOLICSYNTHESIS}, Api::UpgradeId::CHITINOUSPLATING => {ability: Api::AbilityId::RESEARCH_CHITINOUSPLATING}}, Api::UnitTypeId::INFESTATIONPIT => - {Api::UpgradeId::INFESTORENERGYUPGRADE => - {ability: Api::AbilityId::RESEARCH_PATHOGENGLANDS}, - Api::UpgradeId::NEURALPARASITE => + {Api::UpgradeId::NEURALPARASITE => {ability: Api::AbilityId::RESEARCH_NEURALPARASITE}}, Api::UnitTypeId::BANELINGNEST => {Api::UpgradeId::CENTRIFICALHOOKS => {ability: Api::AbilityId::RESEARCH_CENTRIFUGALHOOKS, required_building: Api::UnitTypeId::LAIR}}, @@ -775,15 +774,15 @@ Api::UnitTypeId::MARINE => [Api::UnitTypeId::BARRACKS], Api::UnitTypeId::REAPER => [Api::UnitTypeId::BARRACKS], Api::UnitTypeId::GHOST => [Api::UnitTypeId::BARRACKS], Api::UnitTypeId::MARAUDER => [Api::UnitTypeId::BARRACKS], Api::UnitTypeId::HELLION => [Api::UnitTypeId::FACTORY], + Api::UnitTypeId::CYCLONE => [Api::UnitTypeId::FACTORY], Api::UnitTypeId::WIDOWMINE => [Api::UnitTypeId::FACTORY], Api::UnitTypeId::SIEGETANK => [Api::UnitTypeId::FACTORY], Api::UnitTypeId::THOR => [Api::UnitTypeId::FACTORY], Api::UnitTypeId::HELLIONTANK => [Api::UnitTypeId::FACTORY], - Api::UnitTypeId::CYCLONE => [Api::UnitTypeId::FACTORY], Api::UnitTypeId::MEDIVAC => [Api::UnitTypeId::STARPORT], Api::UnitTypeId::VIKINGFIGHTER => [Api::UnitTypeId::STARPORT], Api::UnitTypeId::LIBERATOR => [Api::UnitTypeId::STARPORT], Api::UnitTypeId::BANSHEE => [Api::UnitTypeId::STARPORT], Api::UnitTypeId::RAVEN => [Api::UnitTypeId::STARPORT], @@ -921,21 +920,22 @@ Api::UpgradeId::TERRANVEHICLEANDSHIPARMORSLEVEL2 => Api::UnitTypeId::ARMORY, Api::UpgradeId::TERRANVEHICLEANDSHIPARMORSLEVEL3 => Api::UnitTypeId::ARMORY, Api::UpgradeId::BATTLECRUISERENABLESPECIALIZATIONS => Api::UnitTypeId::FUSIONCORE, Api::UpgradeId::LIBERATORAGRANGEUPGRADE => Api::UnitTypeId::FUSIONCORE, - Api::UpgradeId::MEDIVACINCREASESPEEDBOOST => Api::UnitTypeId::FUSIONCORE, + Api::UpgradeId::MEDIVACCADUCEUSREACTOR => Api::UnitTypeId::FUSIONCORE, Api::UpgradeId::STIMPACK => Api::UnitTypeId::BARRACKSTECHLAB, Api::UpgradeId::SHIELDWALL => Api::UnitTypeId::BARRACKSTECHLAB, Api::UpgradeId::PUNISHERGRENADES => Api::UnitTypeId::BARRACKSTECHLAB, Api::UpgradeId::HIGHCAPACITYBARRELS => Api::UnitTypeId::FACTORYTECHLAB, - Api::UpgradeId::CYCLONELOCKONDAMAGEUPGRADE => + Api::UpgradeId::TEMPESTGROUNDATTACKUPGRADE => Api::UnitTypeId::FACTORYTECHLAB, Api::UpgradeId::DRILLCLAWS => Api::UnitTypeId::FACTORYTECHLAB, Api::UpgradeId::SMARTSERVOS => Api::UnitTypeId::FACTORYTECHLAB, Api::UpgradeId::BANSHEECLOAK => Api::UnitTypeId::STARPORTTECHLAB, Api::UpgradeId::BANSHEESPEED => Api::UnitTypeId::STARPORTTECHLAB, + Api::UpgradeId::AMPLIFIEDSHIELDING => Api::UnitTypeId::STARPORTTECHLAB, Api::UpgradeId::PROTOSSGROUNDWEAPONSLEVEL1 => Api::UnitTypeId::FORGE, Api::UpgradeId::PROTOSSGROUNDARMORSLEVEL1 => Api::UnitTypeId::FORGE, Api::UpgradeId::PROTOSSSHIELDSLEVEL1 => Api::UnitTypeId::FORGE, Api::UpgradeId::PROTOSSGROUNDWEAPONSLEVEL2 => Api::UnitTypeId::FORGE, Api::UpgradeId::PROTOSSGROUNDWEAPONSLEVEL3 => Api::UnitTypeId::FORGE, @@ -943,11 +943,11 @@ Api::UpgradeId::PROTOSSGROUNDARMORSLEVEL3 => Api::UnitTypeId::FORGE, Api::UpgradeId::PROTOSSSHIELDSLEVEL2 => Api::UnitTypeId::FORGE, Api::UpgradeId::PROTOSSSHIELDSLEVEL3 => Api::UnitTypeId::FORGE, Api::UpgradeId::PHOENIXRANGEUPGRADE => Api::UnitTypeId::FLEETBEACON, Api::UpgradeId::VOIDRAYSPEEDUPGRADE => Api::UnitTypeId::FLEETBEACON, - Api::UpgradeId::TEMPESTGROUNDATTACKUPGRADE => Api::UnitTypeId::FLEETBEACON, + Api::UpgradeId::MICROBIALSHROUD => Api::UnitTypeId::FLEETBEACON, Api::UpgradeId::CHARGE => Api::UnitTypeId::TWILIGHTCOUNCIL, Api::UpgradeId::BLINKTECH => Api::UnitTypeId::TWILIGHTCOUNCIL, Api::UpgradeId::ADEPTPIERCINGATTACK => Api::UnitTypeId::TWILIGHTCOUNCIL, Api::UpgradeId::PSISTORMTECH => Api::UnitTypeId::TEMPLARARCHIVE, Api::UpgradeId::DARKTEMPLARBLINKUPGRADE => Api::UnitTypeId::DARKSHRINE, @@ -985,11 +985,10 @@ Api::UpgradeId::ZERGFLYERWEAPONSLEVEL3 => Api::UnitTypeId::SPIRE, Api::UpgradeId::ZERGFLYERARMORSLEVEL2 => Api::UnitTypeId::SPIRE, Api::UpgradeId::ZERGFLYERARMORSLEVEL3 => Api::UnitTypeId::SPIRE, Api::UpgradeId::ANABOLICSYNTHESIS => Api::UnitTypeId::ULTRALISKCAVERN, Api::UpgradeId::CHITINOUSPLATING => Api::UnitTypeId::ULTRALISKCAVERN, - Api::UpgradeId::INFESTORENERGYUPGRADE => Api::UnitTypeId::INFESTATIONPIT, Api::UpgradeId::NEURALPARASITE => Api::UnitTypeId::INFESTATIONPIT, Api::UpgradeId::CENTRIFICALHOOKS => Api::UnitTypeId::BANELINGNEST, Api::UpgradeId::GLIALRECONSTITUTION => Api::UnitTypeId::ROACHWARREN, Api::UpgradeId::TUNNELINGCLAWS => Api::UnitTypeId::ROACHWARREN, Api::UpgradeId::DIGGINGCLAWS => Api::UnitTypeId::LURKERDENMP, @@ -1037,10 +1036,11 @@ Api::AbilityId::PATROL_PATROL, Api::AbilityId::HOLDPOSITION_HOLD, Api::AbilityId::ATTACK_ATTACK, Api::AbilityId::EFFECT_MASSRECALL_STRATEGICRECALL, Api::AbilityId::EFFECT_TIMEWARP, + Api::AbilityId._250MMSTRIKECANNONS_CANCEL, Api::AbilityId::SMART], Api::UnitTypeId::POINTDEFENSEDRONE => [], Api::UnitTypeId::CHANGELING => [Api::AbilityId::STOP_STOP, Api::AbilityId::MOVE_MOVE, @@ -1128,16 +1128,16 @@ [Api::AbilityId::RALLY_BUILDING, Api::AbilityId::BUILD_TECHLAB_FACTORY, Api::AbilityId::BUILD_REACTOR_FACTORY, Api::AbilityId::LIFT_FACTORY, Api::AbilityId::FACTORYTRAIN_HELLION, + Api::AbilityId::TRAIN_CYCLONE, Api::AbilityId::FACTORYTRAIN_WIDOWMINE, Api::AbilityId::SMART, Api::AbilityId::FACTORYTRAIN_SIEGETANK, Api::AbilityId::FACTORYTRAIN_THOR, - Api::AbilityId::TRAIN_HELLBAT, - Api::AbilityId::TRAIN_CYCLONE], + Api::AbilityId::TRAIN_HELLBAT], Api::UnitTypeId::STARPORT => [Api::AbilityId::RALLY_BUILDING, Api::AbilityId::BUILD_TECHLAB_STARPORT, Api::AbilityId::BUILD_REACTOR_STARPORT, Api::AbilityId::LIFT_STARPORT, @@ -1159,11 +1159,11 @@ Api::AbilityId::ARMORYRESEARCH_TERRANVEHICLEANDSHIPPLATINGLEVEL2, Api::AbilityId::ARMORYRESEARCH_TERRANVEHICLEANDSHIPPLATINGLEVEL3], Api::UnitTypeId::FUSIONCORE => [Api::AbilityId::RESEARCH_BATTLECRUISERWEAPONREFIT, Api::AbilityId::FUSIONCORERESEARCH_RESEARCHBALLISTICRANGE, - Api::AbilityId::FUSIONCORERESEARCH_RESEARCHRAPIDREIGNITIONSYSTEM], + Api::AbilityId::FUSIONCORERESEARCH_RESEARCHMEDIVACENERGYUPGRADE], Api::UnitTypeId::AUTOTURRET => [Api::AbilityId::STOP_STOP, Api::AbilityId::ATTACK_ATTACK, Api::AbilityId::SMART], Api::UnitTypeId::SIEGETANKSIEGED => @@ -1208,17 +1208,18 @@ Api::AbilityId::RESEARCH_COMBATSHIELD, Api::AbilityId::RESEARCH_CONCUSSIVESHELLS], Api::UnitTypeId::BARRACKSREACTOR => [], Api::UnitTypeId::FACTORYTECHLAB => [Api::AbilityId::RESEARCH_INFERNALPREIGNITER, - Api::AbilityId::RESEARCH_CYCLONELOCKONDAMAGE, + Api::AbilityId::FACTORYTECHLABRESEARCH_CYCLONERESEARCHHURRICANETHRUSTERS, Api::AbilityId::RESEARCH_DRILLINGCLAWS, Api::AbilityId::RESEARCH_SMARTSERVOS], Api::UnitTypeId::FACTORYREACTOR => [], Api::UnitTypeId::STARPORTTECHLAB => [Api::AbilityId::RESEARCH_BANSHEECLOAKINGFIELD, - Api::AbilityId::RESEARCH_BANSHEEHYPERFLIGHTROTORS], + Api::AbilityId::RESEARCH_BANSHEEHYPERFLIGHTROTORS, + Api::AbilityId::STARPORTTECHLABRESEARCH_RESEARCHRAVENINTERFERENCEMATRIX], Api::UnitTypeId::STARPORTREACTOR => [], Api::UnitTypeId::FACTORYFLYING => [Api::AbilityId::STOP_STOP, Api::AbilityId::MOVE_MOVE, Api::AbilityId::PATROL_PATROL, @@ -1344,13 +1345,13 @@ Api::AbilityId::MOVE_MOVE, Api::AbilityId::PATROL_PATROL, Api::AbilityId::HOLDPOSITION_HOLD, Api::AbilityId::SCAN_MOVE, Api::AbilityId::BUILDAUTOTURRET_AUTOTURRET, - Api::AbilityId::EFFECT_INTERFERENCEMATRIX, Api::AbilityId::EFFECT_ANTIARMORMISSILE, - Api::AbilityId::SMART], + Api::AbilityId::SMART, + Api::AbilityId::EFFECT_INTERFERENCEMATRIX], Api::UnitTypeId::BATTLECRUISER => [Api::AbilityId::EFFECT_TACTICALJUMP, Api::AbilityId::ATTACK_BATTLECRUISER, Api::AbilityId::MOVE_BATTLECRUISER, Api::AbilityId::PATROL_BATTLECRUISER, @@ -1605,12 +1606,11 @@ Api::AbilityId::RESEARCH_ZERGFLYERARMORLEVEL3], Api::UnitTypeId::ULTRALISKCAVERN => [Api::AbilityId::RESEARCH_ANABOLICSYNTHESIS, Api::AbilityId::RESEARCH_CHITINOUSPLATING], Api::UnitTypeId::INFESTATIONPIT => - [Api::AbilityId::RESEARCH_PATHOGENGLANDS, - Api::AbilityId::RESEARCH_NEURALPARASITE], + [Api::AbilityId::RESEARCH_NEURALPARASITE], Api::UnitTypeId::NYDUSNETWORK => [Api::AbilityId::STOP_STOP, Api::AbilityId::RALLY_BUILDING, Api::AbilityId::LOAD_NYDUSNETWORK, Api::AbilityId::BUILD_NYDUSWORM, @@ -1683,11 +1683,12 @@ Api::AbilityId::MOVE_MOVE, Api::AbilityId::PATROL_PATROL, Api::AbilityId::HOLDPOSITION_HOLD, Api::AbilityId::ATTACK_ATTACK, Api::AbilityId::SMART, - Api::AbilityId::BURROWDOWN_ZERGLING], + Api::AbilityId::BURROWDOWN_ZERGLING, + Api::AbilityId::MORPHTOBANELING_CANCEL], Api::UnitTypeId::OVERLORD => [Api::AbilityId::STOP_STOP, Api::AbilityId::MOVE_MOVE, Api::AbilityId::PATROL_PATROL, Api::AbilityId::HOLDPOSITION_HOLD, @@ -2238,10 +2239,13 @@ Api::UnitTypeId::BYPASSARMORDRONE => [Api::AbilityId::STOP_STOP, Api::AbilityId::MOVE_MOVE, Api::AbilityId::ATTACK_ATTACK, Api::AbilityId::SMART], - Api::UnitTypeId::SHIELDBATTERY => [], + Api::UnitTypeId::SHIELDBATTERY => + [Api::AbilityId::STOP_STOP, + Api::AbilityId::SHIELDBATTERYRECHARGEEX5_SHIELDBATTERYRECHARGE, + Api::AbilityId::SMART], Api::UnitTypeId::OBSERVERSIEGEMODE => [Api::AbilityId::STOP_STOP, Api::AbilityId::MORPH_OBSERVERMODE], Api::UnitTypeId::OVERSEERSIEGEMODE => [Api::AbilityId::STOP_STOP, Api::AbilityId::SPAWNCHANGELING_SPAWNCHANGELING,