Esempio n. 1
0
 public override int Attack()
 {
     if (Randomizer.Rand.Next(2) == 1)
     {
         return(HitCalculator.DynamicDamageCalculator(this.forceAttack));
     }
     else
     {
         return(HitCalculator.DynamicDamageCalculator(this.mentalAttack));
     }
 }
Esempio n. 2
0
        public int Attack(IItem item)
        {
            var power = this.UseItem(item) as IAttack;

            if (power == null)
            {
                return(0);
            }
            else
            {
                return(HitCalculator.DynamicDamageCalculator(power));
            }
        }
Esempio n. 3
0
 public override int Attack()
 {
     return(HitCalculator.DynamicDamageCalculator(this.mentalAttack));
 }