mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Pokémon transformed into Ditto can change type
This commit is contained in:
parent
12bb66810e
commit
5ba203102f
|
|
@ -2070,7 +2070,7 @@ export class Pokemon {
|
|||
// No Pokemon should be able to have Stellar as a base type
|
||||
if (typeof newType === 'string' ? newType === 'Stellar' : newType.includes('Stellar')) return false;
|
||||
// First type of Arceus, Silvally cannot be normally changed
|
||||
if ((this.battle.gen >= 5 && (this.species.num === 493 || this.species.num === 773)) ||
|
||||
if ((this.battle.gen >= 5 && (this.baseSpecies.num === 493 || this.baseSpecies.num === 773)) ||
|
||||
(this.battle.gen === 4 && this.hasAbility('multitype'))) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user