示例#1
0
        public void LevelingUpAClassMarksGoodSaves()
        {
            var fighter = Class.CreateForTesting();

            fighter.WillSaveRate      = Class.PoorSaveRate;
            fighter.FortitudeSaveRate = Class.GoodSaveRate;
            fighter.ReflexSaveRate    = Class.PoorSaveRate;

            basicStats.LevelUpDefenseStats(fighter);

            Assert.Equal(1, basicStats.FortitudeSave.TotalValue);
            Assert.Equal(3, basicStats.ReflexSave.TotalValue);
            Assert.Equal(1, basicStats.WillSave.TotalValue);
        }
示例#2
0
        public void LevelingUpAClassMarksGoodSaves()
        {
            var fighter = new Class();

            fighter.WillSaveRate      = Class.PoorSaveRate;
            fighter.FortitudeSaveRate = Class.GoodSaveRate;
            fighter.ReflexSaveRate    = Class.PoorSaveRate;

            smallStats.LevelUpDefenseStats(fighter);

            Assert.AreEqual(1, smallStats.FortitudeSave.TotalValue);
            Assert.AreEqual(3, smallStats.ReflexSave.TotalValue);
            Assert.AreEqual(1, smallStats.WillSave.TotalValue);
        }