Files
PkmnLib.NET/PkmnLib.Tests/Integration/Tests/HighJumpKickCrashOnSemiInvulnerable.json
Deukhoofd d2a82b5fe3
All checks were successful
Build / Build (push) Successful in 3m12s
Many more tests and fixes
2026-08-27 17:11:12 +02:00

116 lines
2.1 KiB
JSON

{
"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
}
]
}