コード例 #1
0
 private void CaptureCultists(Territory defTer, int amount)
 {
     if (defTer.owner != null)
     {
         for (int i = 0; i < amount; i++)
         {
             defTer.Kill(amount);
             Summon(amount);
         }
         GameManager.Instance.ShowMessage(owner.playerName + " wins!", 3);
     }
     if (defTer.owner == null)
     {
         Summon(captureAmount);
     }
 }