Beispiel #1
0
        private void nCharSubmit_Click(object sender, EventArgs e)
        {
            bool good = true;

            if (nCharName.Text.Length <= 0)
            {
                nCharAlert.Text = "Invalid Character Name";
                good            = false;
            }

            if (good)
            {
                CDATA.cName       = nCharName.Text;
                CDATA.cArch1      = EDATA.addSpace(nCharArch1.Text);
                CDATA.cArch2      = EDATA.addSpace(nCharArch2.Text);
                CDATA.cArch3      = EDATA.addSpace(nCharArch3.Text);
                CDATA.cBackground = nCharBackground.Text;
                CDATA.cMot1       = nCharMot1.Text;
                CDATA.cMot2       = nCharMot2.Text;
                CDATA.cMot3       = nCharMot3.Text;
                Int32.TryParse("0", out CDATA.cLevel);
                Int32.TryParse(nCharPer.Text, out CDATA.cAttributes[0]);
                Int32.TryParse(nCharCog.Text, out CDATA.cAttributes[1]);
                Int32.TryParse(nCharDex.Text, out CDATA.cAttributes[2]);
                Int32.TryParse(nCharVit.Text, out CDATA.cAttributes[3]);
                Int32.TryParse(nCharChar.Text, out CDATA.cAttributes[4]);
                Int32.TryParse(nCharWill.Text, out CDATA.cAttributes[5]);
                this.Close();
            }
        }
 private void nCharSubmit_Click(object sender, EventArgs e)
 {
     CDATA.cSkillName[0] = EDATA.addSpace(nCharBackgroundR1.Text);
     CDATA.cSkillName[1] = EDATA.addSpace(nCharBackgroundR2.Text);
     CDATA.cSkillName[2] = EDATA.addSpace(nCharBackgroundR22.Text);
     CDATA.cSkillName[3] = EDATA.addSpace(nCharBackgroundR3.Text);
     CDATA.cCkillName[0] = EDATA.addSpace(nCharBackgroundCS.Text);
     this.Close();
 }
Beispiel #3
0
        private void mMotivations_Load(object sender, EventArgs e)
        {
            nCharMot1.Text = EDATA.clearSpace(CDATA.cMot1);
            nCharMot2.Text = EDATA.clearSpace(CDATA.cMot2);
            nCharMot3.Text = EDATA.clearSpace(CDATA.cMot3);
            nCharMot4.Text = EDATA.clearSpace(CDATA.cMot4);
            nCharMot5.Text = EDATA.clearSpace(CDATA.cMot5);
            nCharMot6.Text = EDATA.clearSpace(CDATA.cMot6);
            nCharMot7.Text = EDATA.clearSpace(CDATA.cMot7);

            nCharMot1.SelectionStart = 0;
        }
