private void textMP_TextChanged(object sender, EventArgs e) { this.selectedNpc.MP = int.Parse(textMP.Text); }