Ejemplo n.º 1
0
        public void GetMythicalItemBonusCapIncrease_PlayerWith10MythicalConCap_10()
        {
            var player = NewPlayer();

            player.ItemBonus[eProperty.MythicalConCapBonus] = 10;

            int actual = StatCalculator.GetMythicalItemBonusCapIncrease(player, eProperty.Constitution);

            Assert.AreEqual(10, actual);
        }
Ejemplo n.º 2
0
        public void GetMythicalItemBonusCapIncrease_PlayerWith100MythicalConCap_ReturnCapAt52()
        {
            var player = Create.FakePlayer();

            player.ItemBonus[eProperty.MythicalConCapBonus] = 100;

            int actual = StatCalculator.GetMythicalItemBonusCapIncrease(player, eProperty.Constitution);

            Assert.AreEqual(52, actual);
        }