mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Fix triggerWeatherBasedFormChanges
This commit is contained in:
parent
6a47cb01da
commit
ce8bc325f6
@ -376,7 +376,7 @@ export class Arena {
|
|||||||
// TODO - This is a bandaid. Abilities leaving the field needs a better approach than
|
// TODO - This is a bandaid. Abilities leaving the field needs a better approach than
|
||||||
// calling this method for every switch out that happens
|
// calling this method for every switch out that happens
|
||||||
if (p === source) {
|
if (p === source) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
const isCastformWithForecast = p.hasAbility(AbilityId.FORECAST) && p.species.speciesId === SpeciesId.CASTFORM;
|
const isCastformWithForecast = p.hasAbility(AbilityId.FORECAST) && p.species.speciesId === SpeciesId.CASTFORM;
|
||||||
const isCherrimWithFlowerGift = p.hasAbility(AbilityId.FLOWER_GIFT) && p.species.speciesId === SpeciesId.CHERRIM;
|
const isCherrimWithFlowerGift = p.hasAbility(AbilityId.FLOWER_GIFT) && p.species.speciesId === SpeciesId.CHERRIM;
|
||||||
|
Loading…
Reference in New Issue
Block a user