mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Opt: Extra emotion recover
This commit is contained in:
@@ -26,6 +26,7 @@ DIC_RECOVER_MAX = {
|
||||
'dormitory_floor_2': 150,
|
||||
}
|
||||
OATH_RECOVER = 10
|
||||
EXTRA_RECOVER = 10
|
||||
|
||||
|
||||
class FleetEmotion:
|
||||
@@ -87,6 +88,14 @@ class FleetEmotion:
|
||||
"""
|
||||
return getattr(self.config, f'Emotion_Fleet{self.fleet}Oath')
|
||||
|
||||
@property
|
||||
def extra(self):
|
||||
"""
|
||||
Returns:
|
||||
bool: If all ships have extra emotion recover.
|
||||
"""
|
||||
return getattr(self.config, f'Emotion_Fleet{self.fleet}Extra')
|
||||
|
||||
@property
|
||||
def speed(self):
|
||||
"""
|
||||
@@ -96,6 +105,8 @@ class FleetEmotion:
|
||||
speed = DIC_RECOVER[self.recover]
|
||||
if self.oath:
|
||||
speed += OATH_RECOVER
|
||||
if self.extra:
|
||||
speed += EXTRA_RECOVER
|
||||
return speed // 10
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user