Skip to content

Commit

Permalink
Merge pull request Ziktofel#307 from MatthewMarinets/mm/war_council_t…
Browse files Browse the repository at this point in the history
…rireme

sc2: Adding Trireme war council upgrade -- solar beam
  • Loading branch information
Ziktofel authored Sep 21, 2024
2 parents 535e1f0 + 55af699 commit 85a947c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion worlds/sc2/item_descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ def _ability_desc(unit_name_plural: str, ability_name: str, ability_description:
item_names.DAWNBRINGER_SOLARITE_LENS: "Dawnbringer War Council upgrade. Dawnbringers gain +2 range.",
item_names.CARRIER_REPAIR_DRONES: "Carrier War Council upgrade. Carriers gain 2 repair drones which heal nearby mechanical units.",
item_names.SKYLORD_HYPERJUMP: "Skylord War Council upgrade. " + _ability_desc("Skylords", "Hyperjump", "teleports the skylord to any location on the map."),
# Trireme
item_names.TRIREME_SOLAR_BEAM: "Trireme War Council upgrade. Triremes gain an anti-air laser attack that deals more damage over time.",
item_names.TEMPEST_DISINTEGRATION: "Tempest War Council upgrade. " + _ability_desc("Tempests", "Disintegration", "deals 500 damage to a target unit or structure over 20 seconds"),
# Scout
item_names.ARBITER_ABILITY_EFFICIENCY: "Arbiter War Council upgrade. Reduces the energy cost of Recall by 50 and Stasis Field by 100.",
Expand Down
2 changes: 1 addition & 1 deletion worlds/sc2/item_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
DAWNBRINGER_SOLARITE_LENS = "Solarite Lens (Dawnbringer)"
CARRIER_REPAIR_DRONES = "Repair Drones (Carrier)"
SKYLORD_HYPERJUMP = "Hyperjump (Skylord)"
# Trireme
TRIREME_SOLAR_BEAM = "Solar Beam (Trieme)"
TEMPEST_DISINTEGRATION = "Disintegration (Tempest)"
# Scout
ARBITER_ABILITY_EFFICIENCY = "Ability Efficiency (Arbiter)"
Expand Down
2 changes: 1 addition & 1 deletion worlds/sc2/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -1871,7 +1871,7 @@ def get_full_item_list():
item_names.DAWNBRINGER_SOLARITE_LENS: ItemData(537 + SC2LOTV_ITEM_ID_OFFSET, ProtossItemType.War_Council_2, 7, SC2Race.PROTOSS, classification=ItemClassification.progression, parent_item=item_names.DAWNBRINGER),
item_names.CARRIER_REPAIR_DRONES: ItemData(538 + SC2LOTV_ITEM_ID_OFFSET, ProtossItemType.War_Council_2, 8, SC2Race.PROTOSS, classification=ItemClassification.progression, parent_item=item_names.CARRIER),
item_names.SKYLORD_HYPERJUMP: ItemData(539 + SC2LOTV_ITEM_ID_OFFSET, ProtossItemType.War_Council_2, 9, SC2Race.PROTOSS, parent_item=item_names.SKYLORD),
# 540 reserved for Trireme
item_names.TRIREME_SOLAR_BEAM: ItemData(540 + SC2LOTV_ITEM_ID_OFFSET, ProtossItemType.War_Council_2, 10, SC2Race.PROTOSS, classification=ItemClassification.progression, parent_item=item_names.TRIREME),
item_names.TEMPEST_DISINTEGRATION: ItemData(541 + SC2LOTV_ITEM_ID_OFFSET, ProtossItemType.War_Council_2, 11, SC2Race.PROTOSS, parent_item=item_names.TEMPEST),
# 542 reserved for Scout
item_names.ARBITER_ABILITY_EFFICIENCY: ItemData(543 + SC2LOTV_ITEM_ID_OFFSET, ProtossItemType.War_Council_2, 13, SC2Race.PROTOSS, parent_item=item_names.ARBITER),
Expand Down
1 change: 1 addition & 0 deletions worlds/sc2/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ def protoss_basic_anti_air(self, state: CollectionState) -> bool:
item_names.PHOENIX, item_names.MIRAGE, item_names.CORSAIR, item_names.CARRIER, item_names.SKYLORD,
item_names.SCOUT, item_names.DARK_ARCHON, item_names.MOTHERSHIP
}, self.player)
or state.has_all({item_names.TRIREME, item_names.TRIREME_SOLAR_BEAM}, self.player)
or state.has_all({item_names.WRATHWALKER, item_names.WRATHWALKER_AERIAL_TRACKING}, self.player)
or state.has_all({item_names.WARP_PRISM, item_names.WARP_PRISM_PHASE_BLASTER}, self.player)
or self.advanced_tactics and state.has_any(
Expand Down

0 comments on commit 85a947c

Please sign in to comment.