コード例 #1
0
ファイル: UnitActions.cs プロジェクト: koehlera99/AKxNet
 public bool Attack(Unit defender, Weapon weapon)
 {
     //old :: replace with new
     return(Roll.AttackRoll(AttackBonus(weapon)) >= defender.ArmorClass);
 }
コード例 #2
0
ファイル: UnitActions.cs プロジェクト: koehlera99/AKxNet
 public bool Attack(Unit defender)
 {
     return(Roll.AttackRoll(AttackBonus()) >= defender.ArmorClass);
 }