mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-08 08:29:37 +02:00
Add "Nuzlocke" Achievement
This commit is contained in:
parent
b2e5983153
commit
2b28a9dcec
@ -5,6 +5,7 @@ import {
|
|||||||
FlipStatChallenge,
|
FlipStatChallenge,
|
||||||
FreshStartChallenge,
|
FreshStartChallenge,
|
||||||
InverseBattleChallenge,
|
InverseBattleChallenge,
|
||||||
|
LimitedCatchChallenge,
|
||||||
SingleGenerationChallenge,
|
SingleGenerationChallenge,
|
||||||
SingleTypeChallenge,
|
SingleTypeChallenge,
|
||||||
} from "#data/challenge";
|
} from "#data/challenge";
|
||||||
@ -922,6 +923,18 @@ export const achvs = {
|
|||||||
c.value > 0 &&
|
c.value > 0 &&
|
||||||
globalScene.gameMode.challenges.some(c => c.id === Challenges.INVERSE_BATTLE && c.value > 0),
|
globalScene.gameMode.challenges.some(c => c.id === Challenges.INVERSE_BATTLE && c.value > 0),
|
||||||
).setSecret(),
|
).setSecret(),
|
||||||
|
// TODO: Decide on icon, description, etc.
|
||||||
|
NUZLOCKE: new ChallengeAchv(
|
||||||
|
"NUZLOCKE",
|
||||||
|
"",
|
||||||
|
"NUZLOCKE.description",
|
||||||
|
"leaf_stone",
|
||||||
|
100,
|
||||||
|
c =>
|
||||||
|
c instanceof LimitedCatchChallenge &&
|
||||||
|
c.value > 0 &&
|
||||||
|
globalScene.gameMode.challenges.some(c => c.id === Challenges.PERMANENT_FAINT && c.value > 0),
|
||||||
|
),
|
||||||
BREEDERS_IN_SPACE: new Achv("BREEDERS_IN_SPACE", "", "BREEDERS_IN_SPACE.description", "moon_stone", 50).setSecret(),
|
BREEDERS_IN_SPACE: new Achv("BREEDERS_IN_SPACE", "", "BREEDERS_IN_SPACE.description", "moon_stone", 50).setSecret(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user