mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 05:52:17 +02:00
Remove boss HP segment relative catch rate logic
This commit is contained in:
parent
442ff6b50d
commit
5f19fbbb51
@ -3244,11 +3244,7 @@ export class AttemptCapturePhase extends PokemonPhase {
|
|||||||
|
|
||||||
this.originalY = pokemon.y;
|
this.originalY = pokemon.y;
|
||||||
|
|
||||||
const relMaxHp = !pokemon.isBoss()
|
const _3m = 3 * pokemon.getMaxHp();
|
||||||
? pokemon.getMaxHp()
|
|
||||||
: Math.round(pokemon.getMaxHp() / pokemon.bossSegments);
|
|
||||||
|
|
||||||
const _3m = 3 * relMaxHp;
|
|
||||||
const _2h = 2 * pokemon.hp;
|
const _2h = 2 * pokemon.hp;
|
||||||
const catchRate = pokemon.species.catchRate;
|
const catchRate = pokemon.species.catchRate;
|
||||||
const pokeballMultiplier = getPokeballCatchMultiplier(this.pokeballType);
|
const pokeballMultiplier = getPokeballCatchMultiplier(this.pokeballType);
|
||||||
|
Loading…
Reference in New Issue
Block a user