예제 #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));
        }
예제 #2
0
 public int GetDefaultEvasion(int level)
 => PlayerStatsBalance.GetDefaultAccuracy(level);
예제 #3
0
 public long GetDefaultHealth(int level)
 => ToInt64(PlayerStatsBalance.GetDefaultDPS(level) * GetBaseBattleLength(level)
            * (1 - GetDefaultEvadeChance(level)) * GetHealthKoef(level));