public static void GetRandomAOSStats( int minLevel, int maxLevel, out int attributeCount, out int min, out int max )
{
int v = RandomMinMaxScaled( minLevel, maxLevel );
if ( v >= 5 )
{
attributeCount = Utility.RandomMinMax( 2, 6 );
min = 20; max = 70;
}
else if ( v == 4 )
{
attributeCount = Utility.RandomMinMax( 2, 4 );
min = 20; max = 50;
}
else if ( v == 3 )
{
attributeCount = Utility.RandomMinMax( 2, 3 );
min = 20; max = 40;
}
else if ( v == 2 )
{
attributeCount = Utility.RandomMinMax( 1, 2 );
min = 10; max = 30;
}
else
{
attributeCount = 1;
min = 10; max = 20;
}
}