Beispiel #4
0
        private void nCharSubmit_Click(object sender, EventArgs e)
        {
            bool good = true;

            if (!EDATA.abilityCheck(SR0.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR1.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR2.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR3.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR4.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR5.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR6.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR7.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR8.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR9.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR10.Text))
            {
                good = false;
            }
            if (!EDATA.abilityCheck(SR11.Text))
            {
                good = false;
            }

            if (good)
            {
                CDATA.cAbilityName[0]  = EDATA.addSpace(SN0.Text);
                CDATA.cAbilityName[1]  = EDATA.addSpace(SN1.Text);
                CDATA.cAbilityName[2]  = EDATA.addSpace(SN2.Text);
                CDATA.cAbilityName[3]  = EDATA.addSpace(SN3.Text);
                CDATA.cAbilityName[4]  = EDATA.addSpace(SN4.Text);
                CDATA.cAbilityName[5]  = EDATA.addSpace(SN5.Text);
                CDATA.cAbilityName[6]  = EDATA.addSpace(SN6.Text);
                CDATA.cAbilityName[7]  = EDATA.addSpace(SN7.Text);
                CDATA.cAbilityName[8]  = EDATA.addSpace(SN8.Text);
                CDATA.cAbilityName[9]  = EDATA.addSpace(SN9.Text);
                CDATA.cAbilityName[10] = EDATA.addSpace(SN10.Text);
                CDATA.cAbilityName[11] = EDATA.addSpace(SN11.Text);

                CDATA.cAbilityRank[0]  = EDATA.intToNum(SR0.Text);
                CDATA.cAbilityRank[1]  = EDATA.intToNum(SR1.Text);
                CDATA.cAbilityRank[2]  = EDATA.intToNum(SR2.Text);
                CDATA.cAbilityRank[3]  = EDATA.intToNum(SR3.Text);
                CDATA.cAbilityRank[4]  = EDATA.intToNum(SR4.Text);
                CDATA.cAbilityRank[5]  = EDATA.intToNum(SR5.Text);
                CDATA.cAbilityRank[6]  = EDATA.intToNum(SR6.Text);
                CDATA.cAbilityRank[7]  = EDATA.intToNum(SR7.Text);
                CDATA.cAbilityRank[8]  = EDATA.intToNum(SR8.Text);
                CDATA.cAbilityRank[9]  = EDATA.intToNum(SR9.Text);
                CDATA.cAbilityRank[10] = EDATA.intToNum(SR10.Text);
                CDATA.cAbilityRank[11] = EDATA.intToNum(SR11.Text);

                if (A1.Checked == true)
                {
                    CDATA.cAbilityMasteryA[0] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[0] = 0;
                }
                if (A2.Checked == true)
                {
                    CDATA.cAbilityMasteryA[1] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[1] = 0;
                }
                if (A3.Checked == true)
                {
                    CDATA.cAbilityMasteryA[2] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[2] = 0;
                }
                if (A4.Checked == true)
                {
                    CDATA.cAbilityMasteryA[3] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[3] = 0;
                }
                if (A5.Checked == true)
                {
                    CDATA.cAbilityMasteryA[4] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[4] = 0;
                }
                if (A6.Checked == true)
                {
                    CDATA.cAbilityMasteryA[5] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[5] = 0;
                }
                if (A7.Checked == true)
                {
                    CDATA.cAbilityMasteryA[6] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[6] = 0;
                }
                if (A8.Checked == true)
                {
                    CDATA.cAbilityMasteryA[7] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[7] = 0;
                }
                if (A9.Checked == true)
                {
                    CDATA.cAbilityMasteryA[8] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[8] = 0;
                }
                if (A10.Checked == true)
                {
                    CDATA.cAbilityMasteryA[9] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[9] = 0;
                }
                if (A11.Checked == true)
                {
                    CDATA.cAbilityMasteryA[10] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[10] = 0;
                }
                if (A12.Checked == true)
                {
                    CDATA.cAbilityMasteryA[11] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryA[11] = 0;
                }

                if (B1.Checked == true)
                {
                    CDATA.cAbilityMasteryB[0] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[0] = 0;
                }
                if (B2.Checked == true)
                {
                    CDATA.cAbilityMasteryB[1] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[1] = 0;
                }
                if (B3.Checked == true)
                {
                    CDATA.cAbilityMasteryB[2] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[2] = 0;
                }
                if (B4.Checked == true)
                {
                    CDATA.cAbilityMasteryB[3] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[3] = 0;
                }
                if (B5.Checked == true)
                {
                    CDATA.cAbilityMasteryB[4] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[4] = 0;
                }
                if (B6.Checked == true)
                {
                    CDATA.cAbilityMasteryB[5] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[5] = 0;
                }
                if (B7.Checked == true)
                {
                    CDATA.cAbilityMasteryB[6] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[6] = 0;
                }
                if (B8.Checked == true)
                {
                    CDATA.cAbilityMasteryB[7] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[7] = 0;
                }
                if (B9.Checked == true)
                {
                    CDATA.cAbilityMasteryB[8] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[8] = 0;
                }
                if (B10.Checked == true)
                {
                    CDATA.cAbilityMasteryB[9] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[9] = 0;
                }
                if (B11.Checked == true)
                {
                    CDATA.cAbilityMasteryB[10] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[10] = 0;
                }
                if (B12.Checked == true)
                {
                    CDATA.cAbilityMasteryB[11] = 1;
                }
                else
                {
                    CDATA.cAbilityMasteryB[11] = 0;
                }

                if (O1.Checked == true)
                {
                    CDATA.cAbilityOverload[0] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[0] = 0;
                }
                if (O2.Checked == true)
                {
                    CDATA.cAbilityOverload[1] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[1] = 0;
                }
                if (O3.Checked == true)
                {
                    CDATA.cAbilityOverload[2] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[2] = 0;
                }
                if (O4.Checked == true)
                {
                    CDATA.cAbilityOverload[3] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[3] = 0;
                }
                if (O5.Checked == true)
                {
                    CDATA.cAbilityOverload[4] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[4] = 0;
                }
                if (O6.Checked == true)
                {
                    CDATA.cAbilityOverload[5] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[5] = 0;
                }
                if (O7.Checked == true)
                {
                    CDATA.cAbilityOverload[6] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[6] = 0;
                }
                if (O8.Checked == true)
                {
                    CDATA.cAbilityOverload[7] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[7] = 0;
                }
                if (O9.Checked == true)
                {
                    CDATA.cAbilityOverload[8] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[8] = 0;
                }
                if (O10.Checked == true)
                {
                    CDATA.cAbilityOverload[9] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[9] = 0;
                }
                if (O11.Checked == true)
                {
                    CDATA.cAbilityOverload[10] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[10] = 0;
                }
                if (O12.Checked == true)
                {
                    CDATA.cAbilityOverload[11] = 1;
                }
                else
                {
                    CDATA.cAbilityOverload[11] = 0;
                }

                if (P1.Checked == true)
                {
                    CDATA.cAbilityApotheosis[0] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[0] = 0;
                }
                if (P2.Checked == true)
                {
                    CDATA.cAbilityApotheosis[1] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[1] = 0;
                }
                if (P3.Checked == true)
                {
                    CDATA.cAbilityApotheosis[2] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[2] = 0;
                }
                if (P4.Checked == true)
                {
                    CDATA.cAbilityApotheosis[3] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[3] = 0;
                }
                if (P5.Checked == true)
                {
                    CDATA.cAbilityApotheosis[4] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[4] = 0;
                }
                if (P6.Checked == true)
                {
                    CDATA.cAbilityApotheosis[5] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[5] = 0;
                }
                if (P7.Checked == true)
                {
                    CDATA.cAbilityApotheosis[6] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[6] = 0;
                }
                if (P8.Checked == true)
                {
                    CDATA.cAbilityApotheosis[7] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[7] = 0;
                }
                if (P9.Checked == true)
                {
                    CDATA.cAbilityApotheosis[8] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[8] = 0;
                }
                if (P10.Checked == true)
                {
                    CDATA.cAbilityApotheosis[9] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[9] = 0;
                }
                if (P11.Checked == true)
                {
                    CDATA.cAbilityApotheosis[10] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[10] = 0;
                }
                if (P12.Checked == true)
                {
                    CDATA.cAbilityApotheosis[11] = 1;
                }
                else
                {
                    CDATA.cAbilityApotheosis[11] = 0;
                }

                Program.mainform.writeDATA();
                this.Close();
            }
            else
            {
                report.Text = "Invalid Skill Rank";
            }
        }
