Skip to content

Commit

Permalink
[Balance] Multi-hit moves now use gen 5+ behavior (#5117)
Browse files Browse the repository at this point in the history
  • Loading branch information
DayKev authored Jan 12, 2025
1 parent 0107b1d commit 3a3ebfb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/data/move.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 3a3ebfb

Please sign in to comment.