Example #1
0
        public PreferencesDialog(MainForm mainForm)
        {
            RShare.MainForm.SetUILanguage();
            InitializeComponent();
            m_PreferencesControl      = new PreferencesControl(mainForm);
            m_PreferencesControl.Dock = DockStyle.Fill;
            m_DirectoriesControl      = new DirectoriesControl();
            m_DirectoriesControl.Dock = DockStyle.Fill;
            m_MiscControl             = new MiscControl();
            m_MiscControl.Dock        = DockStyle.Fill;
            m_AboutControl            = new AboutControl();
            m_AboutControl.Dock       = DockStyle.Fill;
            toolStripStatusLabel.Text = Properties.Resources.RestartAfterChanges;
            switch (m_Settings["PreferencesDialogLastTab"])
            {
            case "1":
                directoriesToolStripButton.PerformClick();
                break;

            case "2":
                miscToolStripButton.PerformClick();
                break;

            case "3":
                aboutToolStripButton.PerformClick();
                break;

            default:
                preferencesToolStripButton.PerformClick();
                break;
            }
        }
Example #2
0
        public Poppy()
        {
            Q = new Spell(SpellSlot.Q, 250);
            W = new Spell(SpellSlot.W, 0);
            E = new Spell(SpellSlot.E, 480);
            R = new Spell(SpellSlot.R, 900);

            Game.OnUpdate  += GameOnOnGameUpdate;
            Drawing.OnDraw += DrawingOnOnDraw;
            OnBeforeAttack();

            MiscControl.PrintChat(MiscControl.stringColor(LanguageDic["load"], MiscControl.TableColor.Red));
        }
Example #3
0
        public Jinx()
        {
            Q = new Spell(SpellSlot.Q);

            W = new Spell(SpellSlot.W, 1500f);
            W.SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);

            E = new Spell(SpellSlot.E, 900f);
            E.SetSkillshot(0.7f, 120f, 1750f, false, SkillshotType.SkillshotCircle);

            R = new Spell(SpellSlot.R, 25000f);
            R.SetSkillshot(0.6f, 140f, 1700f, false, SkillshotType.SkillshotLine);

            Game.OnUpdate  += GameOnOnGameUpdate;
            Drawing.OnDraw += DrawingOnOnDraw;
            Game.PrintChat(MiscControl.stringColor(ObjectManager.Player.ChampionName, MiscControl.TableColor.RoyalBlue) + " loaded, thanks for using MAC.");
        }
Example #4
0
        public Jinx()
        {
            Q = new Spell(SpellSlot.Q);

            W = new Spell(SpellSlot.W, 1500f);
            W.SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);

            E = new Spell(SpellSlot.E, 900f);
            E.SetSkillshot(0.7f, 120f, 1750f, false, SkillshotType.SkillshotCircle);

            R = new Spell(SpellSlot.R, 25000f);
            R.SetSkillshot(0.6f, 140f, 1700f, false, SkillshotType.SkillshotLine);

            Game.OnGameUpdate += GameOnOnGameUpdate;
            Drawing.OnDraw    += DrawingOnOnDraw;

            MiscControl.PrintChat(MiscControl.stringColor("Jinx Loaded", MiscControl.TableColor.Red));
        }
Example #5
0
        public Vayne()
        {
            Q = new Spell(SpellSlot.Q, 300f);

            W = new Spell(SpellSlot.W);

            E = new Spell(SpellSlot.E, 550f);
            E.SetTargetted(0.25f, 1600f);

            R = new Spell(SpellSlot.R);

            Game.OnGameUpdate += GameOnOnGameUpdate;
            Drawing.OnDraw    += DrawingOnOnDraw;
            Interrupter.OnPossibleToInterrupt += InterrupterOnOnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser    += AntiGapcloserOnOnEnemyGapcloser;

            MiscControl.PrintChat(MiscControl.stringColor("Vayne Loaded", MiscControl.TableColor.Red));
        }
Example #6
0
        public Graves()
        {
            Q = new Spell(SpellSlot.Q, 950f);
            Q.SetSkillshot(0.25f, 10f * 1.9f * (float)Math.PI / 180, 1950, false, SkillshotType.SkillshotCone);

            W = new Spell(SpellSlot.W, 950);
            W.SetSkillshot(0.25f, 250f, 1650f, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 425f);

            R = new Spell(SpellSlot.R, 1150f);
            R.SetSkillshot(0.25f, 150f, 2100, false, SkillshotType.SkillshotLine);

            Game.OnUpdate  += GameOnOnGameUpdate;
            Drawing.OnDraw += DrawingOnOnDraw;

            Game.PrintChat(MiscControl.stringColor(ObjectManager.Player.ChampionName, MiscControl.TableColor.RoyalBlue) + " loaded, thanks for using MAC.");
        }
Example #7
0
        public Vayne()
        {
            Q = new Spell(SpellSlot.Q, 300f);

            W = new Spell(SpellSlot.W);

            E = new Spell(SpellSlot.E, 550f);
            E.SetTargetted(0.25f, 1600f);

            R = new Spell(SpellSlot.R);

            Game.OnUpdate  += GameOnOnGameUpdate;
            Drawing.OnDraw += DrawingOnOnDraw;
            Interrupter2.OnInterruptableTarget += InterrupterOnOnPossibleToInterrupt;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloserOnOnEnemyGapcloser;

            Game.PrintChat(MiscControl.stringColor(ObjectManager.Player.ChampionName, MiscControl.TableColor.RoyalBlue) + " loaded, thanks for using MAC.");
        }
Example #8
0
        public Graves()
        {
            Q = new Spell(SpellSlot.Q, 950f);
            Q.SetSkillshot(0.25f, 10f * 1.9f * (float)Math.PI / 180, 1950, false, SkillshotType.SkillshotCone);

            W = new Spell(SpellSlot.W, 950);
            W.SetSkillshot(0.25f, 250f, 1650f, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 425f);

            R = new Spell(SpellSlot.R, 1150f);
            R.SetSkillshot(0.25f, 150f, 2100, false, SkillshotType.SkillshotLine);

            Game.OnGameUpdate += GameOnOnGameUpdate;
            Drawing.OnDraw    += DrawingOnOnDraw;

            MiscControl.PrintChat(MiscControl.stringColor("Graves Loaded", MiscControl.TableColor.Red));
        }
Example #9
0
 /*
  * Inicializa o MAC
  */
 public static void GameStart()
 {
     Events.Game.OnGameStart += OnGameStart;
     Game.PrintChat(MiscControl.stringColor("MAC , " + GameControl.version, MiscControl.TableColor.Gold));
     Game.PrintChat("Para mais assemblies como esse acesse www.lol-pro.net");
 }
 /*
  * Inicializa o MAC
  */
 public static void GameStart()
 {
     Events.Game.OnGameStart += OnGameStart;
     Game.PrintChat(MiscControl.stringColor("PFTC , Assembly exclusivo LoL-Pro.net", MiscControl.TableColor.Gold));
 }
 /*
  * Inicializa o MAC
  */
 public static void GameStart()
 {
     Events.Game.OnGameStart += OnGameStart;
     Game.PrintChat(MiscControl.stringColor("MAC, " + GameControl.version, MiscControl.TableColor.Gold));
     Game.PrintChat("Currently being developed by TehBlaxxor & GoldenGates!");
 }
 public Control EditMiscControl(MiscControl target)
 {
     return(Owner.MiscControls[target]);
 }