示例#1
0
文件: Monster.cs 项目: GooDer/descent
        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)
 {
 }