Fix learnset randomizer percent not set

STAB count from move randomizer now calculates properly
This commit is contained in:
Kurt 2017-09-22 19:14:54 -07:00
parent 9c2b3a3aa9
commit 3dcfd6a3f4

View File

@ -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)