private void NumericUpDownCharisma_ValueChanged(object sender, EventArgs e)
        {
            int j = Convert.ToInt32(numericUpDownCharisma.Value);
            //MessageBox.Show(j.ToString());      //Testing functionality
            int i = (int)numericUpDownCharisma.Value;

            // MessageBox.Show(i.ToString());      //Testing functionality
            disposableAbilityScorePoints.Text = MethodsForStats.ModifyDisposableAbilityScorePoints(i, j, out int f).ToString();
            // if disposableAbilityScorePoints is 0 then set stat to its previous value
            if (f > 0)
            {
                numericUpDownCharisma.Value = f;
            }
            else
            {
                ModifyStats();
            }
            if (numericUpDownCharisma.Value == 4)
            {
                disposableAbilityScorePoints.Text = "53";
            }
            if (numericUpDownCharisma.Value == 5)
            {
                disposableAbilityScorePoints.Text = "52";
            }
            if (numericUpDownCharisma.Value == 6)
            {
                disposableAbilityScorePoints.Text = "51";
            }
            if (numericUpDownCharisma.Value == 7)
            {
                disposableAbilityScorePoints.Text = "50";
            }
        }
        private void NumericUpDownStrength_ValueChanged(object sender, EventArgs e)
        {
            int j = Convert.ToInt32(numericUpDownStrength.Value);
            //MessageBox.Show(j.ToString());      //Testing functionality
            int i = (int)numericUpDownStrength.Value;

            //MessageBox.Show(i.ToString());      //Testing functionality
            disposableAbilityScorePoints.Text =
                MethodsForStats.ModifyDisposableAbilityScorePoints(i, j, out int f).ToString();
            // if disposableAbilityScorePoints is 0 then set stat to its previous value
            if (f > 0)
            {
                numericUpDownStrength.Value = f;
            } // end if

            else
            {
                ModifyStats();
            } // end else
            if (numericUpDownStrength.Value == 4)
            {
                disposableAbilityScorePoints.Text = "49";
            } // end if
            if (numericUpDownStrength.Value == 5)
            {
                disposableAbilityScorePoints.Text = "48";
            } // end if
            if (numericUpDownStrength.Value == 6)
            {
                disposableAbilityScorePoints.Text = "47";
            } // end if
            if (numericUpDownStrength.Value == 7)
            {
                disposableAbilityScorePoints.Text = "46";
            } // end if
            if (numericUpDownStrength.Value == 8)
            {
                disposableAbilityScorePoints.Text = "45";
            } // end if
            if (numericUpDownStrength.Value == 9)
            {
                disposableAbilityScorePoints.Text = "44";
            } // end if
            if (numericUpDownStrength.Value == 10)
            {
                disposableAbilityScorePoints.Text = "43";
            } // end if
        }
        private void NumericUpDownWisdom_ValueChanged(object sender, EventArgs e)
        {
            int j = Convert.ToInt32(numericUpDownWisdom.Value);
            //MessageBox.Show(j.ToString());      //Testing functionality
            int i = Convert.ToInt32(numericUpDownWisdom.Value);

            //MessageBox.Show(i.ToString());      //Testing functionality
            disposableAbilityScorePoints.Text =
                MethodsForStats.ModifyDisposableAbilityScorePoints(i, j, out int f).ToString();
            // if disposableAbilityScorePoints is 0 then set stat to its previous value
            if (f > 0)
            {
                numericUpDownWisdom.Value = f;
            } // end if
            else
            {
                ModifyStats();
            } // end else
        }