-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Challenge] Flip Stats Challenge #5087
base: beta
Are you sure you want to change the base?
Conversation
Added the locales PR and added flipstat.png (Uses Pika cause Pokémon Shuffle.) |
A tester (<@1286607980036493359>) found that they were not awarded the ribbon. I would appreciate help with that |
8792ffe
to
6e332e4
Compare
That has been fixed in the latest PR |
Co-authored-by: NightKev <[email protected]>
Co-authored-by: NightKev <[email protected]>
Co-authored-by: NightKev <[email protected]>
Co-authored-by: NightKev <[email protected]>
Co-authored-by: NightKev <[email protected]>
Co-authored-by: NightKev <[email protected]>
…e of FlipStatsChallenge
…nto flip_stats_challange
Co-authored-by: NightKev <[email protected]>
…Master Switch Function)
…nto flip_stats_challange
This is ready for review @DayKev @damocleas. I am still running a final |
All checks pass as far as I can tell
|
Co-authored-by: NightKev <[email protected]>
Accepted merge suggestion |
Questions, is
|
Each challenge has it's own value being checked there, it's not the same |
Ah you're right. didn't see the nesting parans |
Not sure if I needed to do this, but
|
Code should be good. 👍 |
…completing both Flip and Inverse
One last change, after speaking with Art and Balance, you can now earn Flip Stat AND Inverse in the same run, and you gain an additional achievement for doing so. Swapped image for FLIP_STAT to Dubious Disc, and the combined achievement uses Cracked Pot |
I slightly suspect that
is not the code I want to FLIP_INVERSE as won't that be true if only one is true? |
Look at me, figured it out on my own.
|
|
What are the changes the user will see?
Users will see a new challenge mode called Flipped Stats. This game mode swaps stats on all Pokémon in this way:
HP will be swapped with Speed
Attack will be swapped with Special Defense
Defense will be swapped with Special Attack
Special Attack will be swapped with Defense
Special Defense will be swapped with Attack
Speed will be swapped with HP
This encourages the use of more unconventional Pokémon who may otherwise not be so good.
Why am I making these changes?
There is a need and a want for more challenges that are not simply: Restrict Pokémon Usage.
Additionally, this PR will serve as a guide to others on how one creates a challenge and adds an achievement for it.
What are the changes from a developer perspective?
src/data/challenge.ts:
src/enums/challenges.ts:
src/field/pokemon.ts:
src/game-mode.ts:
src/system/achv.ts:
Screenshots/Videos
How to test the changes?
Checklist
beta
as my base branchnpm run test
)npm run create-test
) or updated existing tests related to the PR's changes?Are there any localization additions or changes? If so: