Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/data.json

Large diffs are not rendered by default.

31 changes: 30 additions & 1 deletion data/data_readable.json
Original file line number Diff line number Diff line change
Expand Up @@ -9685,6 +9685,20 @@
"id": 4132,
"name": "WORKERSTOPIDLEABILITYVESPENE_GATHER",
"target": "Unit"
},
{
"allow_autocast": false,
"allow_minimap": false,
"buff": [
303
],
"cast_range": 0,
"cooldown": 10,
"effect": [],
"energy_cost": 0,
"id": 4109,
"name": "FRENZY",
"target": "None"
}
],
"Unit": [
Expand Down Expand Up @@ -16356,6 +16370,14 @@
"building": 504
}
]
},
{
"ability": 4109,
"requirements": [
{
"upgrade": 298
}
]
}
],
"accepts_addon": false,
Expand Down Expand Up @@ -17852,7 +17874,14 @@
"weapons": []
},
{
"abilities": [],
"abilities": [
{
"ability": 1733
},
{
"ability": 1
}
],
"accepts_addon": false,
"armor": 0.0,
"attributes": [
Expand Down
5 changes: 5 additions & 0 deletions generate/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ def patch() -> None:
with (SOURCE_DIR / "ability.toml").open() as f:
c_ability = toml.load(f)

with (Path("generate") / "patches" / "ability_missing.toml").open() as f:
ability_missing = toml.load(f)
for a in ability_missing["Ability"]:
c_ability["Ability"].append(a)

with (SOURCE_DIR / "unit.toml").open() as f:
c_unit = toml.load(f)

Expand Down
11 changes: 11 additions & 0 deletions generate/patches/ability_missing.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[Ability]]
allow_autocast = false
allow_minimap = false
buff = [303]
cast_range = 0
cooldown = 10
effect = [ ]
energy_cost = 0
id = 4109
name = "FRENZY"
target = "None"
3 changes: 0 additions & 3 deletions generate/patches/ability_requirement.toml
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,6 @@ requirements = [{ "upgrade" = 64 }] # Burrow
[107.2332] # Hydralisk - MORPH_LURKER
requirements = [{ "building" = 504 }] # Lurker den (MP)

[107.4109] # Hydralisk - AMORPHOUSARMORCLOUD_AMORPHOUSARMORCLOUD
requirements = [{ "upgrade" = 304 }] # SecretedCoating

[109.1512] # Ultralisk - BURROWDOWN_ULTRALISK
requirements = [{ "upgrade" = 64 }] # Burrow

Expand Down
12 changes: 12 additions & 0 deletions generate/patches/unit_ability_disallowed.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
[498.2099] # WidowMine - WIDOWMINEATTACK_WIDOWMINEATTACK
disallow = true

[150.1] # InfestedTerransEgg - SMART
disallow = true

[150.18] # InfestedTerransEgg - HOLDPOSITION_HOLD
disallow = true

[150.17] # InfestedTerransEgg - PATROL_PATROL
disallow = true

[150.16] # InfestedTerransEgg - MOVE_MOVE
disallow = true
4 changes: 4 additions & 0 deletions generate/patches/unit_ability_missing.toml
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,7 @@ requirements = [{ "building" = 101 }] # Hive
[[504]] # LurkerDenMP LURKERDENRESEARCH_RESEARCHLURKERRANGE
ability = 3710
requirements = [{ "building" = 101 }] # Hive

[[107]] # Hydralisk FRENZY
ability = 4109
requirements = [{ "upgrade" = 298 }] # Frenzy
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [{ name = "BurnySc2", email = "gamingburny@gmail.com" }]
requires-python = ">=3.9, <3.13"

dependencies = [
"burnysc2>=7.0.3",
"burnysc2>=7.0.5",
"loguru>=0.7.3",
"toml>=0.10.2",
]
Expand Down