Ejemplo n.º 1
0
        public long GetDefaultDPS(int level)
        {
            var playerBattleTouchness = ToDouble(PlayerStatsBalance.GetDefaultToughness(level)) / GetBaseBattleLength(level)
                                        + PlayerStatsBalance.GetDefaultTouchnessPerSecond(level);
            var dpsKoef = GetBaseHealthPercentPerMonster(level) * GetDPSKoef(level) / GetDefaultHitChance(level);

            return(ToInt64(playerBattleTouchness * dpsKoef));
        }
Ejemplo n.º 2
0
 public int GetDefaultEvasion(int level)
 => PlayerStatsBalance.GetDefaultAccuracy(level);
Ejemplo n.º 3
0
 public long GetDefaultHealth(int level)
 => ToInt64(PlayerStatsBalance.GetDefaultDPS(level) * GetBaseBattleLength(level)
            * (1 - GetDefaultEvadeChance(level)) * GetHealthKoef(level));