Exemplo n.º 1
0
 public void Given武器清單是(Table table)
 {
     _WeaponChancesTable = new WeaponChancesTable(_ToData(table));
 }
Exemplo n.º 2
0
 private void _InitialWeapon()
 {
     var datas = new[]
     {
         new ChancesTable<int>.Data
         {
             Key = 0,
             Value = 0.9f
         },
         new ChancesTable<int>.Data
         {
             Key = 2,
             Value = 0.033f
         },
         new ChancesTable<int>.Data
         {
             Key = 3,
             Value = 0.033f
         },
         new ChancesTable<int>.Data
         {
             Key = 4,
             Value = 0.033f
         }
     };
     _WeaponChancesTable = new WeaponChancesTable(datas);
 }