mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
rage
This commit is contained in:
parent
481ec96449
commit
de67d22a78
@ -1245,7 +1245,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// the type added to Pokemon from moves like Forest's Curse or Trick Or Treat
|
// the type added to Pokemon from moves like Forest's Curse or Trick Or Treat
|
||||||
if (this.summonData?.addedType) {
|
if (this.summonData?.addedType && !types.includes(this.summonData?.addedType)) {
|
||||||
types.push(this.summonData?.addedType);
|
types.push(this.summonData?.addedType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user