Skip to content

Commit

Permalink
Remove Tera Type property in past gens (#10505)
Browse files Browse the repository at this point in the history
  • Loading branch information
HisuianZoroark authored Aug 25, 2024
1 parent ae68eaf commit b242595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sim/team-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ export class TeamValidator {
} else {
set.teraType = type.name;
}
if (dex.gen !== 9 || (ruleTable.has('terastalclause') && !ruleTable.has('bonustypemod'))) {
delete set.teraType;
}
}

let problem = this.checkSpecies(set, species, tierSpecies, setHas);
Expand Down

0 comments on commit b242595

Please sign in to comment.