mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-25 00:39:27 +02:00
Fix counter
This commit is contained in:
parent
4bc9545238
commit
17c57457d7
@ -871,7 +871,7 @@ export class EvoTrackerModifier extends PokemonHeldItemModifier {
|
||||
}
|
||||
|
||||
getMaxHeldItemCount(pokemon: Pokemon): integer {
|
||||
this.stackCount = pokemon.evoCounter ?? this.stackCount;
|
||||
this.stackCount = pokemon.evoCounter + pokemon.getHeldItems().filter(m => m instanceof DamageMoneyRewardModifier).length + pokemon.scene.findModifiers(m => m instanceof MoneyMultiplierModifier || m instanceof ExtraModifierModifier).length;
|
||||
return 1000;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user