Beispiel #5
0
        private void ManageAbilities_Load(object sender, EventArgs e)
        {
            this.Text = "Orpheus Manager - " + CDATA.cName;

            // Load Current
            SN0.Text  = EDATA.clearSpace(CDATA.cAbilityName[0]);
            SN1.Text  = EDATA.clearSpace(CDATA.cAbilityName[1]);
            SN2.Text  = EDATA.clearSpace(CDATA.cAbilityName[2]);
            SN3.Text  = EDATA.clearSpace(CDATA.cAbilityName[3]);
            SN4.Text  = EDATA.clearSpace(CDATA.cAbilityName[4]);
            SN5.Text  = EDATA.clearSpace(CDATA.cAbilityName[5]);
            SN6.Text  = EDATA.clearSpace(CDATA.cAbilityName[6]);
            SN7.Text  = EDATA.clearSpace(CDATA.cAbilityName[7]);
            SN8.Text  = EDATA.clearSpace(CDATA.cAbilityName[8]);
            SN9.Text  = EDATA.clearSpace(CDATA.cAbilityName[9]);
            SN10.Text = EDATA.clearSpace(CDATA.cAbilityName[10]);
            SN11.Text = EDATA.clearSpace(CDATA.cAbilityName[11]);

            SR0.Text  = EDATA.numToInt(CDATA.cAbilityRank[0]);
            SR1.Text  = EDATA.numToInt(CDATA.cAbilityRank[1]);
            SR2.Text  = EDATA.numToInt(CDATA.cAbilityRank[2]);
            SR3.Text  = EDATA.numToInt(CDATA.cAbilityRank[3]);
            SR4.Text  = EDATA.numToInt(CDATA.cAbilityRank[4]);
            SR5.Text  = EDATA.numToInt(CDATA.cAbilityRank[5]);
            SR6.Text  = EDATA.numToInt(CDATA.cAbilityRank[6]);
            SR7.Text  = EDATA.numToInt(CDATA.cAbilityRank[7]);
            SR8.Text  = EDATA.numToInt(CDATA.cAbilityRank[8]);
            SR9.Text  = EDATA.numToInt(CDATA.cAbilityRank[9]);
            SR10.Text = EDATA.numToInt(CDATA.cAbilityRank[10]);
            SR11.Text = EDATA.numToInt(CDATA.cAbilityRank[11]);

            if (CDATA.cAbilityMasteryA[0] == 1)
            {
                A1.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[1] == 1)
            {
                A2.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[2] == 1)
            {
                A3.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[3] == 1)
            {
                A4.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[4] == 1)
            {
                A5.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[5] == 1)
            {
                A6.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[6] == 1)
            {
                A7.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[7] == 1)
            {
                A8.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[8] == 1)
            {
                A9.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[9] == 1)
            {
                A10.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[10] == 1)
            {
                A11.Checked = true;
            }
            if (CDATA.cAbilityMasteryA[11] == 1)
            {
                A12.Checked = true;
            }

            if (CDATA.cAbilityMasteryB[0] == 1)
            {
                B1.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[1] == 1)
            {
                B2.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[2] == 1)
            {
                B3.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[3] == 1)
            {
                B4.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[4] == 1)
            {
                B5.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[5] == 1)
            {
                B6.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[6] == 1)
            {
                B7.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[7] == 1)
            {
                B8.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[8] == 1)
            {
                B9.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[9] == 1)
            {
                B10.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[10] == 1)
            {
                B11.Checked = true;
            }
            if (CDATA.cAbilityMasteryB[11] == 1)
            {
                B12.Checked = true;
            }

            if (CDATA.cAbilityOverload[0] == 1)
            {
                O1.Checked = true;
            }
            if (CDATA.cAbilityOverload[1] == 1)
            {
                O2.Checked = true;
            }
            if (CDATA.cAbilityOverload[2] == 1)
            {
                O3.Checked = true;
            }
            if (CDATA.cAbilityOverload[3] == 1)
            {
                O4.Checked = true;
            }
            if (CDATA.cAbilityOverload[4] == 1)
            {
                O5.Checked = true;
            }
            if (CDATA.cAbilityOverload[5] == 1)
            {
                O6.Checked = true;
            }
            if (CDATA.cAbilityOverload[6] == 1)
            {
                O7.Checked = true;
            }
            if (CDATA.cAbilityOverload[7] == 1)
            {
                O8.Checked = true;
            }
            if (CDATA.cAbilityOverload[8] == 1)
            {
                O9.Checked = true;
            }
            if (CDATA.cAbilityOverload[9] == 1)
            {
                O10.Checked = true;
            }
            if (CDATA.cAbilityOverload[10] == 1)
            {
                O11.Checked = true;
            }
            if (CDATA.cAbilityOverload[11] == 1)
            {
                O12.Checked = true;
            }

            if (CDATA.cAbilityApotheosis[0] == 1)
            {
                P1.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[1] == 1)
            {
                P2.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[2] == 1)
            {
                P3.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[3] == 1)
            {
                P4.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[4] == 1)
            {
                P5.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[5] == 1)
            {
                P6.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[6] == 1)
            {
                P7.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[7] == 1)
            {
                P8.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[8] == 1)
            {
                P9.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[9] == 1)
            {
                P10.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[10] == 1)
            {
                P11.Checked = true;
            }
            if (CDATA.cAbilityApotheosis[11] == 1)
            {
                P12.Checked = true;
            }

            SN0.SelectionStart = 0;
        }
