Many more tests and fixes
All checks were successful
Build / Build (push) Successful in 3m12s

This commit is contained in:
2026-08-27 17:11:12 +02:00
parent 32b3ef9c4a
commit d2a82b5fe3
204 changed files with 20255 additions and 242 deletions

View File

@@ -0,0 +1,115 @@
{
"name": "HighJumpKickCrashOnSemiInvulnerable",
"description": "A Hitmonlee uses High Jump Kick against a Crobat that flies up with Fly in the same turn. The faster Crobat becomes semi-invulnerable before the kick, so the kick misses and Hitmonlee takes crash damage equal to half its max HP, while Crobat takes no damage.",
"battleSetup": {
"seed": 10,
"canFlee": false,
"numberOfSides": 2,
"positionsPerSide": 1,
"hasDamageRandomness": false,
"parties": [
{
"indices": [
[
0,
0
]
],
"pokemon": [
{
"species": "crobat",
"level": 50,
"moves": [
"fly"
]
}
]
},
{
"indices": [
[
1,
0
]
],
"pokemon": [
{
"species": "hitmonlee",
"level": 50,
"moves": [
"high_jump_kick"
]
}
]
}
]
},
"actions": [
{
"$type": "setPokemon",
"place": [
0,
0
],
"fromParty": [
0,
0
]
},
{
"$type": "setPokemon",
"place": [
1,
0
],
"fromParty": [
1,
0
]
},
{
"$type": "assert",
"value": ".Sides[0].Pokemon[0].CurrentHealth",
"expected": 145
},
{
"$type": "assert",
"value": ".Sides[1].Pokemon[0].CurrentHealth",
"expected": 110
},
{
"$type": "setMoveChoice",
"place": [
0,
0
],
"move": "fly",
"target": [
1,
0
]
},
{
"$type": "setMoveChoice",
"place": [
1,
0
],
"move": "high_jump_kick",
"target": [
0,
0
]
},
{
"$type": "assert",
"value": ".Sides[0].Pokemon[0].CurrentHealth",
"expected": 145
},
{
"$type": "assert",
"value": ".Sides[1].Pokemon[0].CurrentHealth",
"expected": 55
}
]
}