mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-22 00:02:20 +02:00
Move trainer mon tera type generation to genPartyMember func
This commit is contained in:
parent
b895fb2e1b
commit
2aa38929bd
@ -394,6 +394,10 @@ export default class Trainer extends Phaser.GameObjects.Container {
|
|||||||
this.teraIndexes.push(index + 1); // If it's Shedinja and it's set to tera to something other than Bug, set tera index to the next mon
|
this.teraIndexes.push(index + 1); // If it's Shedinja and it's set to tera to something other than Bug, set tera index to the next mon
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.config.specialtyType !== Type.UNKNOWN) {
|
||||||
|
ret!.teraType = this.config.specialtyType;
|
||||||
|
}
|
||||||
|
|
||||||
return ret!; // TODO: is this bang correct?
|
return ret!; // TODO: is this bang correct?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user