Champions: Reveal Nature in Open Team Sheets (#12063)

This commit is contained in:
Karthik Bandagonda 2026-05-27 21:29:03 -04:00 committed by GitHub
parent ad8b2b584b
commit fa01067b24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -3213,7 +3213,7 @@ export class Battle {
item: set.item,
ability: set.ability,
moves: set.moves,
nature: '',
nature: this.format.mod === 'champions' ? set.nature : '',
gender: pokemon.gender,
evs: null!,
ivs: null!,

View File

@ -782,8 +782,10 @@ export class TeamValidator {
problem = this.checkAbility(set, ability, setHas);
if (problem) problems.push(problem);
if (!set.nature || dex.gen <= 2) {
if (dex.gen <= 2) {
set.nature = '';
} else if (!set.nature) {
set.nature = 'Serious';
}
nature = dex.natures.get(set.nature);
problem = this.checkNature(set, nature, setHas);