1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Opt: Show Map_clear_percentage as percentage instead of full float

This commit is contained in:
LmeSzinc
2024-08-17 00:26:39 +08:00
parent d1b41367cb
commit 95eb23de32

View File

@@ -313,7 +313,7 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
return False
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
# 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: