コード例 #1
0
ファイル: Dwarf.cs プロジェクト: ilima12091/RoleplayGame
 public void AttackDwarf(Dwarf d)
 {
     if (d.GetTotalDefense() < this.GetTotalAttack())
     {
         d.CurrentLife -= (this.GetTotalAttack() - d.GetTotalDefense());
     }
 }