static GameDifficulty()
        {
            GameDifficulties = new Dictionary <string, GameDifficulty>(StringComparer.OrdinalIgnoreCase);

            Normal = new GameDifficulty("Normal", 0f, 0f, 0f, 0f)
            {
                Rank = 0,
                ZombieQueenTargetTeleportHp = 100,
                BossHPPerColonist           = 50,
                ZombieQueenTargetTeleportCooldownSeconds = 30,
                AdditionalChance = 0f
            };

            Easy = new GameDifficulty("Easy", 1.0f, 1f, 0.10f, 10f)
            {
                Rank = 1,
                ZombieQueenTargetTeleportHp = 100,
                BossHPPerColonist           = 50,
                ZombieQueenTargetTeleportCooldownSeconds = 3,
                AdditionalChance = 0.4f
            };

            Medium = new GameDifficulty("Medium", 1.25f, 0f, 0.35f, 50f)
            {
                Rank = 2,
                ZombieQueenTargetTeleportHp = 300,
                BossHPPerColonist           = 70,
                ZombieQueenTargetTeleportCooldownSeconds = 15,
                AdditionalChance = 0f
            };

            Hard = new GameDifficulty("Hard", 1.50f, -0.1f, 0.60f, 70f)
            {
                Rank = 3,
                ZombieQueenTargetTeleportHp = 500,
                BossHPPerColonist           = 80,
                ZombieQueenTargetTeleportCooldownSeconds = 10,
                AdditionalChance = -0.2f
            };

            new GameDifficulty("Insane", 2f, -0.2f, .80f, 80f)
            {
                Rank = 4,
                ZombieQueenTargetTeleportHp = 500,
                BossHPPerColonist           = 100,
                ZombieQueenTargetTeleportCooldownSeconds = 5,
                AdditionalChance = -0.4f
            };
        }
示例#2
0
        static GameDifficulty()
        {
            GameDifficulties = new Dictionary <string, GameDifficulty>(StringComparer.OrdinalIgnoreCase);

            Normal = new GameDifficulty("Normal", 0f, 0f, 0f, 0f)
            {
                Rank = 0,
                ZombieQueenTargetTeleportHp = 100,
                BossHPPerColonist           = 50,
                ZombieQueenTargetTeleportCooldownSeconds = 30,
                AdditionalChance = 0f,
                TimeUnhappyAfterColonistDeathSeconds = 0f,
                UnhappinessPerColonistDeath          = 0f,
                UnhappyGuardsMultiplyRate            = 0f,
                MonsterHPPerColonist = 0f
            };

            Easy = new GameDifficulty("Easy", 1.0f, 1f, 0.10f, 10f)
            {
                Rank = 1,
                ZombieQueenTargetTeleportHp = 100,
                BossHPPerColonist           = 50,
                ZombieQueenTargetTeleportCooldownSeconds = 3,
                AdditionalChance = 0.4f,
                TimeUnhappyAfterColonistDeathSeconds = 300,
                UnhappinessPerColonistDeath          = 1,
                UnhappyGuardsMultiplyRate            = 0.5f,
                MonsterHPPerColonist = .5f
            };

            Medium = new GameDifficulty("Medium", 1.25f, 0f, 0.35f, 50f)
            {
                Rank = 2,
                ZombieQueenTargetTeleportHp = 300,
                BossHPPerColonist           = 70,
                ZombieQueenTargetTeleportCooldownSeconds = 15,
                AdditionalChance = 0f,
                TimeUnhappyAfterColonistDeathSeconds = 900,
                UnhappinessPerColonistDeath          = 2,
                UnhappyGuardsMultiplyRate            = 1,
                MonsterHPPerColonist = 1f,
                FoodMultiplier       = .1f
            };

            Hard = new GameDifficulty("Hard", 1.50f, -0.1f, 0.60f, 70f)
            {
                Rank = 3,
                ZombieQueenTargetTeleportHp = 500,
                BossHPPerColonist           = 80,
                ZombieQueenTargetTeleportCooldownSeconds = 10,
                AdditionalChance = -0.2f,
                TimeUnhappyAfterColonistDeathSeconds = 900,
                UnhappinessPerColonistDeath          = 3,
                UnhappyGuardsMultiplyRate            = 1.5f,
                MonsterHPPerColonist = 3f,
                FoodMultiplier       = .2f
            };

            new GameDifficulty("Insane", 2f, -0.2f, .80f, 80f)
            {
                Rank = 4,
                ZombieQueenTargetTeleportHp = 500,
                BossHPPerColonist           = 100,
                ZombieQueenTargetTeleportCooldownSeconds = 5,
                AdditionalChance = -0.4f,
                TimeUnhappyAfterColonistDeathSeconds = 1800,
                UnhappinessPerColonistDeath          = 4,
                UnhappyGuardsMultiplyRate            = 2,
                MonsterHPPerColonist = 10f,
                FoodMultiplier       = .3f
            };
        }