示例#1
0
 public void AttackDwarf(Dwarf d)
 {
     if (d.GetTotalDefense() < this.GetTotalAttack())
     {
         d.CurrentLife -= (this.GetTotalAttack() - d.GetTotalDefense());
     }
 }