Beispiel #6
0
        private void skillCheck2()
        {
            LDATA.calculate();

            int temp  = CDATA.cInitialNcsp + LDATA.lNcspMax;
            int temp2 = CDATA.cInitialCsp + LDATA.lCspMax;
            int temp3;

            Int32.TryParse(SR0.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR1.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR2.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR3.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR4.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR5.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR6.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR7.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR8.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR9.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR10.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR11.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR12.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR13.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR14.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR15.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR16.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR17.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR18.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR19.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);

            Int32.TryParse(NR0.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR1.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR2.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR3.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR4.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR5.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR6.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR7.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR8.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR9.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR10.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR11.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR12.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR13.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR14.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR15.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR16.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR17.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR18.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR19.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);

            report.Text = "Combat Skills: " + temp2 + " Points\nNon-Combat Skills: " + temp + " Points";
        }
Beispiel #7
0
        private void ManageSkills_Load(object sender, EventArgs e)
        {
            this.Text = "Orpheus Manager - " + CDATA.cName;

            skillCheck2();

            // Load Current
            SN0.Text  = EDATA.clearSpace(CDATA.cCkillName[0]);
            SN1.Text  = EDATA.clearSpace(CDATA.cCkillName[1]);
            SN2.Text  = EDATA.clearSpace(CDATA.cCkillName[2]);
            SN3.Text  = EDATA.clearSpace(CDATA.cCkillName[3]);
            SN4.Text  = EDATA.clearSpace(CDATA.cCkillName[4]);
            SN5.Text  = EDATA.clearSpace(CDATA.cCkillName[5]);
            SN6.Text  = EDATA.clearSpace(CDATA.cCkillName[6]);
            SN7.Text  = EDATA.clearSpace(CDATA.cCkillName[7]);
            SN8.Text  = EDATA.clearSpace(CDATA.cCkillName[8]);
            SN9.Text  = EDATA.clearSpace(CDATA.cCkillName[9]);
            SN10.Text = EDATA.clearSpace(CDATA.cCkillName[10]);
            SN11.Text = EDATA.clearSpace(CDATA.cCkillName[11]);
            SN12.Text = EDATA.clearSpace(CDATA.cCkillName[12]);
            SN13.Text = EDATA.clearSpace(CDATA.cCkillName[13]);
            SN14.Text = EDATA.clearSpace(CDATA.cCkillName[14]);
            SN15.Text = EDATA.clearSpace(CDATA.cCkillName[15]);
            SN16.Text = EDATA.clearSpace(CDATA.cCkillName[16]);
            SN17.Text = EDATA.clearSpace(CDATA.cCkillName[17]);
            SN18.Text = EDATA.clearSpace(CDATA.cCkillName[18]);
            SN19.Text = EDATA.clearSpace(CDATA.cCkillName[19]);

            SR0.Text  = EDATA.numToInt(CDATA.cCkillRank[0]);
            SR1.Text  = EDATA.numToInt(CDATA.cCkillRank[1]);
            SR2.Text  = EDATA.numToInt(CDATA.cCkillRank[2]);
            SR3.Text  = EDATA.numToInt(CDATA.cCkillRank[3]);
            SR4.Text  = EDATA.numToInt(CDATA.cCkillRank[4]);
            SR5.Text  = EDATA.numToInt(CDATA.cCkillRank[5]);
            SR6.Text  = EDATA.numToInt(CDATA.cCkillRank[6]);
            SR7.Text  = EDATA.numToInt(CDATA.cCkillRank[7]);
            SR8.Text  = EDATA.numToInt(CDATA.cCkillRank[8]);
            SR9.Text  = EDATA.numToInt(CDATA.cCkillRank[9]);
            SR10.Text = EDATA.numToInt(CDATA.cCkillRank[10]);
            SR11.Text = EDATA.numToInt(CDATA.cCkillRank[11]);
            SR12.Text = EDATA.numToInt(CDATA.cCkillRank[12]);
            SR13.Text = EDATA.numToInt(CDATA.cCkillRank[13]);
            SR14.Text = EDATA.numToInt(CDATA.cCkillRank[14]);
            SR15.Text = EDATA.numToInt(CDATA.cCkillRank[15]);
            SR16.Text = EDATA.numToInt(CDATA.cCkillRank[16]);
            SR17.Text = EDATA.numToInt(CDATA.cCkillRank[17]);
            SR18.Text = EDATA.numToInt(CDATA.cCkillRank[18]);
            SR19.Text = EDATA.numToInt(CDATA.cCkillRank[19]);

            NS0.Text  = EDATA.clearSpace(CDATA.cSkillName[0]);
            NS1.Text  = EDATA.clearSpace(CDATA.cSkillName[1]);
            NS2.Text  = EDATA.clearSpace(CDATA.cSkillName[2]);
            NS3.Text  = EDATA.clearSpace(CDATA.cSkillName[3]);
            NS4.Text  = EDATA.clearSpace(CDATA.cSkillName[4]);
            NS5.Text  = EDATA.clearSpace(CDATA.cSkillName[5]);
            NS6.Text  = EDATA.clearSpace(CDATA.cSkillName[6]);
            NS7.Text  = EDATA.clearSpace(CDATA.cSkillName[7]);
            NS8.Text  = EDATA.clearSpace(CDATA.cSkillName[8]);
            NS9.Text  = EDATA.clearSpace(CDATA.cSkillName[9]);
            NS10.Text = EDATA.clearSpace(CDATA.cSkillName[10]);
            NS11.Text = EDATA.clearSpace(CDATA.cSkillName[11]);
            NS12.Text = EDATA.clearSpace(CDATA.cSkillName[12]);
            NS13.Text = EDATA.clearSpace(CDATA.cSkillName[13]);
            NS14.Text = EDATA.clearSpace(CDATA.cSkillName[14]);
            NS15.Text = EDATA.clearSpace(CDATA.cSkillName[15]);
            NS16.Text = EDATA.clearSpace(CDATA.cSkillName[16]);
            NS17.Text = EDATA.clearSpace(CDATA.cSkillName[17]);
            NS18.Text = EDATA.clearSpace(CDATA.cSkillName[18]);
            NS19.Text = EDATA.clearSpace(CDATA.cSkillName[19]);

            NR0.Text  = EDATA.numToInt(CDATA.cSkillRank[0]);
            NR1.Text  = EDATA.numToInt(CDATA.cSkillRank[1]);
            NR2.Text  = EDATA.numToInt(CDATA.cSkillRank[2]);
            NR3.Text  = EDATA.numToInt(CDATA.cSkillRank[3]);
            NR4.Text  = EDATA.numToInt(CDATA.cSkillRank[4]);
            NR5.Text  = EDATA.numToInt(CDATA.cSkillRank[5]);
            NR6.Text  = EDATA.numToInt(CDATA.cSkillRank[6]);
            NR7.Text  = EDATA.numToInt(CDATA.cSkillRank[7]);
            NR8.Text  = EDATA.numToInt(CDATA.cSkillRank[8]);
            NR9.Text  = EDATA.numToInt(CDATA.cSkillRank[9]);
            NR10.Text = EDATA.numToInt(CDATA.cSkillRank[10]);
            NR11.Text = EDATA.numToInt(CDATA.cSkillRank[11]);
            NR12.Text = EDATA.numToInt(CDATA.cSkillRank[12]);
            NR13.Text = EDATA.numToInt(CDATA.cSkillRank[13]);
            NR14.Text = EDATA.numToInt(CDATA.cSkillRank[14]);
            NR15.Text = EDATA.numToInt(CDATA.cSkillRank[15]);
            NR16.Text = EDATA.numToInt(CDATA.cSkillRank[16]);
            NR17.Text = EDATA.numToInt(CDATA.cSkillRank[17]);
            NR18.Text = EDATA.numToInt(CDATA.cSkillRank[18]);
            NR19.Text = EDATA.numToInt(CDATA.cSkillRank[19]);
        }
