mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-11 18:55:53 +00:00
Minor fix
Gen 7 challenge wasn't taking into account the `rand` value
This commit is contained in:
parent
ab44755d4b
commit
840e3063ff
@ -451,7 +451,7 @@ export class SingleGenerationChallenge extends Challenge {
|
||||
|
||||
applyFixedBattle(waveIndex: Number, battleConfig: FixedBattleConfig): boolean {
|
||||
let trainerTypes: TrainerType[] = [];
|
||||
if (this.rand === 0 && this.value === 3 || this.value === 7) {
|
||||
if (this.rand === 0 && this.value === 3 || this.rand === 0 && this.value === 7) {
|
||||
/** Currently used for determining the evil team when there is more than one for a given generation. */
|
||||
const rand = Utils.randSeedInt(2, 1);
|
||||
this.rand = rand;
|
||||
|
Loading…
x
Reference in New Issue
Block a user