Наследование: Ability
        public void LoadAttack(Attack values)
        {
            this.Text = values.Title;
            textBox2.Text = values.Title;

            foreach (string item in comboBox1.Items)
            {
                if (values._Attack == item)
                {
                    comboBox1.SelectedItem = item;
                }
            }

            numericUpDown1.Value = Convert.ToInt32(values.Bonus);

            foreach (string item in comboBox2.Items)
            {
                if (values.RangeMode == item)
                {
                    comboBox2.SelectedItem = item;
                }
            }

            numericUpDown2.Value = values.Range;
            textBox3.Text = values.Target;
            textBox1.Text = values.Hit;
        }
        public void LoadAttack(Attack values)
        {
            AttackNameField.Text = values.Title;

            foreach (string item in AttackTypeDropdown.Items)
            {
                if (values._Attack == item)
                {
                    AttackTypeDropdown.SelectedItem = item;
                }
            }

            AttackBonusUpDown.Value = Convert.ToInt32(values.Bonus);

            ReachUpDown.Value = values.Reach;
            RangeUpDownClose.Value = values.RangeClose;
            RangeUpDownFar.Value = values.RangeFar;
            AttackTargetField.Text = values.Target;

            foreach (string item in HitDiceType.Items)
            {
                if (item.Split('d')[1].Contains(values.HitDiceSize.ToString()))
                {
                    HitDiceType.SelectedItem = item;
                }
            }

            HitNumberOfDice.Value = values.HitDiceNumber;
            HitDiceBonusDamage.Value = values.HitDamageBonus;

            foreach (string item in HitDamageType.Items)
            {
                if (item.Contains(values.HitDamageType))
                {
                    HitDamageType.SelectedItem = item;
                }
            }

            HitDamageEffect.Text = values.HitText;

            NewAttack = values;
            NewAttack.isDamage = true;
        }