mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 19:52:27 +02:00
Charms in any events
This commit is contained in:
parent
ec68ec2066
commit
8af55ecadf
@ -29,7 +29,7 @@ export class TrainerVictoryPhase extends BattlePhase {
|
||||
globalScene.unshiftPhase(new ModifierRewardPhase(modifierRewardFunc));
|
||||
}
|
||||
|
||||
if (globalScene.eventManager.getShinyMultiplier() > 1) { //If a shiny boosting event is active
|
||||
if (globalScene.eventManager.isEventActive()) {
|
||||
for (const rewardFunc of globalScene.currentBattle.trainer?.config.eventRewardFuncs!) {
|
||||
globalScene.unshiftPhase(new ModifierRewardPhase(rewardFunc));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user