Пример #1
0
        private void pasteLegendaryIdButton_Click(object sender, EventArgs e)
        {
            if (activeSaveFile.GetItemStatData(activeItem) == null)
            {
                if (MessageBox.Show("Item has no stat data. To fix this, please upgrade the item in-game at least once. Fallback to old method?", "Notice", MessageBoxButtons.YesNo) == DialogResult.Yes)
                {
                    modsBaseIdBox.Text = ((ulong)88400986533).ToString();
                }
            }
            else
            {
                activeSaveFile.SetConstantStat(gamedataStatType.Quality, 4, activeSaveFile.GetItemStatData(activeItem));

                ReloadData();
                MessageBox.Show("Legendary quality stat applied.");
            }
        }