mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
Skip first shake check for critical captures
This commit is contained in:
parent
d245a0e214
commit
3b2fb87917
@ -122,8 +122,8 @@ export class AttemptCapturePhase extends PokemonPhase {
|
||||
shakeCounter.stop();
|
||||
this.failCatch(shakeCount);
|
||||
} else if (shakeCount++ < (isCritical ? 1 : 3)) {
|
||||
// Shake check
|
||||
if (pokeballMultiplier === -1 || pokemon.randSeedInt(65536) < shakeProbability) {
|
||||
// Shake check (skip the first for critical captures)
|
||||
if (pokeballMultiplier === -1 || isCritical && shakeCount === 1 || pokemon.randSeedInt(65536) < shakeProbability) {
|
||||
this.scene.playSound("se/pb_move");
|
||||
} else {
|
||||
shakeCounter.stop();
|
||||
|
Loading…
Reference in New Issue
Block a user