Exemple #1
0
 private double typeModifier(ActiveMove attack, BattlePokemon target)
 {
     return(TypeStrengths.typeStrength(attack, target));
 }
Exemple #2
0
        /// <summary>
        /// do a set amount of damage to a target
        /// </summary>
        /// <param name="amount">amount of damage to be done</param>
        /// <param name="target">target pokemon</param>
        public void doSetDamage(int amount, BattlePokemon target)
        {
            target.currentHealth -= amount;

            //show message saying it hit
        }