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

Opt: Validate value before save into config

This commit is contained in:
18870
2021-11-14 23:57:28 +08:00
parent 1921ffe0fa
commit e84f7c3153
16 changed files with 379 additions and 148 deletions

View File

@@ -6,7 +6,9 @@
Scheduler:
Enable: false
NextRun: 2020-01-01 00:00:00
NextRun:
value: 2020-01-01 00:00:00
validate: datetime
Command: Alas
SuccessInterval: 0
FailureInterval: 120
@@ -126,7 +128,9 @@ Emotion:
CalculateEmotion: true
IgnoreLowEmotionWarn: false
Fleet1Value: 119
Fleet1Record: 2020-01-01 00:00:00
Fleet1Record:
value: 2020-01-01 00:00:00
validate: datetime
Fleet1Control:
value: prevent_yellow_face
option: [keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face]
@@ -135,7 +139,9 @@ Emotion:
option: [not_in_dormitory, dormitory_floor_1, dormitory_floor_2]
Fleet1Oath: false
Fleet2Value: 119
Fleet2Record: 2020-01-01 00:00:00
Fleet2Record:
value: 2020-01-01 00:00:00
validate: datetime
Fleet2Control:
value: prevent_yellow_face
option: [keep_exp_bonus, prevent_green_face, prevent_yellow_face, prevent_red_face]
@@ -369,7 +375,9 @@ Exercise:
LowHpThreshold: 0.4
LowHpConfirmWait: 0.1
OpponentRefreshValue: 0
OpponentRefreshRecord: 2020-01-01 00:00:00
OpponentRefreshRecord:
value: 2020-01-01 00:00:00
validate: datetime
Sos:
Chapter:
value: 3