mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-30 12:12:28 +02:00
Update src/data/move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
ab6438a8d4
commit
6422cc07e7
@ -7789,7 +7789,7 @@ export class StuffCheeksCondition extends MoveSelectCondition {
|
||||
* @returns true if the user is holding a berry, otherwise false
|
||||
*/
|
||||
private selectableCondition(user: Pokemon): boolean {
|
||||
return user.getHeldItems().filter(m => m instanceof BerryModifier, user.isPlayer()).length > 0;
|
||||
return user.getHeldItems().filter(m => m instanceof BerryModifier).length > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user