status cannot be applied to max-mons, and falls off if they dynamax
parent
d357e57292
commit
8a7a5f24d5
|
|
@ -558,6 +558,10 @@ export class MinimizeTag extends BattlerTag {
|
||||||
}
|
}
|
||||||
|
|
||||||
lapse(pokemon: Pokemon, lapseType: BattlerTagLapseType): boolean {
|
lapse(pokemon: Pokemon, lapseType: BattlerTagLapseType): boolean {
|
||||||
|
//If a pokemon dynamaxes they lose minimized status
|
||||||
|
if(pokemon.isMax()){
|
||||||
|
return false
|
||||||
|
}
|
||||||
return lapseType !== BattlerTagLapseType.CUSTOM || super.lapse(pokemon, lapseType);
|
return lapseType !== BattlerTagLapseType.CUSTOM || super.lapse(pokemon, lapseType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue