Skip to content

Commit

Permalink
workaround for dak bg changes from umber wasp
Browse files Browse the repository at this point in the history
  • Loading branch information
KingDarBoja committed Oct 8, 2023
1 parent 7a19462 commit ff167ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/unitStats/workarounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ function setBattlegroupsWorkarounds() {
// Field Engineering Branch.
item.branches.LEFT.upgrades.forEach((upg) => {
switch (upg.ability.id) {
case "italian_infantry_double_l640_ak":
upg.spawnItems = ["l6_40_ak", "l6_40_ak"];
break;
case "italian_infantry_guastatori_ak":
upg.spawnItems = ["guastatori_ak"];
break;
Expand All @@ -114,8 +117,8 @@ function setBattlegroupsWorkarounds() {
// Defensive Warfare Branch.
item.branches.RIGHT.upgrades.forEach((upg) => {
switch (upg.ability.id) {
case "italian_infantry_double_l640_ak":
upg.spawnItems = ["l6_40_ak", "l6_40_ak"];
// Do nothing.
default:
break;
}
});
Expand Down

0 comments on commit ff167ea

Please sign in to comment.