1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-26 01:15:03 +08:00

Opt: Reset iff cached as 4 to override as 2x book impossible to turn on

This commit is contained in:
nEEtdo0d
2021-03-27 10:26:45 -04:00
parent 8817b64bee
commit d29ec0c0d2

View File

@@ -277,6 +277,7 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
# 1) Enabled but impossible to turn on # 1) Enabled but impossible to turn on
# 2) Enabled and able to turn on but get_expected_reduce cached as 2 # 2) Enabled and able to turn on but get_expected_reduce cached as 2
if self.config.ENABLE_2X_BOOK and not self.appear(BOOK_ENABLE_CHECK): if self.config.ENABLE_2X_BOOK and not self.appear(BOOK_ENABLE_CHECK):
if self.emotion.get_expected_reduce == 4:
self.emotion.get_expected_reduce_reset() self.emotion.get_expected_reduce_reset()
backup = self.config.cover(ENABLE_2X_BOOK=False) backup = self.config.cover(ENABLE_2X_BOOK=False)
self.emotion.get_expected_reduce self.emotion.get_expected_reduce