Skip to content

Commit 7e67c33

Browse files
committed
add Barrack2 (Super Troops) to production buildings
1 parent eb64982 commit 7e67c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coc/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def _load_json_meta(cls, troop_meta, id, name, lab_to_townhall):
218218
# it is a troop or spell or siege
219219
prod_unit = buildings.get(production_building)
220220
if production_building in ("SiegeWorkshop", "Spell Forge", "Mini Spell Factory",
221-
"Dark Elixir Barrack", "Barrack"):
221+
"Dark Elixir Barrack", "Barrack", "Barrack2"):
222222
min_prod_unit_level = troop_meta.get("BarrackLevel", [None, ])[0]
223223
# there are some special troops, which have no BarrackLevel attribute
224224
if not min_prod_unit_level:

0 commit comments

Comments
 (0)