1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-24 05:14:52 +00:00

refactor: auto-mission

This commit is contained in:
RedDeadDepresso
2024-01-21 19:12:58 +00:00
parent 91bdc79fa9
commit 78c12a21dc
32 changed files with 496 additions and 229 deletions
+20 -52
View File
@@ -274,64 +274,32 @@
},
"Formation": {
"burst1": {
"type": "select",
"value": 1,
"option": [
1,
2,
3,
4
]
"type": "input",
"value": "1-1"
},
"burst2": {
"type": "select",
"value": 4,
"option": [
1,
2,
3,
4
]
"type": "input",
"value": "1-2"
},
"pierce1": {
"type": "select",
"value": 2,
"option": [
1,
2,
3,
4
]
"type": "input",
"value": "1-3"
},
"pierce2": {
"type": "select",
"value": 4,
"option": [
1,
2,
3,
4
]
"type": "input",
"value": "1-4"
},
"mystic1": {
"type": "select",
"value": 3,
"option": [
1,
2,
3,
4
]
"type": "input",
"value": "1-5"
},
"mystic2": {
"type": "select",
"value": 4,
"option": [
1,
2,
3,
4
]
"type": "input",
"value": "2-1"
},
"Substitute": {
"type": "checkbox",
"value": false
}
},
"ManualBoss": {
@@ -346,8 +314,8 @@
"value": false
},
"Area": {
"type": "input",
"value": 4
"type": "textarea",
"value": null
},
"Completion": {
"type": "select",
@@ -364,8 +332,8 @@
"value": false
},
"Area": {
"type": "input",
"value": 6
"type": "textarea",
"value": null
},
"Completion": {
"type": "select",
+13 -20
View File
@@ -243,38 +243,31 @@ TacticalChallengeShop:
"15": false
Formation:
burst1:
value: 1
option: [ 1, 2, 3, 4 ]
burst2:
value: 4
option: [ 1, 2, 3, 4 ]
pierce1:
value: 2
option: [ 1, 2, 3, 4 ]
pierce2:
value: 4
option: [ 1, 2, 3, 4 ]
mystic1:
value: 3
option: [ 1, 2, 3, 4 ]
mystic2:
value: 4
option: [ 1, 2, 3, 4 ]
burst1: 1-1
burst2: 1-2
pierce1: 1-3
pierce2: 1-4
mystic1: 1-5
mystic2: 2-1
Substitute: false
ManualBoss:
Enable: false
Normal:
Enable: false
Area: 4
Area:
value: null
type: textarea
Completion:
value: clear
option: [ clear, three_stars]
Hard:
Enable: false
Area: 6
Area:
value: null
type: textarea
Completion:
value: clear
option: [ clear, three_stars, three_stars_chest]
+9 -8
View File
@@ -160,24 +160,25 @@ class GeneratedConfig:
TacticalChallengeShop_15 = False
# Group `Formation`
Formation_burst1 = 1 # 1, 2, 3, 4
Formation_burst2 = 4 # 1, 2, 3, 4
Formation_pierce1 = 2 # 1, 2, 3, 4
Formation_pierce2 = 4 # 1, 2, 3, 4
Formation_mystic1 = 3 # 1, 2, 3, 4
Formation_mystic2 = 4 # 1, 2, 3, 4
Formation_burst1 = '1-1'
Formation_burst2 = '1-2'
Formation_pierce1 = '1-3'
Formation_pierce2 = '1-4'
Formation_mystic1 = '1-5'
Formation_mystic2 = '2-1'
Formation_Substitute = False
# Group `ManualBoss`
ManualBoss_Enable = False
# Group `Normal`
Normal_Enable = False
Normal_Area = 4
Normal_Area = None
Normal_Completion = 'clear' # clear, three_stars
# Group `Hard`
Hard_Enable = False
Hard_Area = 6
Hard_Area = None
Hard_Completion = 'clear' # clear, three_stars, three_stars_chest
# Group `ItemStorage`
+13 -33
View File
@@ -827,55 +827,35 @@
"Formation": {
"_info": {
"name": "Formation",
"help": "Select the unit for each type"
"help": "AAS will choose the unit from the Preset List in the Layout after entering the Unit Formation Page. The format is preset-row, for example 1-1 means choose preset 1 row 1. Please make sure the presets are set to their original names (1,2,3,4). It is highly recommended that you set them up to be unique."
},
"burst1": {
"name": "Explosive 1",
"help": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": ""
},
"burst2": {
"name": "Explosive 2",
"help": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": ""
},
"pierce1": {
"name": "Piercing 1",
"help": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": ""
},
"pierce2": {
"name": "Piercing 2",
"help": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": ""
},
"mystic1": {
"name": "Mystic 1",
"help": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": ""
},
"mystic2": {
"name": "Mystic 2",
"help": "",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": ""
},
"Substitute": {
"name": "Find Alternatives",
"help": "In case you set the preset for some types to be the same and the stage requires all of those types, AAS will try to find alternatives. For example, if you set Explosive 1 and Explosive 2 to be the same and the stage requires both of them, AAS will replace Explosive 2 with Piercing 1."
}
},
"ManualBoss": {
@@ -899,7 +879,7 @@
},
"Area": {
"name": "Area",
"help": ""
"help": "Currently only between 4 and 16. Use > to connect multiple areas. Example: 6 > 7 > 8"
},
"Completion": {
"name": "Completion level",
@@ -919,7 +899,7 @@
},
"Area": {
"name": "Area",
"help": ""
"help": "Currently only between 6 and 16. Use > to connect multiple areas. Example: 6 > 7 > 8"
},
"Completion": {
"name": "Completion level",
+10 -30
View File
@@ -831,51 +831,31 @@
},
"burst1": {
"name": "Formation.burst1.name",
"help": "Formation.burst1.help",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": "Formation.burst1.help"
},
"burst2": {
"name": "Formation.burst2.name",
"help": "Formation.burst2.help",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": "Formation.burst2.help"
},
"pierce1": {
"name": "Formation.pierce1.name",
"help": "Formation.pierce1.help",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": "Formation.pierce1.help"
},
"pierce2": {
"name": "Formation.pierce2.name",
"help": "Formation.pierce2.help",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": "Formation.pierce2.help"
},
"mystic1": {
"name": "Formation.mystic1.name",
"help": "Formation.mystic1.help",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": "Formation.mystic1.help"
},
"mystic2": {
"name": "Formation.mystic2.name",
"help": "Formation.mystic2.help",
"1": "1",
"2": "2",
"3": "3",
"4": "4"
"help": "Formation.mystic2.help"
},
"Substitute": {
"name": "Formation.Substitute.name",
"help": "Formation.Substitute.help"
}
},
"ManualBoss": {