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

Merge pull request #772 from nEEtdo0d/tactical_exp_fix

Fix: Refactor RewardTacticalClass
This commit is contained in:
LmeSzinc
2021-11-29 23:36:18 +08:00
committed by GitHub
10 changed files with 255 additions and 25 deletions

View File

@@ -2883,6 +2883,28 @@
"type": "textarea",
"value": "SameT4 > SameT3 > SameT2 > SameT1\n> BlueT2 > YellowT2 > RedT2\n> BlueT3 > YellowT3 > RedT3\n> BlueT4 > YellowT4 > RedT4\n> BlueT1 > YellowT1 > RedT1\n> first"
}
},
"ControlExpOverflow": {
"Enable": {
"type": "checkbox",
"value": true
},
"T4Allow": {
"type": "input",
"value": 100
},
"T3Allow": {
"type": "input",
"value": 100
},
"T2Allow": {
"type": "input",
"value": 200
},
"T1Allow": {
"type": "input",
"value": 200
}
}
},
"Research": {

View File

@@ -6,7 +6,7 @@
Scheduler:
Enable: false
NextRun:
NextRun:
value: 2020-01-01 00:00:00
validate: datetime
Command: Alas
@@ -128,7 +128,7 @@ Emotion:
CalculateEmotion: true
IgnoreLowEmotionWarn: false
Fleet1Value: 119
Fleet1Record:
Fleet1Record:
value: 2020-01-01 00:00:00
validate: datetime
Fleet1Control:
@@ -139,7 +139,7 @@ Emotion:
option: [not_in_dormitory, dormitory_floor_1, dormitory_floor_2]
Fleet1Oath: false
Fleet2Value: 119
Fleet2Record:
Fleet2Record:
value: 2020-01-01 00:00:00
validate: datetime
Fleet2Control:
@@ -216,6 +216,12 @@ Tactical:
> BlueT4 > YellowT4 > RedT4
> BlueT1 > YellowT1 > RedT1
> first
ControlExpOverflow:
Enable: true
T4Allow: 100
T3Allow: 100
T2Allow: 200
T1Allow: 200
Research:
UseCube: false
UseCoin: true
@@ -376,7 +382,7 @@ Exercise:
LowHpThreshold: 0.4
LowHpConfirmWait: 0.1
OpponentRefreshValue: 0
OpponentRefreshRecord:
OpponentRefreshRecord:
value: 2020-01-01 00:00:00
validate: datetime
Sos:

View File

@@ -87,6 +87,7 @@ Commission:
Tactical:
- Scheduler
- Tactical
- ControlExpOverflow
Research:
- Scheduler
- Research

View File

@@ -147,6 +147,13 @@ class GeneratedConfig:
# Group `Tactical`
Tactical_TacticalFilter = 'SameT4 > SameT3 > SameT2 > SameT1\n> BlueT2 > YellowT2 > RedT2\n> BlueT3 > YellowT3 > RedT3\n> BlueT4 > YellowT4 > RedT4\n> BlueT1 > YellowT1 > RedT1\n> first'
# Group `ControlExpOverflow`
ControlExpOverflow_Enable = True
ControlExpOverflow_T4Allow = 100
ControlExpOverflow_T3Allow = 100
ControlExpOverflow_T2Allow = 200
ControlExpOverflow_T1Allow = 200
# Group `Research`
Research_UseCube = False
Research_UseCoin = True

View File

@@ -876,6 +876,32 @@
"help": "Generally does not need to be modified or re-arranged but can do so if desired"
}
},
"ControlExpOverflow": {
"_info": {
"name": "Control EXP Overflow Settings",
"help": "Control waste amount of EXP on a specific book tier to save on time\nFor example, if remain = 1100, use ColorT3_Exp despite losing out on 100 EXP"
},
"Enable": {
"name": "Enable",
"help": "Disable for no overflow across all tiers\nOtherwise enable then set specific tier's overflow for customization"
},
"T4Allow": {
"name": "T4 Overflow Allow",
"help": "0 ~ any positive integer"
},
"T3Allow": {
"name": "T3 Overflow Allow",
"help": "0 ~ any positive integer"
},
"T2Allow": {
"name": "T2 Overflow Allow",
"help": "0 ~ any positive integer"
},
"T1Allow": {
"name": "T1 Overflow Allow",
"help": "0 ~ any positive integer"
}
},
"Research": {
"_info": {
"name": "Research Academy Settings",

View File

@@ -876,6 +876,32 @@
"help": "Tactical.TacticalFilter.help"
}
},
"ControlExpOverflow": {
"_info": {
"name": "ControlExpOverflow._info.name",
"help": "ControlExpOverflow._info.help"
},
"Enable": {
"name": "ControlExpOverflow.Enable.name",
"help": "ControlExpOverflow.Enable.help"
},
"T4Allow": {
"name": "ControlExpOverflow.T4Allow.name",
"help": "ControlExpOverflow.T4Allow.help"
},
"T3Allow": {
"name": "ControlExpOverflow.T3Allow.name",
"help": "ControlExpOverflow.T3Allow.help"
},
"T2Allow": {
"name": "ControlExpOverflow.T2Allow.name",
"help": "ControlExpOverflow.T2Allow.help"
},
"T1Allow": {
"name": "ControlExpOverflow.T1Allow.name",
"help": "ControlExpOverflow.T1Allow.help"
}
},
"Research": {
"_info": {
"name": "Research._info.name",

View File

@@ -876,6 +876,32 @@
"help": "一般不需要修改"
}
},
"ControlExpOverflow": {
"_info": {
"name": "ControlExpOverflow._info.name",
"help": "ControlExpOverflow._info.help"
},
"Enable": {
"name": "ControlExpOverflow.Enable.name",
"help": "ControlExpOverflow.Enable.help"
},
"T4Allow": {
"name": "ControlExpOverflow.T4Allow.name",
"help": "ControlExpOverflow.T4Allow.help"
},
"T3Allow": {
"name": "ControlExpOverflow.T3Allow.name",
"help": "ControlExpOverflow.T3Allow.help"
},
"T2Allow": {
"name": "ControlExpOverflow.T2Allow.name",
"help": "ControlExpOverflow.T2Allow.help"
},
"T1Allow": {
"name": "ControlExpOverflow.T1Allow.name",
"help": "ControlExpOverflow.T1Allow.help"
}
},
"Research": {
"_info": {
"name": "科研",

View File

@@ -876,6 +876,32 @@
"help": "一般不需要修改"
}
},
"ControlExpOverflow": {
"_info": {
"name": "ControlExpOverflow._info.name",
"help": "ControlExpOverflow._info.help"
},
"Enable": {
"name": "ControlExpOverflow.Enable.name",
"help": "ControlExpOverflow.Enable.help"
},
"T4Allow": {
"name": "ControlExpOverflow.T4Allow.name",
"help": "ControlExpOverflow.T4Allow.help"
},
"T3Allow": {
"name": "ControlExpOverflow.T3Allow.name",
"help": "ControlExpOverflow.T3Allow.help"
},
"T2Allow": {
"name": "ControlExpOverflow.T2Allow.name",
"help": "ControlExpOverflow.T2Allow.help"
},
"T1Allow": {
"name": "ControlExpOverflow.T1Allow.name",
"help": "ControlExpOverflow.T1Allow.help"
}
},
"Research": {
"_info": {
"name": "科研",