mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Fix Nugget crash
This commit is contained in:
parent
b3a2584f44
commit
03ea1e131a
@ -2063,7 +2063,11 @@ export class MoneyRewardModifier extends ConsumableModifier {
|
|||||||
|
|
||||||
scene.addMoney(moneyAmount.value);
|
scene.addMoney(moneyAmount.value);
|
||||||
|
|
||||||
scene.getParty().filter(p => p.species.speciesId === Species.GIMMIGHOUL || p.fusionSpecies.speciesId === Species.GIMMIGHOUL).map(p => p.evoCounter++);
|
scene.getParty().map(p => {
|
||||||
|
if (p.species.speciesId === Species.GIMMIGHOUL || p.fusionSpecies.speciesId === Species.GIMMIGHOUL) {
|
||||||
|
p.evoCounter++;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user