Пример #1
0
        public AttackResult RollAttack()
        {
            var result = new AttackResult();
            foreach (var dice in attackDices)
            {
                dice.RollAttack();
                result.AttackDices.Add(dice);
            }

            return result;
        }
Пример #2
0
 public override void UseIt(AttackResult attack)
 {
     attack.BonusRange += Range;
 }
Пример #3
0
 public virtual void UseIt(AttackResult attack, int diceIndex)
 {
 }
Пример #4
0
 public override void UseIt(AttackResult attack)
 {
     attack.PierceBonus += PierceAmount;
 }
Пример #5
0
 public virtual void UseIt(AttackResult attack)
 {
 }