Fix revive weight cap

This commit is contained in:
Xavion3 authored and Samuel H committed 2024-05-07 11:26:28 -04:00
1 parent 02b2c2d55b
commit cc3113ff43
1 file changed
+1 -1
+1 -1
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;