Ejemplo n.º 1
0
 public static float CalculateLose(SpinChances spinChances, RewardLimits rewardLimits)
 {
     return(spinChances.LoseChancePercent + spinChances.FalseChancePercent * (100.0f - rewardLimits.MinFalseReward) * 0.5f / 100.0f);
 }
Ejemplo n.º 2
0
 public static float CalculateReward(SpinChances spinChances, RewardLimits rewardLimits)
 {
     return(spinChances.LuckyChancePercent * (rewardLimits.MaxLuckyReward - 100.0f) * 0.5f / 100.0f +
            spinChances.BigWinChancePercent * ((rewardLimits.MaxBigReward + rewardLimits.MinBigReward) * 0.5f - 100.0f) / 100.0f);
 }