Skip to content

Commit

Permalink
fixup! fixup! fixup! RNG_HITS and RNG_LOADED_DICE
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgriffin committed Jul 20, 2023
1 parent 1fff15d commit b92e812
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/battle_script_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -12207,13 +12207,13 @@ static void Cmd_setmultihitcounter(void)
else
{
// WARNING: These seem to be unused, see SetRandomMultiHitCounter.
#if B_MULTI_HIT_CHANCE >= GEN_5
// 35%: 2 hits, 35%: 3 hits, 15% 4 hits, 15% 5 hits.
gMultiHitCounter = RandomWeighted(RNG_HITS, 0, 0, 7, 7, 3, 3);
#else
// 37.5%: 2 hits, 37.5%: 3 hits, 12.5% 4 hits, 12.5% 5 hits.
gMultiHitCounter = RandomWeighted(RNG_HITS, 0, 0, 3, 3, 1, 1);
#endif
#if B_MULTI_HIT_CHANCE >= GEN_5
// 35%: 2 hits, 35%: 3 hits, 15% 4 hits, 15% 5 hits.
gMultiHitCounter = RandomWeighted(RNG_HITS, 0, 0, 7, 7, 3, 3);
#else
// 37.5%: 2 hits, 37.5%: 3 hits, 12.5% 4 hits, 12.5% 5 hits.
gMultiHitCounter = RandomWeighted(RNG_HITS, 0, 0, 3, 3, 1, 1);
#endif
}
}

Expand Down

0 comments on commit b92e812

Please sign in to comment.