Exemple #1
0
        private void buttonImportBlizzardCode_Click(object sender, EventArgs e)
        {
            // http://www.worldofwarcraft.com/info/classes/mage/talents.html?tal=2550050300230151333125100000000000000000000002030302010000000000000
            string talentCode = textBoxBlizzardCode.Text;
            int    index      = talentCode.IndexOf('=');

            if (index >= 0)
            {
                talentCode = talentCode.Substring(index + 1);
            }

            CalculationsRogue.LoadTalentCode(Character, talentCode);
            LoadCalculationOptions();
            Character.OnItemsChanged();
        }
Exemple #2
0
 private void buttonImportTalentPreset_Click(object sender, EventArgs e)
 {
     CalculationsRogue.LoadTalentSpec(Character, (string)comboBoxTalentPreset.SelectedItem);
     LoadCalculationOptions();
     Character.OnItemsChanged();
 }