mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 09:29:25 +02:00
Update ability.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
cbcc07a267
commit
0afb7849bf
@ -4123,7 +4123,6 @@ export class PostTurnRestoreBerryAbAttr extends PostTurnAbAttr {
|
||||
} else {
|
||||
// make new modifier
|
||||
const newBerry = new BerryModifier(chosenBerry, pokemon.id, chosenBerryType, 1);
|
||||
// console.log(newBerry);
|
||||
if (pokemon.isPlayer()) {
|
||||
globalScene.addModifier(newBerry);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user