Beispiel #8
0
        private void nCharSubmit_Click(object sender, EventArgs e)
        {
            bool good = true;

            if (!EDATA.skillCheck(SR0.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR1.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR2.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR3.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR4.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR5.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR6.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR7.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR8.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR9.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR10.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR11.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR12.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR13.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR14.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR15.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR16.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR17.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR18.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(SR19.Text))
            {
                good = false;
            }

            if (!EDATA.skillCheck(NR0.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR1.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR2.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR3.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR4.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR5.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR6.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR7.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR8.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR9.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR10.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR11.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR12.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR13.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR14.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR15.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR16.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR17.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR18.Text))
            {
                good = false;
            }
            if (!EDATA.skillCheck(NR19.Text))
            {
                good = false;
            }

            if (good)
            {
                CDATA.cSkillName[0]  = EDATA.addSpace(NS0.Text);
                CDATA.cSkillName[1]  = EDATA.addSpace(NS1.Text);
                CDATA.cSkillName[2]  = EDATA.addSpace(NS2.Text);
                CDATA.cSkillName[3]  = EDATA.addSpace(NS3.Text);
                CDATA.cSkillName[4]  = EDATA.addSpace(NS4.Text);
                CDATA.cSkillName[5]  = EDATA.addSpace(NS5.Text);
                CDATA.cSkillName[6]  = EDATA.addSpace(NS6.Text);
                CDATA.cSkillName[7]  = EDATA.addSpace(NS7.Text);
                CDATA.cSkillName[8]  = EDATA.addSpace(NS8.Text);
                CDATA.cSkillName[9]  = EDATA.addSpace(NS9.Text);
                CDATA.cSkillName[10] = EDATA.addSpace(NS10.Text);
                CDATA.cSkillName[11] = EDATA.addSpace(NS11.Text);
                CDATA.cSkillName[12] = EDATA.addSpace(NS12.Text);
                CDATA.cSkillName[13] = EDATA.addSpace(NS13.Text);
                CDATA.cSkillName[14] = EDATA.addSpace(NS14.Text);
                CDATA.cSkillName[15] = EDATA.addSpace(NS15.Text);
                CDATA.cSkillName[16] = EDATA.addSpace(NS16.Text);
                CDATA.cSkillName[17] = EDATA.addSpace(NS17.Text);
                CDATA.cSkillName[18] = EDATA.addSpace(NS18.Text);
                CDATA.cSkillName[19] = EDATA.addSpace(NS19.Text);

                CDATA.cSkillRank[0]  = EDATA.intToNum(NR0.Text);
                CDATA.cSkillRank[1]  = EDATA.intToNum(NR1.Text);
                CDATA.cSkillRank[2]  = EDATA.intToNum(NR2.Text);
                CDATA.cSkillRank[3]  = EDATA.intToNum(NR3.Text);
                CDATA.cSkillRank[4]  = EDATA.intToNum(NR4.Text);
                CDATA.cSkillRank[5]  = EDATA.intToNum(NR5.Text);
                CDATA.cSkillRank[6]  = EDATA.intToNum(NR6.Text);
                CDATA.cSkillRank[7]  = EDATA.intToNum(NR7.Text);
                CDATA.cSkillRank[8]  = EDATA.intToNum(NR8.Text);
                CDATA.cSkillRank[9]  = EDATA.intToNum(NR9.Text);
                CDATA.cSkillRank[10] = EDATA.intToNum(NR10.Text);
                CDATA.cSkillRank[11] = EDATA.intToNum(NR11.Text);
                CDATA.cSkillRank[12] = EDATA.intToNum(NR12.Text);
                CDATA.cSkillRank[13] = EDATA.intToNum(NR13.Text);
                CDATA.cSkillRank[14] = EDATA.intToNum(NR14.Text);
                CDATA.cSkillRank[15] = EDATA.intToNum(NR15.Text);
                CDATA.cSkillRank[16] = EDATA.intToNum(NR16.Text);
                CDATA.cSkillRank[17] = EDATA.intToNum(NR17.Text);
                CDATA.cSkillRank[18] = EDATA.intToNum(NR18.Text);
                CDATA.cSkillRank[19] = EDATA.intToNum(NR19.Text);

                CDATA.cCkillName[0]  = EDATA.addSpace(SN0.Text);
                CDATA.cCkillName[1]  = EDATA.addSpace(SN1.Text);
                CDATA.cCkillName[2]  = EDATA.addSpace(SN2.Text);
                CDATA.cCkillName[3]  = EDATA.addSpace(SN3.Text);
                CDATA.cCkillName[4]  = EDATA.addSpace(SN4.Text);
                CDATA.cCkillName[5]  = EDATA.addSpace(SN5.Text);
                CDATA.cCkillName[6]  = EDATA.addSpace(SN6.Text);
                CDATA.cCkillName[7]  = EDATA.addSpace(SN7.Text);
                CDATA.cCkillName[8]  = EDATA.addSpace(SN8.Text);
                CDATA.cCkillName[9]  = EDATA.addSpace(SN9.Text);
                CDATA.cCkillName[10] = EDATA.addSpace(SN10.Text);
                CDATA.cCkillName[11] = EDATA.addSpace(SN11.Text);
                CDATA.cCkillName[12] = EDATA.addSpace(SN12.Text);
                CDATA.cCkillName[13] = EDATA.addSpace(SN13.Text);
                CDATA.cCkillName[14] = EDATA.addSpace(SN14.Text);
                CDATA.cCkillName[15] = EDATA.addSpace(SN15.Text);
                CDATA.cCkillName[16] = EDATA.addSpace(SN16.Text);
                CDATA.cCkillName[17] = EDATA.addSpace(SN17.Text);
                CDATA.cCkillName[18] = EDATA.addSpace(SN18.Text);
                CDATA.cCkillName[19] = EDATA.addSpace(SN19.Text);

                CDATA.cCkillRank[0]  = EDATA.intToNum(SR0.Text);
                CDATA.cCkillRank[1]  = EDATA.intToNum(SR1.Text);
                CDATA.cCkillRank[2]  = EDATA.intToNum(SR2.Text);
                CDATA.cCkillRank[3]  = EDATA.intToNum(SR3.Text);
                CDATA.cCkillRank[4]  = EDATA.intToNum(SR4.Text);
                CDATA.cCkillRank[5]  = EDATA.intToNum(SR5.Text);
                CDATA.cCkillRank[6]  = EDATA.intToNum(SR6.Text);
                CDATA.cCkillRank[7]  = EDATA.intToNum(SR7.Text);
                CDATA.cCkillRank[8]  = EDATA.intToNum(SR8.Text);
                CDATA.cCkillRank[9]  = EDATA.intToNum(SR9.Text);
                CDATA.cCkillRank[10] = EDATA.intToNum(SR10.Text);
                CDATA.cCkillRank[11] = EDATA.intToNum(SR11.Text);
                CDATA.cCkillRank[12] = EDATA.intToNum(SR12.Text);
                CDATA.cCkillRank[13] = EDATA.intToNum(SR13.Text);
                CDATA.cCkillRank[14] = EDATA.intToNum(SR14.Text);
                CDATA.cCkillRank[15] = EDATA.intToNum(SR15.Text);
                CDATA.cCkillRank[16] = EDATA.intToNum(SR16.Text);
                CDATA.cCkillRank[17] = EDATA.intToNum(SR17.Text);
                CDATA.cCkillRank[18] = EDATA.intToNum(SR18.Text);
                CDATA.cCkillRank[19] = EDATA.intToNum(SR19.Text);

                Program.mainform.writeDATA();
                this.Close();
            }
            else
            {
                report.Text = "Invalid Skill Rank";
            }
        }
Beispiel #9
0
        private void skillCheck2()
        {
            int temp  = 35;
            int temp2 = 35;
            int temp3;

            // Weighted Combat Skill (Background)
            Int32.TryParse(SR0.Text, out temp3);
            temp3 -= 1;
            temp2 -= EDATA.intToWeightedInt(temp3);

            // Normal Combat Skills
            Int32.TryParse(SR1.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR2.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR3.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR4.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR5.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR6.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR7.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR8.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR9.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR10.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR11.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR12.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR13.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR14.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR15.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR16.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR17.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR18.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(SR19.Text, out temp3);
            temp2 -= EDATA.intToWeightedInt(temp3);

            // Weighted Noncombat Skills (Background)
            Int32.TryParse(NR0.Text, out temp3);
            temp3 -= 3;
            temp  -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR1.Text, out temp3);
            temp3 -= 2;
            temp  -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR2.Text, out temp3);
            temp3 -= 2;
            temp  -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR3.Text, out temp3);
            temp3 -= 1;
            temp  -= EDATA.intToWeightedInt(temp3);

            // Regular Noncombat Skills
            Int32.TryParse(NR4.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR5.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR6.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR7.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR8.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR9.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR10.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR11.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR12.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR13.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR14.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR15.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR16.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR17.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR18.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);
            Int32.TryParse(NR19.Text, out temp3);
            temp -= EDATA.intToWeightedInt(temp3);

            reportAlt2.Text = "Combat Skills: " + temp2 + " Points\nNon-Combat Skills: " + temp + " Points";
        }
