예제 #1
0
        public void testRandomDageCalculation()
        {
            Pokemon p1 = pokemonFactory.createPokemon(D.PIKACHU, 25);
            Pokemon p2 = pokemonFactory.createPokemon(D.CATERPIE, 25);

            pokemonBattleManager.calculateDynamicAttributes(p1);
            pokemonBattleManager.calculateDynamicAttributes(p2);
            MoveData data = Fi.data.getMoveData(D.THUNDERSHOCK);
        }
예제 #2
0
        public void testNoStatModifier()
        {
            Pokemon p = pokemonFactory.createPokemon(10, 25);

            pokemonManager.calculateDynamicAttributes(p);

            Assert.AreEqual(p.staticAttack, p.battleAttack);
            Assert.AreEqual(p.staticDefense, p.battleDefense);
            Assert.AreEqual(p.staticSpeed, p.battleSpeed);
            Assert.AreEqual(p.staticSpecial, p.battleSpecial);
        }