Skip to content
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

Beta Merge 27/07 #3141

Merged
merged 175 commits into from
Jul 27, 2024
Merged

Beta Merge 27/07 #3141

merged 175 commits into from
Jul 27, 2024

Conversation

f-fsantos
Copy link
Collaborator

What are the changes?

Why am I doing these changes?

What did change?

Screenshots/Videos

How to test the changes?

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • Have I considered writing automated tests for the issue?
  • Have I tested the changes (manually)?
    • Are all unit tests still passing? (npm run test)
  • Are the changes visual?
    • Have I provided screenshots/videos of the changes?

f-fsantos and others added 30 commits June 19, 2024 17:31
feat: Add link to Discord in menu UI

feat: Add Discord and Google login functionality

Add container around discord and google icons

refactor: Update environment variable names for Discord and Google client IDs

feat: Add "Or use" translation for login options in multiple languages

feat: Update menu UI translations for multiple languages

Code review fixes

refactor: Update Discord and Google client IDs in environment variables
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
this also reduces output noise in tests
Co-authored-by: lnuvy <lnuvy.code@gmail.com>
Co-authored-by: lnuvy <lnuvy.code@gmail.com>
* Localization(pt): translated bgm-name.ts

* fix
[QoL] Add Discord and Google Login
[Feature][ENV] make i18n debugging an optional env setting
* Update TMs for more Indigo Disk changes

* Fix typo, more Stored Power
* Refactor challenges and add fresh start

* Add achievement for fresh start challenge
* Fix random damage roll to be 85-100% instead of 85-99%

* Update battle.test.ts to reflect the fix
* [Help] [Move/Bug] Patches Psychic Terrain applicability edge cases

Was cancelling moves even if targeted mons weren't on the terrain.

