coc.py
coc.py copied to clipboard
Incorrect Minimum Level being returned on Siege Machines
troop = coc_client.get_troop(name="Siege Barracks",townhall=12)
m = troop.get_max_level_for_townhall(12)
returns m == 3, which is incorrect as Siege Barracks is not available at TH12.
Same issue persists for the following sieges at TH12:
- Log Launcher returns 3
- Flame Flinger returns 3
And at TH11:
- Battle Blimp returns 1
- Wall Wrecker returns 1
- Stone Slammer returns 1