Fix revive weight cap

pull/383/head^2
Xavion3 2024-05-08 01:22:50 +10:00 committed by Samuel H
parent 02b2c2d55b
commit cc3113ff43
1 changed files with 1 additions and 1 deletions

View File

@ -1004,7 +1004,7 @@ const modifierPool: ModifierPool = {
new WeightedModifierType(modifierTypes.REVIVE, (party: Pokemon[]) => {
const faintedPartyMemberCount = Math.min(party.filter(p => p.isFainted()).length, 3);
return faintedPartyMemberCount * 9;
}, 3),
}, 27),
new WeightedModifierType(modifierTypes.MAX_REVIVE, (party: Pokemon[]) => {
const faintedPartyMemberCount = Math.min(party.filter(p => p.isFainted()).length, 3);
return faintedPartyMemberCount * 3;