[Balance] Multi-hit moves now use gen 5+ behavior (#5117)

This commit is contained in:
NightKev 2025-01-12 15:39:06 -08:00 committed by GitHub
parent 0107b1d47e
commit 3a3ebfb783
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -2236,14 +2236,14 @@ export class MultiHitAttr extends MoveAttr {
switch (this.multiHitType) {
case MultiHitType._2_TO_5:
{
const rand = user.randSeedInt(16);
const hitValue = new Utils.IntegerHolder(rand);
const rand = user.randSeedInt(20);
const hitValue = new Utils.NumberHolder(rand);
applyAbAttrs(MaxMultiHitAbAttr, user, null, false, hitValue);
if (hitValue.value >= 10) {
if (hitValue.value >= 13) {
return 2;
} else if (hitValue.value >= 4) {
} else if (hitValue.value >= 6) {
return 3;
} else if (hitValue.value >= 2) {
} else if (hitValue.value >= 3) {
return 4;
} else {
return 5;