mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-28 14:58:10 +08:00
Opt: Show Map_clear_percentage as percentage instead of full float
This commit is contained in:
@@ -313,7 +313,7 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
percent = self.get_map_clear_percentage()
|
percent = self.get_map_clear_percentage()
|
||||||
logger.attr('Map_clear_percentage', percent)
|
logger.attr('Map_clear_percentage', f'{int(percent * 100)}%')
|
||||||
# Comment this because percentage starts from 100% and increase from 0% to actual value
|
# Comment this because percentage starts from 100% and increase from 0% to actual value
|
||||||
# 2022.08.21 Still enable this when `percent` was raised from 0.
|
# 2022.08.21 Still enable this when `percent` was raised from 0.
|
||||||
if percent > 0.95 and 0 <= self.map_clear_percentage_prev < 0.95:
|
if percent > 0.95 and 0 <= self.map_clear_percentage_prev < 0.95:
|
||||||
|
|||||||
Reference in New Issue
Block a user