RTD build image url fixed, setup.py typo
This commit is contained in:
parent
2f8120bd0d
commit
daa071f0f5
@ -2,6 +2,10 @@
|
|||||||
History
|
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)
|
0.16.0 (2019-09-29)
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -1423,8 +1423,7 @@ class Citizen(classes.CitizenAPI):
|
|||||||
max_count = (int(self.time_till_week_change.total_seconds()) // 360 * self.energy.interval) // 10
|
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(
|
log_msg = "End for Weekly challenge is near (Recoverable until WC end {}hp | want to do {}hits)".format(
|
||||||
max_count, count)
|
max_count, count)
|
||||||
max_usable_energy = max_count - self.energy.limit * 2
|
count = count if max_count > count else max_count
|
||||||
count = count if max_usable_energy > count * 10 else max_usable_energy // 10
|
|
||||||
|
|
||||||
if not silent:
|
if not silent:
|
||||||
self.write_log(log_msg, False)
|
self.write_log(log_msg, False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user