mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-22 00:02:20 +02:00
Set trainer mon tera types to specialty type
This commit is contained in:
parent
009348d13d
commit
2e0fee5022
@ -4846,6 +4846,10 @@ export class EnemyPokemon extends Pokemon {
|
||||
}
|
||||
|
||||
this.aiType = boss || this.hasTrainer() ? AiType.SMART : AiType.SMART_RANDOM;
|
||||
|
||||
if (this.hasTrainer() && globalScene.currentBattle.trainer && globalScene.currentBattle.trainer.config.specialtyType > Type.UNKNOWN) {
|
||||
this.teraType = globalScene.currentBattle.trainer.config.specialtyType;
|
||||
}
|
||||
}
|
||||
|
||||
initBattleInfo(): void {
|
||||
|
Loading…
Reference in New Issue
Block a user