[Misc] Charms in any events (#5194)

This commit is contained in:
AJ Fontaine 2025-01-27 17:44:21 -05:00 committed by GitHub
parent ec68ec2066
commit 8d11313458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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));
}