Implements critical capture, tweaks for integration tests.
All checks were successful
Build / Build (push) Successful in 48s
All checks were successful
Build / Build (push) Successful in 48s
This commit is contained in:
@@ -8,22 +8,36 @@
|
||||
"positionsPerSide": 1,
|
||||
"parties": [
|
||||
{
|
||||
"indices": [[0, 0]],
|
||||
"indices": [
|
||||
[
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"pokemon": [
|
||||
{
|
||||
"species": "charizard",
|
||||
"level": 50,
|
||||
"moves": ["ember"]
|
||||
"moves": [
|
||||
"ember"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [[1, 0]],
|
||||
"indices": [
|
||||
[
|
||||
1,
|
||||
0
|
||||
]
|
||||
],
|
||||
"pokemon": [
|
||||
{
|
||||
"species": "venusaur",
|
||||
"level": 50,
|
||||
"moves": ["vine_whip"]
|
||||
"moves": [
|
||||
"vine_whip"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -32,13 +46,25 @@
|
||||
"actions": [
|
||||
{
|
||||
"$type": "setPokemon",
|
||||
"place": [0, 0],
|
||||
"fromParty": [0, 0]
|
||||
"place": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"fromParty": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "setPokemon",
|
||||
"place": [1, 0],
|
||||
"fromParty": [1, 0]
|
||||
"place": [
|
||||
1,
|
||||
0
|
||||
],
|
||||
"fromParty": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "assert",
|
||||
@@ -47,18 +73,27 @@
|
||||
},
|
||||
{
|
||||
"$type": "setMoveChoice",
|
||||
"place": [0, 0],
|
||||
"place": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"move": "ember",
|
||||
"target": [1, 0]
|
||||
"target": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "setPassChoice",
|
||||
"place": [1, 0]
|
||||
"place": [
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "assert",
|
||||
"value": ".Sides[1].Pokemon[0].CurrentHealth",
|
||||
"expected": 78
|
||||
"expected": 84
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user