mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-12 18:39:30 +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 {
|
} else {
|
||||||
// make new modifier
|
// make new modifier
|
||||||
const newBerry = new BerryModifier(chosenBerry, pokemon.id, chosenBerryType, 1);
|
const newBerry = new BerryModifier(chosenBerry, pokemon.id, chosenBerryType, 1);
|
||||||
// console.log(newBerry);
|
|
||||||
if (pokemon.isPlayer()) {
|
if (pokemon.isPlayer()) {
|
||||||
globalScene.addModifier(newBerry);
|
globalScene.addModifier(newBerry);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user