mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
!== fix
This commit is contained in:
parent
3be5202c12
commit
997c27dd30
@ -1555,7 +1555,7 @@ export class DownloadAbAttr extends PostSummonAbAttr {
|
||||
this.enemyDef = 0;
|
||||
this.enemySpDef = 0;
|
||||
|
||||
if(pokemon.getOpponents()[0].summonData != undefined)
|
||||
if(pokemon.getOpponents()[0].summonData !== undefined)
|
||||
for (let opponent of pokemon.getOpponents()) {
|
||||
this.enemyDef += opponent.getBattleStat(Stat.DEF);
|
||||
this.enemySpDef += opponent.getBattleStat(Stat.SPDEF);
|
||||
|
Loading…
Reference in New Issue
Block a user