Kyrluckechuck / TFT-Bot

Automate Teamfight Tactics (TFT) for token/mission farming. Updated for Set 8.5!
GNU Affero General Public License v3.0
50 stars 7 forks source link

Make wanted traits configurable #126

Closed akshualy closed 1 year ago

akshualy commented 1 year ago

Description

Adds wanted_traits and purchase_traits_in_prioritized_order to the configuration. Documents both in the README and the config itself.

wanted_traits is a 1:1 replacement for the field WANTED_TRAITS in constants.py. purchase_traits_in_prioritized_order is a new configuration option that I thought would make sense. It makes the behavior configurable, in which currently, a trait in the list is only bought if the trait that comes before it was found. For example, at the moment, a brawler unit is only purchased if a duelist unit is bought.

Addresses one of the tasks in #124.

Notes

Deletes the Previous Patch folder in the trait captures. If we need them, we can refer to git history.

akshualy commented 1 year ago

As mentioned in the discussion above, we can now see our win rate in the game-end overview.

It is worth noting that this doesn't immediately update upon losing since a game must end entirely to show up in the match history. This effectively means it's off by one game on average, which should be fine in the long run.

We likely won't be able to sustain anything much higher than 50% since Elo is a thing 😞 But at least now we know! 🎉

grafik grafik