Beispiel #10
0
        private void ManageSkillsFirst_Load(object sender, EventArgs e)
        {
            this.Text = "Orpheus Manager - " + CDATA.cName;

            reportAlt2.Text = "Combat Skills: 35 Points\nNon-Combat Skills: 35 Points";
            reportAlt.Text  = "Assign Lv 0 Skills ONLY,\nAdditional Skill Points will be\nlisted in the \"Level Up\" tab.\n";

            // Load Current
            SN0.Text  = EDATA.clearSpace(CDATA.cCkillName[0]);
            SN1.Text  = EDATA.clearSpace(CDATA.cCkillName[1]);
            SN2.Text  = EDATA.clearSpace(CDATA.cCkillName[2]);
            SN3.Text  = EDATA.clearSpace(CDATA.cCkillName[3]);
            SN4.Text  = EDATA.clearSpace(CDATA.cCkillName[4]);
            SN5.Text  = EDATA.clearSpace(CDATA.cCkillName[5]);
            SN6.Text  = EDATA.clearSpace(CDATA.cCkillName[6]);
            SN7.Text  = EDATA.clearSpace(CDATA.cCkillName[7]);
            SN8.Text  = EDATA.clearSpace(CDATA.cCkillName[8]);
            SN9.Text  = EDATA.clearSpace(CDATA.cCkillName[9]);
            SN10.Text = EDATA.clearSpace(CDATA.cCkillName[10]);
            SN11.Text = EDATA.clearSpace(CDATA.cCkillName[11]);
            SN12.Text = EDATA.clearSpace(CDATA.cCkillName[12]);
            SN13.Text = EDATA.clearSpace(CDATA.cCkillName[13]);
            SN14.Text = EDATA.clearSpace(CDATA.cCkillName[14]);
            SN15.Text = EDATA.clearSpace(CDATA.cCkillName[15]);
            SN16.Text = EDATA.clearSpace(CDATA.cCkillName[16]);
            SN17.Text = EDATA.clearSpace(CDATA.cCkillName[17]);
            SN18.Text = EDATA.clearSpace(CDATA.cCkillName[18]);
            SN19.Text = EDATA.clearSpace(CDATA.cCkillName[19]);

            SR0.Text  = EDATA.numToInt(CDATA.cCkillRank[0]);
            SR1.Text  = EDATA.numToInt(CDATA.cCkillRank[1]);
            SR2.Text  = EDATA.numToInt(CDATA.cCkillRank[2]);
            SR3.Text  = EDATA.numToInt(CDATA.cCkillRank[3]);
            SR4.Text  = EDATA.numToInt(CDATA.cCkillRank[4]);
            SR5.Text  = EDATA.numToInt(CDATA.cCkillRank[5]);
            SR6.Text  = EDATA.numToInt(CDATA.cCkillRank[6]);
            SR7.Text  = EDATA.numToInt(CDATA.cCkillRank[7]);
            SR8.Text  = EDATA.numToInt(CDATA.cCkillRank[8]);
            SR9.Text  = EDATA.numToInt(CDATA.cCkillRank[9]);
            SR10.Text = EDATA.numToInt(CDATA.cCkillRank[10]);
            SR11.Text = EDATA.numToInt(CDATA.cCkillRank[11]);
            SR12.Text = EDATA.numToInt(CDATA.cCkillRank[12]);
            SR13.Text = EDATA.numToInt(CDATA.cCkillRank[13]);
            SR14.Text = EDATA.numToInt(CDATA.cCkillRank[14]);
            SR15.Text = EDATA.numToInt(CDATA.cCkillRank[15]);
            SR16.Text = EDATA.numToInt(CDATA.cCkillRank[16]);
            SR17.Text = EDATA.numToInt(CDATA.cCkillRank[17]);
            SR18.Text = EDATA.numToInt(CDATA.cCkillRank[18]);
            SR19.Text = EDATA.numToInt(CDATA.cCkillRank[19]);

            NS0.Text  = EDATA.clearSpace(CDATA.cSkillName[0]);
            NS1.Text  = EDATA.clearSpace(CDATA.cSkillName[1]);
            NS2.Text  = EDATA.clearSpace(CDATA.cSkillName[2]);
            NS3.Text  = EDATA.clearSpace(CDATA.cSkillName[3]);
            NS4.Text  = EDATA.clearSpace(CDATA.cSkillName[4]);
            NS5.Text  = EDATA.clearSpace(CDATA.cSkillName[5]);
            NS6.Text  = EDATA.clearSpace(CDATA.cSkillName[6]);
            NS7.Text  = EDATA.clearSpace(CDATA.cSkillName[7]);
            NS8.Text  = EDATA.clearSpace(CDATA.cSkillName[8]);
            NS9.Text  = EDATA.clearSpace(CDATA.cSkillName[9]);
            NS10.Text = EDATA.clearSpace(CDATA.cSkillName[10]);
            NS11.Text = EDATA.clearSpace(CDATA.cSkillName[11]);
            NS12.Text = EDATA.clearSpace(CDATA.cSkillName[12]);
            NS13.Text = EDATA.clearSpace(CDATA.cSkillName[13]);
            NS14.Text = EDATA.clearSpace(CDATA.cSkillName[14]);
            NS15.Text = EDATA.clearSpace(CDATA.cSkillName[15]);
            NS16.Text = EDATA.clearSpace(CDATA.cSkillName[16]);
            NS17.Text = EDATA.clearSpace(CDATA.cSkillName[17]);
            NS18.Text = EDATA.clearSpace(CDATA.cSkillName[18]);
            NS19.Text = EDATA.clearSpace(CDATA.cSkillName[19]);

            NR0.Text  = EDATA.numToInt(CDATA.cSkillRank[0]);
            NR1.Text  = EDATA.numToInt(CDATA.cSkillRank[1]);
            NR2.Text  = EDATA.numToInt(CDATA.cSkillRank[2]);
            NR3.Text  = EDATA.numToInt(CDATA.cSkillRank[3]);
            NR4.Text  = EDATA.numToInt(CDATA.cSkillRank[4]);
            NR5.Text  = EDATA.numToInt(CDATA.cSkillRank[5]);
            NR6.Text  = EDATA.numToInt(CDATA.cSkillRank[6]);
            NR7.Text  = EDATA.numToInt(CDATA.cSkillRank[7]);
            NR8.Text  = EDATA.numToInt(CDATA.cSkillRank[8]);
            NR9.Text  = EDATA.numToInt(CDATA.cSkillRank[9]);
            NR10.Text = EDATA.numToInt(CDATA.cSkillRank[10]);
            NR11.Text = EDATA.numToInt(CDATA.cSkillRank[11]);
            NR12.Text = EDATA.numToInt(CDATA.cSkillRank[12]);
            NR13.Text = EDATA.numToInt(CDATA.cSkillRank[13]);
            NR14.Text = EDATA.numToInt(CDATA.cSkillRank[14]);
            NR15.Text = EDATA.numToInt(CDATA.cSkillRank[15]);
            NR16.Text = EDATA.numToInt(CDATA.cSkillRank[16]);
            NR17.Text = EDATA.numToInt(CDATA.cSkillRank[17]);
            NR18.Text = EDATA.numToInt(CDATA.cSkillRank[18]);
            NR19.Text = EDATA.numToInt(CDATA.cSkillRank[19]);

            // Background Integration
            SN0.Enabled = false;
            NS0.Enabled = false;
            NS1.Enabled = false;
            NS2.Enabled = false;
            NS3.Enabled = false;

            SR0.Text = "1";
            NR0.Text = "3";
            NR1.Text = "2";
            NR2.Text = "2";
            NR3.Text = "1";
        }