RTD build image url fixed, setup.py typo

This commit is contained in:
Eriks Karls 2019-10-08 09:31:09 +03:00
parent 2f8120bd0d
commit daa071f0f5
2 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,10 @@
History
=======
* WC end fighting energy bugfix
* More strict fighting limiting before week change
* Improved and fixed ground damage booster usage
0.16.0 (2019-09-29)
-------------------

View File

@ -1423,8 +1423,7 @@ class Citizen(classes.CitizenAPI):
max_count = (int(self.time_till_week_change.total_seconds()) // 360 * self.energy.interval) // 10
log_msg = "End for Weekly challenge is near (Recoverable until WC end {}hp | want to do {}hits)".format(
max_count, count)
max_usable_energy = max_count - self.energy.limit * 2
count = count if max_usable_energy > count * 10 else max_usable_energy // 10
count = count if max_count > count else max_count
if not silent:
self.write_log(log_msg, False)