* [Bug `]Pokemon.isGrounded` does not exist

Replaced with `Pokemon.isGrounded()`, which does.

* [Bug] Psychic Terrain priority move cancel ignoring ungrounded

* [Bug] Semi-invulnerable should not be grounded
* Prevent sizing error

* Make reboot not necessary for show BGM

* Makes the BGM Bar active by default

  + It had originally been decided that this would not be active by default because it was to be displayed outside the pause menu, but since its behavior has changed between this decision and its integration, the default deactivation is no longer necessary
* Translate forgotten sentences on phases

* Translate to de forgotten sentences on phases

* Translate to es forgotten sentences on phases

* Translate to fr forgotten sentences on phases

* Translate to it forgotten sentences on phases

* Translate to ko forgotten sentences on phases

* Translate to pt br forgotten sentences on phases

* Translate to zh cn forgotten sentences on phases

* Translate to zh tw forgotten sentences on phases

* remove duplicate message

* remove duplicate message

* Update src/locales/pt_BR/battle.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/de/battle.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/battle.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update battle.ts [Localization(it)]

* Update src/locales/zh_CN/battle.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

---------

Co-authored-by: Alexis <alexis.faizeau@animedigitalnetwork.fr>
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Translate pokemon summary

* Translate pokemon summary to fr

* Translate pokemon summary to de

* Translate pokemon summary to es

* Translate pokemon summary to it

* Translate pokemon summary to ko

* Translate pokemon summary to pt br

* Translate pokemon summary to zh cn

* Translate pokemon summary to zh tw

* Fix import

* Update partially for en and ko

* Update interface name for en

* Merge trainerLabel&Text and calculate typeLabel width

* Update src/locales/es/pokemon-summary.ts

Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>

* Apply translations key to all languages with interface TranslationEtries

* Update ko/translationKey of status

* Update ko/translationKey of pokemonInfo

* Update de/translationKeys of memostring and metFragment

* Update de/translationKeys of memostring and metFragment 2

* Update src/locales/ko/pokemon-summary.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/ko/pokemon-summary.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update src/locales/pt_BR/pokemon-summary.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/ko/pokemon-summary.ts

* Update src/locales/pt_BR/pokemon-summary.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update pokemon-summary.ts [Localization(it)]

* remove unused code

* Update src/locales/zh_CN/pokemon-summary.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_CN/pokemon-summary.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_CN/pokemon-summary.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/es/pokemon-summary.ts

Co-authored-by: Arxxer <javiptn7@gmail.com>

* Update src/locales/es/pokemon-summary.ts

Co-authored-by: Arxxer <javiptn7@gmail.com>

---------

Co-authored-by: Alexis <alexis.faizeau@animedigitalnetwork.fr>
Co-authored-by: Mr.WaterT <water.t.works@gmail.com>
Co-authored-by: Alexis Faizeau <faizeau.alexis@gmail.com>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Arxxer <javiptn7@gmail.com>
@flx-sta flx-sta added Localization Provides or updates translation efforts Tests Automated tests related UI/UX User interface/-experience related Game Balance Changes that heavily impact the game labels Jul 25, 2024
@CodeTappert CodeTappert added Move Affects a move Ability Affects an ability Item Affects an item labels Jul 25, 2024
src/data/nature.ts Show resolved Hide resolved
src/modifier/modifier-type.ts Show resolved Hide resolved
src/phases.ts Show resolved Hide resolved
src/phases.ts Show resolved Hide resolved
src/phases.ts Show resolved Hide resolved
src/data/arena-tag.ts Outdated Show resolved Hide resolved
src/data/ability.ts Show resolved Hide resolved
src/modifier/modifier-type.ts Show resolved Hide resolved
src/modifier/modifier.ts Show resolved Hide resolved
frutescens and others added 2 commits July 25, 2024 18:40
* Fixed modifiers not displaying on summary screen

* Addressed Typedoc issues

* Documentation added

---------

Co-authored-by: Frutescens <info@laptop>
…e/epic shiny variant and preventing illegal variants from legendary gacha (#2940)

* Changed PokemonSpecies hasVariants function to also include for pokemon with differend forms

* Added check to prevent illegal shiny variants from happening if the egg rolls the gacha legendary and has no variants

* Simplified variant check. Fixed spelling on unit test

* Bugfix for legacy eggs

* Removed formIndex variable

* Changed unit test

* Added new line to unit test function

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Copy link
Collaborator

@Tempo-anon Tempo-anon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the following two commits into the beta merge?
#3145
#2940

src/modifier/modifier-type.ts Show resolved Hide resolved
src/phases.ts Show resolved Hide resolved
src/phases.ts Show resolved Hide resolved
Comment on lines +19 to +25
const SHOP_OVERLAY_OPACITY_OPTIONS: SettingOption[] = new Array(9).fill(null).map((_, i) => {
const value = ((i + 1) * 10).toString();
return {
value,
label: value,
};
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the difference of instantiating a new array and using Array.from?

src/data/ability.ts Show resolved Hide resolved
src/data/battle-stat.ts Show resolved Hide resolved
src/data/battle-stat.ts Show resolved Hide resolved
src/data/type.ts Show resolved Hide resolved
src/data/battler-tags.ts Show resolved Hide resolved
@Tempo-anon
Copy link
Collaborator

Can you add the following two commits into the beta merge? #3145 #2940

White herb is also breaking intimidate unit test. Here's a fix for that #3151

Tempo-anon
Tempo-anon previously approved these changes Jul 26, 2024
Copy link
Collaborator

@Tempo-anon Tempo-anon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait I just realized this is a beta->main merge. I thought you created a new branch so still needed any new changes beta would pick up. Getting rid of my blocking request changes then :pikastare:

src/data/battler-tags.ts Show resolved Hide resolved
src/data/move.ts Show resolved Hide resolved
src/data/move.ts Show resolved Hide resolved
src/data/arena-tag.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@torranx torranx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple nits added and I don't see any game breaking bugs, except the possible unwanted implications from the changes in pokemon-species.ts. Otherwise, looks good to me.

…all functionality but keeps the isBeta utils function for future stuff (#3153)
@f-fsantos f-fsantos merged commit e98ef1c into main Jul 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ability Affects an ability Bug Something isn't working Enhancement New feature or request Game Balance Changes that heavily impact the game Help Wanted Extra attention is needed Item Affects an item Localization Provides or updates translation efforts Move Affects a move Tests Automated tests related UI/UX User interface/-experience related
Projects
None yet
Development

Successfully merging this pull request may close these issues.