private void button1_Click(object sender, EventArgs e) { Atributes.LevelUp(); Atributes.ComputeAllStats(); AutoSave(); _f2.RefreshAtributeValues(); Close(); _f3.Close(); }
private void button1_Click(object sender, EventArgs e) // PLAY { Atributes.ComputeAllStats(); Monsters.ComputeMonsterDmg(); Monsters.ComputeMonsterHP(); Monsters.ComputeMonsterCrit(); Form f3 = new Form3(this); f3.ShowDialog(); }
public Form2(Form1 f1) { InitializeComponent(); if (f1 == null) { throw new ArgumentNullException("f1"); } _f1 = f1; Atributes.ComputeAllStats(); RefreshAtributeValues(); }
private void button7_Click(object sender, EventArgs e) // CHARISMA - { Atributes.ResetStat(ref Atributes.Charisma); Atributes.ComputeAllStats(); RefreshAtributeValues(); }
private void button6_Click(object sender, EventArgs e)// CONSTITUTION - { Atributes.ResetStat(ref Atributes.Constitution); Atributes.ComputeAllStats(); RefreshAtributeValues(); }
private void button5_Click(object sender, EventArgs e)// DEXTERITY - { Atributes.ResetStat(ref Atributes.Dexterity); Atributes.ComputeAllStats(); RefreshAtributeValues(); }