mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
Fix parental bond softlock
This commit is contained in:
parent
6477be99f5
commit
f083b38edb
@ -912,7 +912,7 @@ export default class Move implements Localizable {
|
||||
];
|
||||
|
||||
// ...and cannot enhance Pollen Puff when targeting an ally.
|
||||
const exceptPollenPuffAlly: boolean = this.id === Moves.POLLEN_PUFF && targets.includes(user.getAlly().getBattlerIndex())
|
||||
const exceptPollenPuffAlly: boolean = this.id === Moves.POLLEN_PUFF && targets.includes(user.getAlly()?.getBattlerIndex())
|
||||
|
||||
return (!restrictSpread || !isMultiTarget)
|
||||
&& !this.isChargingMove()
|
||||
|
Loading…
Reference in New Issue
Block a user