コード例 #1
0
 void AddMana()
 {
     if (players[whosTurn].maxMana < 10)
     {
         players[whosTurn].maxMana++;
         players[whosTurn].currentMana++;
         if (whosTurn == 0)
         {
             manaManager.AddMana(whosTurn, players[whosTurn].maxMana);
         }
     }
     UpdateMana();
 }