Exemplo n.º 1
0
    public void ApplyStats()
    {
        player.str += strTemp;
        player.agi += agiTemp;
        player.con += conTemp;
        player.luk += lukTemp;
        player.eng += engTemp;

        strTemp = 0;
        agiTemp = 0;
        conTemp = 0;
        lukTemp = 0;
        engTemp = 0;

        for (int x = 0; x < allotStats.Length; x++)
        {
            allotStats[x].color = Color.black;
        }
        player.UpdateStats();
        UpdateUI();
    }