mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Champions: Reveal Nature in Open Team Sheets (#12063)
This commit is contained in:
parent
ad8b2b584b
commit
fa01067b24
|
|
@ -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!,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user