private void NPCaddDamage_Click(object sender, EventArgs e) { if (CurrentNPC != null) { Dform = new DamageForm(this, CurrentNPC); Dform.Show(); this.Hide(); } }
private void PlayerAddDamage_Click(object sender, EventArgs e) { if (CurrentPlayer != null) { Dform = new DamageForm(this, CurrentPlayer); Dform.Show(); this.Hide(); } }