mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02:18 +02:00
Update src/field/pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
57a51aab0b
commit
cac05ddebb
@ -2029,7 +2029,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
!ignoreOverride &&
|
!ignoreOverride &&
|
||||||
this.summonData?.types &&
|
this.summonData?.types &&
|
||||||
this.summonData.types.length > 0 &&
|
this.summonData.types.length > 0 &&
|
||||||
(!!!this.summonData?.illusion || !doIllusion)
|
(!this.summonData?.illusion || !doIllusion)
|
||||||
) {
|
) {
|
||||||
this.summonData.types.forEach(t => types.push(t));
|
this.summonData.types.forEach(t => types.push(t));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user