Beispiel #1
0
        private void RuneChanged(object sender, SelectionChangedEventArgs e)
        {
            Objects.Rune rune = (Objects.Rune)SpellComboBox.SelectedItem;

            Spell.Text    = rune.Spell;
            ManaHigh.Text = rune.ManaHigh.ToString();
            ManaLow.Text  = rune.ManaLow.ToString();
        }
Beispiel #2
0
        private void RuneMakerChecked(object sender, RoutedEventArgs e)
        {
            if (RuneMakerEnabled.IsChecked.Value != this.Client.Modules.RuneMaker.IsRunning)
            {
                if (RuneMakerEnabled.IsChecked.Value)
                {
                    console.Blocks.Add(new Paragraph(new Run("RuneMaker Enabled")));
                    this.Client.Modules.RuneMaker.ManaHigh = Convert.ToInt32(ManaHigh.Text);
                    this.Client.Modules.RuneMaker.ManaLow  = Convert.ToInt32(ManaLow.Text);
                    this.Client.Modules.RuneMaker.spell    = new Objects.Client.StdString(Spell.Text);
                    Objects.Rune rune = (Objects.Rune)SpellComboBox.SelectedItem;
                    this.Client.Modules.RuneMaker.Soul = rune.Soul;
                    this.Client.Modules.RuneMaker.Start();
                }
                else
                {
                    console.Blocks.Add(new Paragraph(new Run("RuneMaker Disabled")));
                    this.Client.Modules.RuneMaker.Stop();
                }
            }

            /*if (HealEnabled.IsChecked.Value != this.Client.Modules.Healer.IsRunning)
             * {
             *
             *  if (HealEnabled.IsChecked.Value)
             *  {
             *      this.Client.Addresses.SetAddresses(this.Client);
             *      console.Blocks.Add(new Paragraph(new Run("Healer Enabled")));
             *      this.Client.Modules.Healer.Start();
             *  }
             *  else
             *  {
             *      console.Blocks.Add(new Paragraph(new Run("Healer Disabled")));
             *      this.Client.Modules.Healer.Stop();
             *  }
             *
             * }*/
        }