Skip to content

Commit

Permalink
SC2: Adding Defiler Upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
EnvyDragon committed May 18, 2024
1 parent 9805ea2 commit bac22e9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
4 changes: 4 additions & 0 deletions worlds/sc2/ItemDescriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,10 @@ def _ability_desc(unit_name_plural: str, ability_name: str, ability_description:
ItemNames.BROOD_QUEEN_FUNGAL_GROWTH: _ability_desc("Brood Queens", "Fungal Growth"),
ItemNames.BROOD_QUEEN_ENSNARE: _ability_desc("Brood Queens", "Ensnare"),
ItemNames.BROOD_QUEEN_ENHANCED_MITOCHONDRIA: "Brood Queens start with maximum energy and gain increased energy regeneration. Like powerhouses (of the cell).",
ItemNames.DEFILER_PATHOGEN_PROJECTORS: "Defilers gain +4 cast range for Dark Swarm and Plague.",
ItemNames.DEFILER_TRAPDOOR_ADAPTATION: "Defilers can now use abilities while burrowed.",
ItemNames.DEFILER_PREDATORY_CONSUMPTION: "Defilers can now use Consume on any non-heroic biological unit, not just friendly Zerg.",
ItemNames.DEFILER_COMORBIDITY: "Plague now stacks up to three times, and depletes energy as well as health.",
ItemNames.ZERGLING_RAPTOR_STRAIN: "Allows Zerglings to jump up and down cliffs and leap onto enemies. Also increases Zergling attack damage by 2.",
ItemNames.ZERGLING_SWARMLING_STRAIN: "Zerglings will spawn instantly and with an extra Zergling per egg at no additional cost.",
ItemNames.ROACH_VILE_STRAIN: "Roach attacks will slow the movement and attack speed of enemies.",
Expand Down
4 changes: 4 additions & 0 deletions worlds/sc2/ItemNames.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@
BROOD_QUEEN_FUNGAL_GROWTH = "Fungal Growth (Brood Queen)"
BROOD_QUEEN_ENSNARE = "Ensnare (Brood Queen)"
BROOD_QUEEN_ENHANCED_MITOCHONDRIA = "Enhanced Mitochondria (Brood Queen)"
DEFILER_PATHOGEN_PROJECTORS = "Pathogen Projectors (Defiler)"
DEFILER_TRAPDOOR_ADAPTATION = "Trapdoor Adaptation (Defiler)"
DEFILER_PREDATORY_CONSUMPTION = "Predatory Consumption (Defiler)"
DEFILER_COMORBIDITY = "Comorbidity (Defiler)"

# Zerg Strains
ZERGLING_RAPTOR_STRAIN = "Raptor Strain (Zergling)"
Expand Down
16 changes: 13 additions & 3 deletions worlds/sc2/Items.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,18 @@ def get_full_item_list():
ItemNames.BROOD_QUEEN_ENHANCED_MITOCHONDRIA:
ItemData(276 + SC2HOTS_ITEM_ID_OFFSET, ZergItemType.Mutation_3, 16, SC2Race.ZERG, parent_item=ItemNames.BROOD_QUEEN,
origin={"ext"}),
ItemNames.DEFILER_PATHOGEN_PROJECTORS:
ItemData(276 + SC2HOTS_ITEM_ID_OFFSET, ZergItemType.Mutation_3, 17, SC2Race.ZERG, parent_item=ItemNames.DEFILER,
origin={"ext"}),
ItemNames.DEFILER_TRAPDOOR_ADAPTATION:
ItemData(276 + SC2HOTS_ITEM_ID_OFFSET, ZergItemType.Mutation_3, 18, SC2Race.ZERG, parent_item=ItemNames.DEFILER,
origin={"ext"}),
ItemNames.DEFILER_PREDATORY_CONSUMPTION:
ItemData(276 + SC2HOTS_ITEM_ID_OFFSET, ZergItemType.Mutation_3, 19, SC2Race.ZERG, parent_item=ItemNames.DEFILER,
origin={"ext"}),
ItemNames.DEFILER_COMORBIDITY:
ItemData(276 + SC2HOTS_ITEM_ID_OFFSET, ZergItemType.Mutation_3, 20, SC2Race.ZERG, parent_item=ItemNames.DEFILER,
origin={"ext"}),

ItemNames.ZERGLING_RAPTOR_STRAIN:
ItemData(300 + SC2HOTS_ITEM_ID_OFFSET, ZergItemType.Strain, 0, SC2Race.ZERG, parent_item=ItemNames.ZERGLING,
Expand Down Expand Up @@ -1701,7 +1713,6 @@ def get_basic_units(world: 'SC2World', race: SC2Race) -> typing.Set[str]:
ItemNames.PSI_DISRUPTER,
ItemNames.PERDITION_TURRET,
# Terran units without upgrades
ItemNames.HERC,
ItemNames.WARHOUND,
# General Terran upgrades without any dependencies
ItemNames.SCV_ADVANCED_CONSTRUCTION,
Expand Down Expand Up @@ -1731,8 +1742,7 @@ def get_basic_units(world: 'SC2World', race: SC2Race) -> typing.Set[str]:
# Zerg static defenses
ItemNames.SPORE_CRAWLER,
ItemNames.SPINE_CRAWLER,
# Defiler, Aberration (no upgrades)
ItemNames.DEFILER,
# Aberration (no upgrades)
ItemNames.ABERRATION,
# Spear of Adun Abilities
ItemNames.SOA_CHRONO_SURGE,
Expand Down

0 comments on commit bac22e9

Please sign in to comment.