Skip to content

Commit

Permalink
fix: further increase level cap to 55
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Nov 17, 2024
1 parent 38be442 commit 9e3e0be
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
"allPokemon": false,
"globalValues": {
"iv": [80, 100],
"level": [1, 50],
"level": [1, 55],
"atk_iv": [0, 15],
"def_iv": [0, 15],
"sta_iv": [0, 15],
Expand Down
2 changes: 1 addition & 1 deletion server/src/filters/pokemon/Backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class PkmnBackend {
? PkmnBackend.ensureSafe(cp, this.standard.cp[1])
: undefined,
level: this.filterKeys.has('level')
? PkmnBackend.ensureSafe(level, 50)
? PkmnBackend.ensureSafe(level)
: undefined,
gender: this.filterKeys.has('gender')
? { min: gender, max: gender }
Expand Down
2 changes: 1 addition & 1 deletion server/src/filters/pokemon/Frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PokemonFilter extends BaseFilter {
this.atk_iv = atk || [0, 15]
this.def_iv = def || [0, 15]
this.sta_iv = sta || [0, 15]
this.level = level || [1, 50]
this.level = level || [1, 55]
this.cp = cp || [10, 5000]
this.gender = gender || 0
this.xxs = xxs || false
Expand Down
2 changes: 1 addition & 1 deletion server/src/ui/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function drawer(req, perms) {
name: 'level',
label: '',
min: 1,
max: 50,
max: 55,
perm: 'iv',
color: 'secondary',
},
Expand Down
10 changes: 5 additions & 5 deletions src/features/tutorial/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const tutorialData = /** @type {const} */ ({
great: [1, 100],
ultra: [1, 100],
iv: [0, 100],
level: [1, 50],
level: [1, 55],
},
standard: {
enabled: false,
Expand All @@ -107,7 +107,7 @@ export const tutorialData = /** @type {const} */ ({
atk_iv: [0, 15],
def_iv: [0, 15],
sta_iv: [0, 15],
level: [1, 50],
level: [1, 55],
great: [1, 100],
ultra: [1, 100],
},
Expand All @@ -120,7 +120,7 @@ export const tutorialData = /** @type {const} */ ({
atk_iv: [0, 15],
def_iv: [0, 15],
sta_iv: [0, 15],
level: [1, 50],
level: [1, 55],
great: [1, 100],
ultra: [1, 100],
},
Expand All @@ -132,7 +132,7 @@ export const tutorialData = /** @type {const} */ ({
atk_iv: [0, 15],
def_iv: [0, 15],
sta_iv: [0, 15],
level: [1, 50],
level: [1, 55],
great: [1, 100],
ultra: [1, 100],
},
Expand Down Expand Up @@ -219,7 +219,7 @@ export const tutorialData = /** @type {const} */ ({
name: 'level',
label: '',
min: 1,
max: 50,
max: 55,
disabled: false,
color: 'secondary',
},
Expand Down

0 comments on commit 9e3e0be

Please sign in to comment.