mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-14 20:25:57 +00:00
[Misc] Charms in any events (#5194)
This commit is contained in:
parent
ec68ec2066
commit
8d11313458
@ -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…
x
Reference in New Issue
Block a user