mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-04-25 07:37:02 -05:00
Fix learnset randomizer percent not set
STAB count from move randomizer now calculates properly
This commit is contained in:
parent
9c2b3a3aa9
commit
3dcfd6a3f4
|
|
@ -72,7 +72,7 @@ private int[] GetRandomLevels(Learnset set, int count)
|
|||
private int[] GetRandomMoves(int count, int index)
|
||||
{
|
||||
count = Expand ? ExpandTo : count;
|
||||
moverand.rSTABCount = (int)(count * rSTABPercent / 100);
|
||||
moverand.rSTABPercent = rSTABPercent;
|
||||
|
||||
int[] moves = new int[count];
|
||||
if (count == 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user