public float PercentOfTimeBelow60Percent = 0.57f; //TODO: Make this dynamic/customizable public CatRotationCalculation GetOptimalRotation() { CatRotationCalculation highestDPSRotation = new CatRotationCalculation(); for (int roarCP = 1; roarCP <= 5; roarCP++) for (int poolBites = 0; poolBites <= (BiteStats.MaxExtraEnergy == 0 ? 1 : 2); poolBites++) { var rotation = CalculateRotation(roarCP, (BiteUsage)poolBites); if (rotation.DPS > highestDPSRotation.DPS) highestDPSRotation = rotation; } return highestDPSRotation; }
public float PercentOfTimeBelow60Percent = 0.57f; //TODO: Make this dynamic/customizable public CatRotationCalculation GetOptimalRotation() { CatRotationCalculation highestDPSRotation = new CatRotationCalculation(); for (int roarCP = 1; roarCP <= 5; roarCP++) { for (int poolBites = 0; poolBites <= (BiteStats.MaxExtraEnergy == 0 ? 1 : 2); poolBites++) { var rotation = CalculateRotation(roarCP, (BiteUsage)poolBites); if (rotation.DPS > highestDPSRotation.DPS) { highestDPSRotation = rotation; } } } return(highestDPSRotation); }