public MagicItemProfileForm(Masterplan.Data.MagicItem item) { this.InitializeComponent(); this.TypeBox.Items.Add("Armour"); this.TypeBox.Items.Add("Weapon"); this.TypeBox.Items.Add("Ammunition"); this.TypeBox.Items.Add("Item Slot (head)"); this.TypeBox.Items.Add("Item Slot (neck)"); this.TypeBox.Items.Add("Item Slot (waist)"); this.TypeBox.Items.Add("Item Slot (arms)"); this.TypeBox.Items.Add("Item Slot (hands)"); this.TypeBox.Items.Add("Item Slot (feet)"); this.TypeBox.Items.Add("Item Slot (ring)"); this.TypeBox.Items.Add("Implement"); this.TypeBox.Items.Add("Alchemical Item"); this.TypeBox.Items.Add("Divine Boon"); this.TypeBox.Items.Add("Grandmaster Training"); this.TypeBox.Items.Add("Potion"); this.TypeBox.Items.Add("Reagent"); this.TypeBox.Items.Add("Whetstone"); this.TypeBox.Items.Add("Wondrous Item"); foreach (MagicItemRarity value in Enum.GetValues(typeof(MagicItemRarity))) { this.RarityBox.Items.Add(value); } this.fItem = item.Copy(); this.NameBox.Text = this.fItem.Name; this.LevelBox.Value = this.fItem.Level; this.TypeBox.Text = this.fItem.Type; this.RarityBox.SelectedItem = this.fItem.Rarity; }
public MagicItemBuilderForm(Masterplan.Data.MagicItem item) { this.InitializeComponent(); this.fMagicItem = item.Copy(); this.update_statblock(); }