Replace rand function to DxLib::GetRand function