Ejemplo n.º 1
0
        public void PriestGoLevel2()
        {
            Priest priest = gameObject.AddComponent <Priest>();

            priest.LoadAttr();
            priest.LevelManager = new PriestLeveling(priest, 1);

            priest.LevelManager.AddEXP(700);
            Assert.AreEqual(2, priest.LevelManager.Level);

            Assert.AreEqual(165f, priest.MaxHPValue);
            Assert.AreEqual(11.5f, priest.ATKValue);
            Assert.AreEqual(22f, priest.MATKValue);
        }