private void checkBox1_CheckedChanged(object sender, EventArgs e) { if (checkBox1.Checked) { CDATA.cAcc1 = 1; } else { CDATA.cAcc1 = 0; } LDATA.calculate(); label1.Text = "Acclimations Availible: " + (LDATA.lAcclimationsMax - LDATA.lAcclimationsCurrent); }
private void writeLDATA() { LDATA.calculate(); lAttributes.Text = (LDATA.lAttributesMax - LDATA.lAttributesCurrent) + " Attribute Points"; csp.Text = (LDATA.lCspMax - (LDATA.lCspCurrent - CDATA.cInitialCsp)) + " Combat Skill Points"; ncsp.Text = (LDATA.lNcspMax - (LDATA.lNcspCurrent - CDATA.cInitialNcsp)) + " Non-Combat Skill Points"; ability.Text = (LDATA.lAbilityRankMax - LDATA.lAbilityRankCurrent) + " Ability Points"; masteries.Text = (LDATA.lAbilityMasteryMax - LDATA.lAbilityMasteryCurrent) + " Ability Masteries"; synth.Text = (LDATA.lAbilitySynthesisMax - LDATA.lAbilitySynthesisCurrent) + " Ability Synthesis"; overload.Text = (LDATA.lAbilityOverloadMax - LDATA.lAbilityOverloadCurrent) + " Ability Overloads"; apotheosis.Text = (LDATA.lAbilityApotheosisMax - LDATA.lAbilityApotheosisCurrent) + " Ability Apotheosis"; mots.Text = (LDATA.lMotivationsMax - LDATA.lMotivationsCurrent) + " Motivations"; acc.Text = (LDATA.lAcclimationsMax - LDATA.lAcclimationsCurrent) + " Horror Acclimations"; strain.Text = (LDATA.lStrainMax - LDATA.lStrainCurrent) + " Bonus Strain"; }
private void mAcclimations_Load(object sender, EventArgs e) { this.Text = "Orpheus Manager - " + CDATA.cName; if (CDATA.cAcc1 == 1) { checkBox1.Checked = true; } if (CDATA.cAcc2 == 1) { checkBox2.Checked = true; } if (CDATA.cAcc3 == 1) { checkBox3.Checked = true; } if (CDATA.cAcc4 == 1) { checkBox4.Checked = true; } LDATA.calculate(); label1.Text = "Acclimations Availible: " + (LDATA.lAcclimationsMax - LDATA.lAcclimationsCurrent); }
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"; }