Skip to content

Commit d99792b

Browse files
damocleasMadmadness65Blitz425Mourouhfabske0
authored
feat!: Hotfix 1.11.10 to main (#7076)
* update submodules * feat: Add the rest of the Team Flare admins (#7059) This adds Aliana, Celosia, and Mable as potential Team Flare admins to battle. Co-authored-by: damocleas <damocleas25@gmail.com> * balance: Further changes to Random Trainers in Biomes, Trainer Party Templates, and Team Flare Grunt / Admin pools (#7063) * Update Trainer Party Templates, Flare Admin and Grunt pools * Update trainer-config.ts * Adjust Abyss Biome and Mysterious Sisters Pool * Update trainer-config.ts * Update src/data/trainers/trainer-config.ts * Add more trainers to Biomes, Fix Mysterious Sisters config and Red's Lugia * Move Breeder to Rare Volcano, remove Two Weak template on Mysterious Sisters --------- Co-authored-by: Mourouh <61661226+Mourouh@users.noreply.github.com> * balance: 1.11.7 Post-Update Egg Move and Passive Adjustments (#7065) Initial Egg + Passive Update Co-authored-by: damocleas <damocleas25@gmail.com> * github: Add `Awaiting Assets` to submodule workflow (#7072) * detect `awaiting assets` * add locales block * only unblock `locales` * unblock assets * fix(ability): Supersweet Syrup is not blocked by Own Tempo et al #7073 * Add false to Supersweet's Intimidate attribute * Add test and change fix to modify `PostSummonStatStageChangeAbAttr` Now the `intimidate` param defaults to `false` --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> * chore!: update version to `1.11.10` --------- Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com> Co-authored-by: Blitzy <118096277+Blitz425@users.noreply.github.com> Co-authored-by: Mourouh <61661226+Mourouh@users.noreply.github.com> Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com> Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2 parents 5a1264e + 5852315 commit d99792b

File tree

17 files changed

+245
-55
lines changed

17 files changed

+245
-55
lines changed

.github/workflows/detect-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
upload-label-data:
18-
if: github.event.label.name == 'Awaiting Locales' || github.event.label.name == 'Update Locales' || github.event.label.name == 'Update Assets'
18+
if: github.event.label.name == 'Awaiting Locales' || github.event.label.name == 'Awaiting Assets' || github.event.label.name == 'Update Locales' || github.event.label.name == 'Update Assets'
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Save PR info

.github/workflows/update-submodule.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
ref: ${{ steps.read-label-data.outputs.ref }}
7171
repo: ${{ steps.read-label-data.outputs.repo }}
7272

73-
block-pr:
73+
block-locales-pr:
7474
needs: read-label-data
7575
if: needs.read-label-data.outputs.label == 'Awaiting Locales'
7676
runs-on: ubuntu-latest
@@ -87,6 +87,23 @@ jobs:
8787
gh pr review ${{ needs.read-label-data.outputs.prNumber }} -R ${{ github.repository }} --request-changes --body "This pull request is blocked until the associated locales PR is merged.
8888
To unblock and update the locales submodule, add the \`Update Locales\` label."
8989
90+
block-assets-pr:
91+
needs: read-label-data
92+
if: needs.read-label-data.outputs.label == 'Awaiting Assets'
93+
runs-on: ubuntu-latest
94+
steps:
95+
- name: Checkout repository
96+
uses: actions/checkout@v4
97+
with:
98+
sparse-checkout: |
99+
.nvmrc
100+
sparse-checkout-cone-mode: false
101+
102+
- name: "Block PR"
103+
run: |
104+
gh pr review ${{ needs.read-label-data.outputs.prNumber }} -R ${{ github.repository }} --request-changes --body "This pull request is blocked until the associated assets PR is merged.
105+
To unblock and update the assets submodule, add the \`Update Assets\` label."
106+
90107
update-locales:
91108
needs: read-label-data
92109
if: needs.read-label-data.outputs.label == 'Update Locales'
@@ -132,7 +149,7 @@ jobs:
132149
- name: Unblock PR
133150
run: |
134151
REVIEW_ID=$(gh api repos/${{ github.repository }}/pulls/${{ needs.read-label-data.outputs.prNumber }}/reviews \
135-
--jq '.[] | select(.user.login == "github-actions[bot]" and .state == "CHANGES_REQUESTED") | .id' | head -n 1)
152+
--jq '.[] | select(.user.login == "github-actions[bot]" and .state == "CHANGES_REQUESTED" and (.body // "" | contains("Update Locales"))) | .id' | head -n 1)
136153
if [ -n "$REVIEW_ID" ]; then
137154
gh api --method PUT repos/${{ github.repository }}/pulls/${{ needs.read-label-data.outputs.prNumber }}/reviews/$REVIEW_ID/dismissals \
138155
-f message="Locales updated, unblocking PR."
@@ -178,3 +195,13 @@ jobs:
178195
- name: Remove label
179196
run: |
180197
gh pr edit ${{ needs.read-label-data.outputs.prNumber }} -R ${{ github.repository }} --remove-label "Update Assets"
198+
gh pr edit ${{ needs.read-label-data.outputs.prNumber }} -R ${{ github.repository }} --remove-label "Awaiting Assets"
199+
200+
- name: Unblock PR
201+
run: |
202+
REVIEW_ID=$(gh api repos/${{ github.repository }}/pulls/${{ needs.read-label-data.outputs.prNumber }}/reviews \
203+
--jq '.[] | select(.user.login == "github-actions[bot]" and .state == "CHANGES_REQUESTED" and (.body // "" | contains("Update Assets"))) | .id' | head -n 1)
204+
if [ -n "$REVIEW_ID" ]; then
205+
gh api --method PUT repos/${{ github.repository }}/pulls/${{ needs.read-label-data.outputs.prNumber }}/reviews/$REVIEW_ID/dismissals \
206+
-f message="Assets updated, unblocking PR."
207+
fi

assets

Submodule assets updated 73 files

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pokemon-rogue-battle",
33
"private": true,
4-
"version": "1.11.9",
4+
"version": "1.11.10",
55
"type": "module",
66
"scripts": {
77
"start:prod": "vite --mode production",

src/data/abilities/ab-attrs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2370,7 +2370,7 @@ export class PostSummonStatStageChangeAbAttr extends PostSummonAbAttr {
23702370
private readonly selfTarget: boolean;
23712371
private readonly intimidate: boolean;
23722372

2373-
constructor(stats: readonly BattleStat[], stages: number, selfTarget = false, intimidate = true) {
2373+
constructor(stats: readonly BattleStat[], stages: number, selfTarget = false, intimidate = false) {
23742374
super(true);
23752375

23762376
this.stats = stats;

src/data/balance/biomes.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,9 +1713,9 @@ export const biomeTrainerPools: BiomeTrainerPools = {
17131713
[BiomePoolTier.BOSS]: [ TrainerType.VOLKNER, TrainerType.ELESA, TrainerType.CLEMONT ]
17141714
},
17151715
[BiomeId.VOLCANO]: {
1716-
[BiomePoolTier.COMMON]: [ TrainerType.FIREBREATHER ],
1717-
[BiomePoolTier.UNCOMMON]: [],
1718-
[BiomePoolTier.RARE]: [],
1716+
[BiomePoolTier.COMMON]: [ TrainerType.FIREBREATHER, TrainerType.HIKER ],
1717+
[BiomePoolTier.UNCOMMON]: [ TrainerType.DRAGON_TAMER ],
1718+
[BiomePoolTier.RARE]: [ TrainerType.BREEDER ],
17191719
[BiomePoolTier.SUPER_RARE]: [],
17201720
[BiomePoolTier.ULTRA_RARE]: [],
17211721
[BiomePoolTier.BOSS]: [ TrainerType.BLAINE, TrainerType.FLANNERY, TrainerType.KABU ]
@@ -1761,7 +1761,7 @@ export const biomeTrainerPools: BiomeTrainerPools = {
17611761
[BiomePoolTier.BOSS]: [ TrainerType.CLAIR, TrainerType.DRAYDEN, TrainerType.RAIHAN ]
17621762
},
17631763
[BiomeId.ABYSS]: {
1764-
[BiomePoolTier.COMMON]: [],
1764+
[BiomePoolTier.COMMON]: [ TrainerType.VETERAN ],
17651765
[BiomePoolTier.UNCOMMON]: [ TrainerType.ACE_TRAINER ],
17661766
[BiomePoolTier.RARE]: [],
17671767
[BiomePoolTier.SUPER_RARE]: [],
@@ -1827,7 +1827,7 @@ export const biomeTrainerPools: BiomeTrainerPools = {
18271827
[BiomeId.ISLAND]: {
18281828
[BiomePoolTier.COMMON]: [ TrainerType.RICH_KID ],
18291829
[BiomePoolTier.UNCOMMON]: [ TrainerType.RICH ],
1830-
[BiomePoolTier.RARE]: [],
1830+
[BiomePoolTier.RARE]: [ TrainerType.YOUNG_COUPLE ],
18311831
[BiomePoolTier.SUPER_RARE]: [],
18321832
[BiomePoolTier.ULTRA_RARE]: [],
18331833
[BiomePoolTier.BOSS]: [ TrainerType.NESSA ]

src/data/balance/egg-moves.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const speciesEggMoves = {
134134
[SpeciesId.ENTEI]: [ MoveId.BURNING_BULWARK, MoveId.DRAGON_DANCE, MoveId.EARTHQUAKE, MoveId.PYRO_BALL ],
135135
[SpeciesId.SUICUNE]: [ MoveId.RECOVER, MoveId.NASTY_PLOT, MoveId.FREEZE_DRY, MoveId.STEAM_ERUPTION ],
136136
[SpeciesId.LARVITAR]: [ MoveId.DRAGON_DANCE, MoveId.MOUNTAIN_GALE, MoveId.SHORE_UP, MoveId.DIAMOND_STORM ],
137-
[SpeciesId.LUGIA]: [ MoveId.STORED_POWER, MoveId.SCALD, MoveId.AURA_SPHERE, MoveId.LUMINA_CRASH ],
137+
[SpeciesId.LUGIA]: [ MoveId.STORED_POWER, MoveId.STEAM_ERUPTION, MoveId.AURA_SPHERE, MoveId.LUMINA_CRASH ],
138138
[SpeciesId.HO_OH]: [ MoveId.BRAVE_BIRD, MoveId.PETAL_BLIZZARD, MoveId.REVIVAL_BLESSING, MoveId.DRAGON_DANCE ],
139139
[SpeciesId.CELEBI]: [ MoveId.PHOTON_GEYSER, MoveId.MATCHA_GOTCHA, MoveId.REVIVAL_BLESSING, MoveId.QUIVER_DANCE ],
140140

src/data/balance/init-biomes.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5322,7 +5322,8 @@ export function initBiomes() {
53225322
[BiomeId.BEACH, BiomePoolTier.UNCOMMON],
53235323
[BiomeId.LAKE, BiomePoolTier.COMMON],
53245324
[BiomeId.MEADOW, BiomePoolTier.UNCOMMON],
5325-
[BiomeId.FAIRY_CAVE, BiomePoolTier.UNCOMMON]
5325+
[BiomeId.FAIRY_CAVE, BiomePoolTier.UNCOMMON],
5326+
[BiomeId.VOLCANO, BiomePoolTier.RARE]
53265327
]
53275328
],
53285329
[TrainerType.BUG_CATCHER, [
@@ -5358,6 +5359,7 @@ export function initBiomes() {
53585359
[TrainerType.DRAGON_TAMER, [
53595360
[BiomeId.BADLANDS, BiomePoolTier.UNCOMMON],
53605361
[BiomeId.WASTELAND, BiomePoolTier.COMMON]
5362+
[BiomeId.VOLCANO, BiomePoolTier.UNCOMMON],
53615363
]
53625364
],
53635365
[TrainerType.FAIRY_TALE_GIRL, [
@@ -5388,6 +5390,7 @@ export function initBiomes() {
53885390
[TrainerType.HIKER, [
53895391
[BiomeId.MOUNTAIN, BiomePoolTier.COMMON],
53905392
[BiomeId.CAVE, BiomePoolTier.COMMON],
5393+
[BiomeId.VOLCANO, BiomePoolTier.COMMON],
53915394
[BiomeId.BADLANDS, BiomePoolTier.COMMON]
53925395
]
53935396
],
@@ -5506,6 +5509,7 @@ export function initBiomes() {
55065509
]
55075510
],
55085511
[TrainerType.VETERAN, [
5512+
[BiomeId.ABYSS, BiomePoolTier.COMMON],
55095513
[BiomeId.WASTELAND, BiomePoolTier.COMMON]
55105514
]
55115515
],
@@ -5521,6 +5525,7 @@ export function initBiomes() {
55215525
],
55225526
[TrainerType.YOUNG_COUPLE, [
55235527
[BiomeId.LAKE, BiomePoolTier.UNCOMMON],
5528+
[BiomeId.ISLAND, BiomePoolTier.RARE],
55245529
[BiomeId.SNOWY_FOREST, BiomePoolTier.RARE]
55255530
]
55265531
],

src/data/balance/passives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ export const starterPassiveAbilities: StarterPassiveAbilities = {
932932
[SpeciesId.COPPERAJAH]: { 0: AbilityId.EARTH_EATER, 1: AbilityId.EARTH_EATER },
933933
[SpeciesId.DRACOZOLT]: { 0: AbilityId.NO_GUARD },
934934
[SpeciesId.ARCTOZOLT]: { 0: AbilityId.WATER_ABSORB },
935-
[SpeciesId.DRACOVISH]: { 0: AbilityId.THERMAL_EXCHANGE },
935+
[SpeciesId.DRACOVISH]: { 0: AbilityId.MOLD_BREAKER },
936936
[SpeciesId.ARCTOVISH]: { 0: AbilityId.STRONG_JAW },
937937
[SpeciesId.DURALUDON]: { 0: AbilityId.FILTER, 1: AbilityId.FILTER },
938938
[SpeciesId.ARCHALUDON]: { 0: AbilityId.TRANSISTOR },

0 commit comments

Comments
 (0)