Esempio n. 1
0
        public virtual bool LoadNumbers(ToolStripProgressBar tspb)
        {
            List <string> numbers = FileHandler.LoadLines(FilePath);

            if (numbers.Count == 0)
            {
                return(false);
            }
            int i     = 0;
            int total = numbers.Count;

            foreach (var n in numbers)
            {
                tspb.Value = (int)((double)i / total * 100);

                var num = BuildNumbers(n);
                if (num == null)
                {
                    Drawings.Clear();
                    break;
                }
                Drawings.Add(num);
                i++;
            }
            Drawings.Reverse();
            return(Drawings.Count > 0);
        }
Esempio n. 2
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sion")
            {
                return;
            }


            Q = new Spell.Skillshot(SpellSlot.Q, 600, SkillShotType.Cone, 250, 1600, 140);
            W = new Spell.Active(SpellSlot.W, 550);
            E = new Spell.Skillshot(SpellSlot.E, 725, SkillShotType.Linear, 250, 1600, 60);
            R = new Spell.Skillshot(SpellSlot.R, 550, SkillShotType.Cone, 300, 900, 140);

            Menu = MainMenu.AddMenu("HTTF Sion", "Sion");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use Q Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use W Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use E Combo"));
            ComboMenu.Add("ComboR", new CheckBox("Use R Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("REnemies", new Slider("Min Hit Enemies Use R :", 3, 1, 5));
            ComboMenu.AddGroupLabel("FLEE");
            ComboMenu.Add("FleeR", new CheckBox("Use R "));

            ComboMenu.AddGroupLabel("Harass Settings");
            ComboMenu.Add("HQ", new CheckBox("Use Q Harass"));
            ComboMenu.Add("HW", new CheckBox("Use W Harass"));
            ComboMenu.Add("HE", new CheckBox("Use E Harass"));
            ComboMenu.Add("HarassWEQ", new CheckBox("Harass is W->E->Q"));



            ClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            ClearMenu.AddGroupLabel("JungleClear Settings");
            ClearMenu.Add("QJungle", new CheckBox("Use Q JungleClear"));

            ClearMenu.Add("WJungle", new CheckBox("Use W JungleClear"));
            ClearMenu.Add("EJungle", new CheckBox("Use E JungleClear"));

            ClearMenu.AddGroupLabel("Lane Clear Settings");
            ClearMenu.Add("LaneClearQ", new CheckBox("Use Q LaneClear"));
            ClearMenu.Add("QMinions", new Slider("Min Hit Enemies Use R :", 3, 1, 6));
            ClearMenu.Add("LaneClearW", new CheckBox("Use W LaneClear"));
            ClearMenu.Add("LaneClearE", new CheckBox("Use E LaneClear"));


            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range"));
            Drawings.Add("DrawW", new CheckBox("W Range"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));



            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 3
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Malphite"))
            {
                return;
            }
            Chat.Print("HTTF TopLane Series Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q         = new Spell.Targeted(SpellSlot.Q, 625);
            W         = new Spell.Active(SpellSlot.W, 250);
            E         = new Spell.Active(SpellSlot.E, 400);
            R         = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 700, 270);
            Ignite    = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("HTTF Malhite", "Malphite");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use Q Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use W Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use E Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboFQ", new KeyBind("Use R Selected Target", false, KeyBind.BindTypes.HoldActive, 'G'));
            ComboMenu.Add("ComboR", new CheckBox("Use R in multitarget"));
            ComboMenu.Add("MinR", new Slider("Min Hit Enemies Use R :", 3, 1, 5));


            ComboMenu.AddGroupLabel("Harass Settings");
            ComboMenu.Add("HarassQ", new CheckBox("Use Q Harass"));
            ComboMenu.Add("HarassW", new CheckBox("Use W Harass"));
            ComboMenu.Add("HarassE", new CheckBox("Use E Harass"));
            ComboMenu.Add("ManaQ", new Slider("Mana Harass % :", 40));

            ClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            ClearMenu.AddGroupLabel("JungleClear Settings");
            ClearMenu.Add("QJungle", new CheckBox("Use Q JungleClear"));
            ClearMenu.Add("WJungle", new CheckBox("Use W JungleClear"));
            ClearMenu.Add("EJungle", new CheckBox("Use E JungleClear"));
            ClearMenu.Add("JungleMana", new Slider("Mana JungleClear % :", 20));

            ClearMenu.AddGroupLabel("Lane Clear Settings");
            ClearMenu.Add("LaneClearQ", new CheckBox("Use Q LaneClear"));
            ClearMenu.Add("LaneClearW", new CheckBox("Use W LaneClear"));
            ClearMenu.Add("LaneClearE", new CheckBox("Use E LaneClear"));
            ClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));
            ClearMenu.AddGroupLabel("LastHit Settings");
            ClearMenu.Add("LastHitQ", new CheckBox("Use Q LastHit"));
            ClearMenu.Add("ManaLH", new Slider("Mana LastHit % : ", 50));


            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range"));
            Drawings.Add("DrawR", new CheckBox("R Range"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
        }
Esempio n. 4
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Malphite"))
            {
                return;
            }
            Chat.Print("HTTF TopLane Series Yuklendi Ceviri TekinTR!", Color.Orange);
            Bootstrap.Init(null);
            Q         = new Spell.Targeted(SpellSlot.Q, 625);
            W         = new Spell.Active(SpellSlot.W, 250);
            E         = new Spell.Active(SpellSlot.E, 400);
            R         = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 700, 270);
            Ignite    = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("HTTF Malhite", "Malphite");
            ComboMenu = Menu.AddSubMenu("KomboAyarlari", "Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarlari");
            ComboMenu.Add("ComboQ", new CheckBox("Kullan Q "));
            ComboMenu.Add("ComboW", new CheckBox("Kullan W "));
            ComboMenu.Add("ComboE", new CheckBox("Kullan E "));
            ComboMenu.AddGroupLabel("R ayarlari");
            ComboMenu.Add("ComboFQ", new KeyBind("Kullan R Secili hedefe", false, KeyBind.BindTypes.HoldActive, 'G'));
            ComboMenu.Add("ComboR", new CheckBox("Kullan R butun dusmanlar bir arada ise"));
            ComboMenu.Add("MinR", new Slider("R en az kac kisiye isabet etsin:", 3, 1, 5));


            ComboMenu.AddGroupLabel("Durtme ayarlari");
            ComboMenu.Add("HarassQ", new CheckBox("Kullan Q "));
            ComboMenu.Add("HarassW", new CheckBox("Kullan W "));
            ComboMenu.Add("HarassE", new CheckBox("Kullan E "));
            ComboMenu.Add("ManaQ", new Slider("Mana ayari % :", 40));

            ClearMenu = Menu.AddSubMenu("Orman Temizleme", "JungleClear");
            ClearMenu.AddGroupLabel("Orman temizleme");
            ClearMenu.Add("QJungle", new CheckBox("Kullan Q "));
            ClearMenu.Add("WJungle", new CheckBox("Kullan W "));
            ClearMenu.Add("EJungle", new CheckBox("Kullan E "));
            ClearMenu.Add("JungleMana", new Slider("Mana ayari % :", 20));

            ClearMenu.AddGroupLabel("Koridor temizleme");
            ClearMenu.Add("LaneClearQ", new CheckBox("Kullan Q "));
            ClearMenu.Add("LaneClearW", new CheckBox("Kullan W "));
            ClearMenu.Add("LaneClearE", new CheckBox("Kullan E "));
            ClearMenu.Add("ManaLC", new Slider("Mana ayari", 50));
            ClearMenu.AddGroupLabel("SonVurus Ayarlari");
            ClearMenu.Add("LastHitQ", new CheckBox("Kullan Q SonVurus"));
            ClearMenu.Add("ManaLH", new Slider("Mana ayari % : ", 50));


            Drawings = Menu.AddSubMenu("Cizim Ayarlari", "Draw");
            Drawings.AddGroupLabel("Cizim Ayarlari");
            Drawings.Add("DrawQ", new CheckBox("Goster Q Menzili"));
            Drawings.Add("DrawE", new CheckBox("Goster E Menzili"));
            Drawings.Add("DrawR", new CheckBox("Goster R Menzili"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
        }
Esempio n. 5
0
        /// <summary>
        /// Constructs a new paint layer.
        /// </summary>
        /// <param name="name">The name of the layer.</param>
        /// <param name="addDrawing">Whether a drawing is immediately added to the layer. All paint layers need to have at least one drawing.</param>
        public LayerPaint(string name = "", bool addDrawing = false)
        {
            this.Name = name;

            if (addDrawing)
            {
                Drawings.Add(new Drawing());
                Frames.Add(0);
            }
        }
Esempio n. 6
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Gapcloser.OnGapcloser += AntiGapCloser;
            Game.OnTick        += Game_OnTick;
            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Drawing_OnEndScene;
            Q = new Spell.Chargeable(SpellSlot.Q, 1000, 1600, 1300, 0, 1900, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1500, 235)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1250, SkillShotType.Linear, 250, 1950, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };
            if (User.ChampionName != "Varus")
            {
                return;
            }
            //Declaring


            //Drawings
            VarusMenu = MainMenu.AddMenu("Mighty Varus", "Mighty Varus");
            comboMenu = VarusMenu.AddSubMenu("Combo");
            comboMenu.Add("Q", new CheckBox("Use Q"));
            comboMenu.Add("E", new CheckBox("Use E"));
            comboMenu.Add("R", new CheckBox("Use R in combo"));
            comboMenu.Add("Rtargets", new Slider("R targets ", 1, 1, 5));
            //miscMenu.Add("Rgapclose", new CheckBox("R Anti-gapcloser"));
            //miscMenu.AddGroupLabel("E");
            //miscMenu.Add("Egapclose", new CheckBox("E Anti-gapcloser"));
            waveClear = VarusMenu.AddSubMenu("Wave Clear");
            waveClear.Add("Qwc", new CheckBox("Use Q"));
            waveClear.Add("Ewc", new CheckBox("Use E"));
            waveClear.Add("manawc", new Slider("Mana manager", 0));
            LastHit = VarusMenu.AddSubMenu("Last hit");
            LastHit.Add("Qlh", new CheckBox("Use Q to Last hit"));
            LastHit.Add("Elh", new CheckBox("Use E to Last hit"));
            LastHit.Add("manalh", new Slider("Mana manager", 0));
            harass = VarusMenu.AddSubMenu("Harass hit");
            harass.Add("QHarass", new CheckBox("Use Q to Harass"));
            harass.Add("QAuto", new CheckBox("Auto Q harass", false));
            harass.Add("EHarass", new CheckBox("Use E to Harass"));
            harass.Add("manaharass", new Slider("Mana manager", 0));
            Drawings = VarusMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("QDraw", new CheckBox("Draw Q Range (green)"));
            Drawings.Add("EDraw", new CheckBox("Draw E Range"));
            Drawings.Add("RDraw", new CheckBox("Draw R Range"));
        }
Esempio n. 7
0
 public static void InitMenu()
 {
     MenuPrincipal = MainMenu.AddMenu("Kappalista", "kappalista");
     //Spells Settings
     SpellsMenu = MenuPrincipal.AddSubMenu("Spells Settings");
     SpellsMenu.AddLabel("Combo Settings");
     SpellsMenu.Add("use.q.combo", new CheckBox("Use Q"));
     SpellsMenu.Add("use.e", new CheckBox("Use E"));
     SpellsMenu.Add("atk.minion", new CheckBox("Attack minions for chasing"));
     SpellsMenu.AddLabel("Harass Settings");
     SpellsMenu.Add("use.q.harass", new CheckBox("Use Q"));
     SpellsMenu.Add("manapercent", new Slider("Mana percent", 60));
     //LaneClear Settings
     LaneClear = MenuPrincipal.AddSubMenu("LaneClear Settings");
     LaneClear.Add("use.q", new CheckBox("Use Q", false));
     LaneClear.Add("q.min.kill", new Slider("Min minions killable", 3, 1, 5));
     LaneClear.Add("use.e", new CheckBox("Use E"));
     LaneClear.Add("e.minkill", new Slider("Min minions killable", 2, 1, 5));
     LaneClear.Add("manapercent", new Slider("Mana percent", 60));
     //JungleClear Settings
     JungleClear = MenuPrincipal.AddSubMenu("Jungle Clear Settings");
     JungleClear.Add("use.q", new CheckBox("Use Q"));
     JungleClear.Add("use.e", new CheckBox("Use E"));
     JungleClear.Add("manapercent", new Slider("Mana percent", 60));
     //Misc Settings
     Misc = MenuPrincipal.AddSubMenu("Misc Settings");
     Misc.Add("e.killsteal", new CheckBox("E Killsteal"));
     Misc.Add("e.mobsteal", new CheckBox("E Mob Steal"));
     Misc.Add("e.lasthit.assist", new CheckBox("E Lasthit Assist"));
     Misc.Add("r.savebuddy", new CheckBox("Save your sup with R"));
     Misc.Add("r.balista", new CheckBox("R Balista"));
     Misc.Add("e.siegeandsuper", new CheckBox("Auto E Siege and Super minions"));
     Misc.Add("e.harass", new CheckBox("E Harass"));
     Misc.Add("e.dontharasscombo", new CheckBox("Don't harass with E in combo"));
     Misc.Add("e.beforedie", new CheckBox("E before die"));
     Misc.Add("w.dragonorbaron", new CheckBox("Auto W on Dragon or Baron", false));
     Misc.Add("w.castdragon",
              new KeyBind("Cast W on Dragon", false, KeyBind.BindTypes.HoldActive, "J".ToCharArray()[0]));
     Misc.Add("w.castbaron",
              new KeyBind("Cast W on Baron", false, KeyBind.BindTypes.HoldActive, "K".ToCharArray()[0]));
     //Activator Settings
     ActivatorSettings = MenuPrincipal.AddSubMenu("Activator Settings");
     ActivatorSettings.Add("use.botrk.cutlass", new CheckBox("Use BotRK/Cutlass"));
     ActivatorSettings.Add("botrk.cutlass.health", new Slider("Health percent", 60));
     ActivatorSettings.Add("use.youmuu", new CheckBox("Use Youmuu"));
     //Drawing Settings
     Drawings = MenuPrincipal.AddSubMenu("Drawings Settings");
     Drawings.Add("draw.q", new CheckBox("Draw Q Range"));
     Drawings.Add("draw.w", new CheckBox("Draw W Range"));
     Drawings.Add("draw.e", new CheckBox("Draw E Range"));
     Drawings.Add("draw.r", new CheckBox("Draw R Range"));
     Drawings.Add("draw.e.dmgpercent", new CheckBox("Draw E Damage Percent"));
     Drawings.Add("draw.damageindicator", new CheckBox("Draw Damage Indicator"));
 }
        public static List <ArrayList> GetOwnersEquityData()
        {
            CalculateFinalCapital();

            //if +ve add to investents else add to drawings
            foreach (Account a in Capital.Accounts)
            {
                if (a.Sum > 0)
                {
                    Investments.Add(a);
                }
                else
                {
                    Drawings.Add(a);
                }
            }

            //List to fill Owners Equity Data Grid
            List <ArrayList> OEEntries = new List <ArrayList>();

            ArrayList EntryArray = new ArrayList();

            EntryArray.Add("Investments");
            EntryArray.Add(null);
            OEEntries.Add(EntryArray);

            foreach (Account account in Investments)
            {
                OEEntries.Add(account.ToArray());
            }
            EntryArray = new ArrayList();
            EntryArray.Add("Income");
            EntryArray.Add(IncomeStatement.Income);
            OEEntries.Add(EntryArray);

            EntryArray = new ArrayList();
            EntryArray.Add("Drawings");
            EntryArray.Add(null);
            OEEntries.Add(EntryArray);

            foreach (Account account in Drawings)
            {
                OEEntries.Add(account.ToArray(2));
            }


            EntryArray = new ArrayList();
            EntryArray.Add("Final Capital");
            EntryArray.Add(FinalCapital);
            OEEntries.Add(EntryArray);

            return(OEEntries);
        }
Esempio n. 9
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Declaring
            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            A = new Spell.Skillshot(SpellSlot.Q, 1000, skillShotType: SkillShotType.Linear, castDelay: 250, spellSpeed: 1550, spellWidth: 75);
            Z = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (User.ChampionName != "Olaf")
            {
                return;
            }
            //Declaring


            //Drawings
            olafMenu  = MainMenu.AddMenu("Leeched Olaf", "Leeched Olaf");
            comboMenu = olafMenu.AddSubMenu("Combo");
            comboMenu.Add("A", new CheckBox("Use Q"));
            comboMenu.Add("Z", new CheckBox("Use W"));
            comboMenu.Add("E", new CheckBox("Use E"));
            waveClear = olafMenu.AddSubMenu("Wave Clear / Jungle Clear");
            waveClear.Add("Awc", new CheckBox("Use Q"));
            waveClear.Add("Wwc", new CheckBox("Use W"));
            waveClear.Add("Ewc", new CheckBox("Use E"));
            waveClear.Add("manawc", new Slider("Mana manager", 0));
            LastHit = olafMenu.AddSubMenu("Last hit");
            LastHit.Add("Alh", new CheckBox("Use Q to Last hit"));
            LastHit.Add("Elh", new CheckBox("Use E to Last hit"));
            LastHit.Add("manalh", new Slider("Mana manager", 0));
            harass = olafMenu.AddSubMenu("Harass hit");
            harass.Add("AHarass", new CheckBox("Use Q to Harass"));
            harass.Add("EHarass", new CheckBox("Use E to Harass"));
            harass.Add("manaharass", new Slider("Mana manager", 0));
            Flee = olafMenu.AddSubMenu("Flee");
            Flee.Add("Aflee", new CheckBox("Use Q to Flee"));
            Flee.Add("Rflee", new CheckBox("Use R to Flee (Cast when under CC)"));
            Flee.Add("HPflee", new Slider("Use R when under XX HP", 15));
            Drawings = olafMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("QDraw", new CheckBox("Draw Q Range"));
            Drawings.Add("EDraw", new CheckBox("Draw E Range", false));
            Drawings.Add("Axepos", new CheckBox("Draw Axe position"));

            Chat.Print("Leeched Olaf loaded successfully");
        }
Esempio n. 10
0
        public Drawings Generate(int filterIndex, int quantity)
        {
            Drawings drawings = new Drawings();

            for (int i = 0; i < quantity; i++)
            {
                while (true)
                {
                    Numbers num = new Numbers(DefaultNumber).Generate(5, NumberMax, SpecialNumberMax, DefaultNumber, AllowRepeatedNums);
                    if (!Drawings.Any(n => n.SameNumCombination(num)))
                    {
                        drawings.Add(num);
                        break;
                    }
                }
            }
            return(drawings);
        }
Esempio n. 11
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, skillShotType: SkillShotType.Linear, castDelay: 250, spellSpeed: 1550, spellWidth: 75);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (User.ChampionName != "Olaf")
            {
                return;
            }



            MainMenu  = EloBuddy.SDK.Menu.MainMenu.AddMenu("HTTF Olaf", "HTTF Olaf");
            comboMenu = MainMenu.AddSubMenu("Combo");
            comboMenu.Add("Q", new CheckBox("Use Q"));
            comboMenu.Add("W", new CheckBox("Use W"));
            comboMenu.Add("E", new CheckBox("Use E"));
            comboMenu.Add("RCast", new CheckBox("Use R to Flee -Cast when under CC"));
            comboMenu.Add("HPR", new Slider("Use R when under  HP", 25));
            comboMenu.Add("delay", new Slider("Humanizer Delay Cast R", 0, 0, 1000));
            comboMenu.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false));
            Clear = MainMenu.AddSubMenu("Wave Clear / Jungle Clear");
            Clear.Add("QWC", new CheckBox("Use Q"));
            Clear.Add("WWC", new CheckBox("Use W"));
            Clear.Add("EWC", new CheckBox("Use E"));
            Clear.Add("manawc", new Slider("Mana manager", 0));
            harass = MainMenu.AddSubMenu("Harass hit");
            harass.Add("QHarass", new CheckBox("Use Q to Harass"));
            harass.Add("EHarass", new CheckBox("Use E to Harass"));
            harass.Add("manaharass", new Slider("Mana manager", 0));
            Drawings = MainMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("QDraw", new CheckBox("Draw Q Range"));
            Drawings.Add("EDraw", new CheckBox("Draw E Range", false));
            Drawings.Add("Axepos", new CheckBox("Draw Axe position"));
        }
Esempio n. 12
0
 protected override void OnPrepareDraw()
 {
     if (Drawings.Count < MaxCount && Stopwatch.GetTimestamp() - beginTime >= WaitTime)
     {
         var s  = Scene.GetSize();
         var sn = new Snoke()
         {
             X     = Random.Next(0, (int)s.Width),
             Speed = (float)(Random.NextDouble() + 1) % 3,
             Size  = Random.Next(10, 50),
             Key   = key
         };
         sn.PtgPen.Color.Alpha = (byte)Random.Next(50, 255);
         Drawings.Add(sn);
         beginTime = Stopwatch.GetTimestamp();
     }
     foreach (Snoke item in Drawings)
     {
         item.Y += item.Speed;
     }
     base.OnPrepareDraw();
 }
Esempio n. 13
0
        public NewMapViewModel()
        {
            Geometry tempGeo =
                PathGeometry.Parse("M148 113.333C161.141 110.778 169.316 119.316 178 128C185.749 135.749 193.846 143.639 202 151C217.382 164.886 233.234 178.439 248 193C253.082 198.011 260.673 202.265 263.667 209C266.046 214.354 264.607 219.539 264 225C262.306 240.249 254.585 255.124 258.333 271C261.645 285.026 274.083 299.125 282 311C285.324 315.986 291.982 322.574 291 329C290.285 333.677 285.889 334.415 282 335.333C275.071 336.969 266.469 337.333 260 340.333C251.978 344.054 257.942 351.646 263 354.667C265.561 356.196 268.318 357.567 271 358.833C279.287 362.747 295.161 368.183 304 364.5C308.092 362.795 310.811 358.879 314 356C321.702 349.047 329.29 341.96 337 335C359.765 314.448 382.229 293.557 405 273L427 253C433.085 247.506 439.148 242.761 440 234C440.21 231.839 440.247 229.127 439.833 227C436.585 210.294 411.114 220.701 404.167 207C398.558 195.938 407.389 184.71 419 186C426.771 186.863 435.376 194.878 442 198.833C458.24 208.532 473.371 219.886 480.667 238C484.205 246.786 483 257.681 483 267L483 321C483 340.852 489.281 374.788 467 385C455.22 390.399 440.718 391.764 428 393C411.08 394.645 393.183 396.671 376 395C364.754 393.907 353.352 393 342 393C330.07 393 320.638 403.132 309 402C303.25 401.441 298.942 397.638 294 395.167C287.51 391.922 280.208 389.268 273 388.167C257.216 385.755 247.576 405.867 231 398.5C217.323 392.421 216.776 373.11 206.833 363.167C200.369 356.702 191.584 352.056 184 347L141 318.333C112.938 299.625 83.2475 282.31 57 261.167C46.8842 253.018 34.7189 245.114 29.1667 233C25.1357 224.205 29.1922 210.755 37 205.333C44.6599 200.014 54.6966 198.985 63 194.833C78.6588 187.004 91.888 175.525 106 165.333C111.56 161.318 120.654 157.433 124.833 152C130.51 144.621 114.939 138.456 119.167 130C123.864 120.606 138.35 115.21 148 113.333");

            PathGeometry pathGeo = tempGeo.GetFlattenedPathGeometry();


            tempGeo.GetOutlinedPathGeometry()
            .GetPointAtFractionLength(
                1.0f,
                out System.Windows.Point point,
                out System.Windows.Point tangent);

            Drawings.Add(new Drawing
            {
                Geometry        = pathGeo,
                Stroke          = Brushes.Red,
                StrokeThickness = 5,
                ScaleX          = 1.33333,
                ScaleY          = 1.33333,
            });
        }
Esempio n. 14
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Hecarim"))
            {
                return;
            }
            Chat.Print("Hecarim7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E, 450);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Hecarim7", "Hecarim");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Spell [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40));

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Spell [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("LaneClear With [Q]"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50));
            LaneClearMenu.Add("LastWLC", new CheckBox("LaneClear With [W]"));
            LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 700));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawW", new CheckBox("W Range", false));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnTick    += Game_OnTick;
        }
Esempio n. 15
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Graves)
            {
                return;
            }
            Chat.Print("Doctor's Graves Loaded!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Linear, 250, 2000, 60);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 250, 1650, 150);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 2100, 100);
            R.AllowedCollisionCount = int.MaxValue;
            Thm = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil    = new Item(3144, 475f);
            Youmuu = new Item(3142, 10);
            Menu   = MainMenu.AddMenu("Graves", "Graves7");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboMenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMode = ComboMenu.Add("comboMode", new Slider("Min Stack Use [E] Reload", 1, 0, 1));
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Aoe In Combo", false));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassMenu");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.AddLabel("Harass [Q] On");
            foreach (var Selector in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + Selector.ChampionName, new CheckBox("" + Selector.ChampionName));
            }
            HarassMenu.Add("HarassMana", new Slider("Min Mana Harass [Q]", 50));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Spells Settings");
            HarassMenu.Add("HarassW", new CheckBox("Use [W]", false));
            HarassMenu.Add("ManaW", new Slider("Mana Harass [W]", 40));
            HarassMenu.Add("HarassAA", new CheckBox("Use [E] Reset AA", false));
            HarassMenu.Add("ManaHarass", new Slider("Mana [E] Harass", 50));

            ClearMenu = Menu.AddSubMenu("Laneclear Settings", "LaneClearMenu");
            ClearMenu.AddGroupLabel("Laneclear Settings");
            ClearMenu.Add("QClear", new CheckBox("Use [Q]"));
            ClearMenu.Add("minQ", new Slider("Min Hit Minion [Q]", 3, 1, 6));
            ClearMenu.Add("ClearMana", new Slider("Min Mana For [Q] LaneClear", 70));
            ClearMenu.Add("LaneAA", new CheckBox("Use [E] Reset AA", false));
            ClearMenu.Add("ELane", new Slider("Min Mana For [E] LaneClear", 70));

            JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleMenu");
            JungleMenu.AddGroupLabel("JungleClear Settings");
            JungleMenu.Add("QJungleClear", new CheckBox("Use [Q]"));
            JungleMenu.Add("JungleMana", new Slider("Min Mana For [Q] JungleClear", 30));
            JungleMenu.Add("WJungleClear", new CheckBox("Use [W]"));
            JungleMenu.Add("JungleManaW", new Slider("Min Mana For [W] JungleClear", 50));
            JungleMenu.Add("JungleAA", new CheckBox("Use [E]"));
            JungleMenu.Add("EJung", new Slider("Min Mana For [E] JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillStealMenu");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 100, 1, 1500));
            KillStealMenu.Add("RKb", new KeyBind("[R] Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'T'));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddLabel("Misc Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGap"));
            Misc.Add("AntiGapW", new CheckBox("Use [W] AntiGap"));
            Misc.Add("QStun", new CheckBox("Use [Q] Immoblie"));
            Misc.AddLabel("Skin Changer");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Drawings = Menu.AddSubMenu("Drawings Settings", "DrawingMenu");
            Drawings.AddGroupLabel("Drawings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawE", new CheckBox("[E] Range", false));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));
            Drawings.Add("Notifications", new CheckBox("Alerter Can Kill [R]"));

            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += ResetAttack;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapcloser;
        }
Esempio n. 16
0
        private static void Load(EventArgs args)
        {
            if (Player.ChampionName != "Ekko")
            {
                return;
            }
            Chat.Print("Ekko7 Loaded!", Color.Yellow);
            Chat.Print("Doctor7 Good Luck!", Color.GreenYellow);
            Q    = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, (int).25, 1700, 60);
            Q2   = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, (int).5f, 1200, 120);
            W    = new Spell.Skillshot(SpellSlot.W, 1600, SkillShotType.Circular, (int).5f, int.MaxValue, 350);
            E    = new Spell.Skillshot(SpellSlot.E, 352, SkillShotType.Linear);
            R    = new Spell.Skillshot(SpellSlot.R, 375, SkillShotType.Circular, (int).1f, int.MaxValue, 375);
            R1   = new Spell.Active(SpellSlot.R);
            Menu = MainMenu.AddMenu("Ekko7", "ekko");
            Menu.AddGroupLabel("EKKO7");
            Menu.AddSeparator();
            Menu.AddLabel("FEATURES ADDON");
            Menu.AddSeparator();
            Menu.AddLabel("Combo Settings");
            Menu.AddLabel("Harass Settings");
            Menu.AddLabel("LaneClear Settings");
            Menu.AddLabel("JungleClear Settings");
            Menu.AddLabel("Flee Settings");
            Menu.AddLabel("Ultimate Settings");
            Menu.AddLabel("Drawings Settings");
            Menu.AddLabel("KillSteal Settings");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("UseQCombo", new CheckBox("Spell [Q]"));
            ComboMenu.Add("UseECombo", new CheckBox("Spell [E]"));
            ComboMenu.Add("UseWCombo", new CheckBox("Spell [W]"));
            ComboMenu.Add("Whit", new Slider("Min W Enemies", 1, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("QHarass", new CheckBox("Spell [Q]"));
            HarassMenu.Add("WHarass", new CheckBox("Spell [W]", false));
            HarassMenu.Add("EHarass", new CheckBox("Spell [E]", false));
            HarassMenu.Add("HarassMana", new Slider("Min Mana For Harass", 50));
            HarassMenu.AddSeparator(18);
            HarassMenu.AddLabel("E Harass Settings");
            HarassMenu.Add("DontE", new Slider("Don't Use E >= Enemies", 3, 1, 5));
            HarassMenu.Add("EHP", new Slider("Dont Use E HP <= %", 20));

            ClearMenu = Menu.AddSubMenu("LaneClear Settings", "Clear Settings");
            ClearMenu.AddLabel("Lane Clear");
            ClearMenu.Add("QClear", new CheckBox("Spell [Q]"));
            ClearMenu.Add("ClearMana", new Slider("Min Mana For LaneClear", 60, 0, 100));

            JungleMenu = Menu.AddSubMenu("JungleClear Settings", "Jungle Settings");
            JungleMenu.AddLabel("Jungle Clear");
            JungleMenu.Add("QJungleClear", new CheckBox("Spell [Q]"));
            JungleMenu.Add("EJungleClear", new CheckBox("Spell [E]"));
            JungleMenu.Add("JungleMana", new Slider("Min Mana For JungleClear", 30, 0, 100));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.AddGroupLabel("Ultimate Settings");
            Misc.AddSeparator(18);
            Misc.AddLabel("Ultimate Settings");
            Misc.Add("UseRHit", new CheckBox("Use R Count", false));
            Misc.Add("RHit", new Slider("R Count Enemies >= {0}", 3, 2, 5));
            Misc.Add("R_Safe_Net2", new Slider("R If HP <= %", 25, 0, 100));
            Misc.Add("RKill", new CheckBox("R Killable", false));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 0, "Classic", "1", "2"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawW", new CheckBox("W Range", false));
            Drawings.Add("DrawE", new CheckBox("E Range", false));
            Drawings.Add("DrawR", new CheckBox("R Range"));

            AttackableUnit.OnDamage += AIHeroClient_OnDamage;
            Drawing.OnDraw          += Drawing_OnDraw;
            Game.OnUpdate           += Game_OnUpdate;
        }
Esempio n. 17
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ezreal"))
            {
                return;
            }
            Chat.Print("Doctor's Ezreal Loaded!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100);
            R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil   = new Item(3144, 475f);
            Thm   = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Ezreal", "Ezreal");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("comboMode", new ComboBox("Q Mode:", 0, "Fast [Q]", "[Q] After AA"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("WMode", new ComboBox("W Mode:", 0, "Fast [W]", "[W] After AA"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] AoE"));
            ComboMenu.Add("MinR", new Slider("Use [R] AoE if hit x Enemies", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Mana Harass [W]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("Key", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'T'));
            Auto.Add("AutoQ", new CheckBox("Use [Q]"));
            Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60));
            Auto.AddSeparator();
            Auto.Add("AutoW", new CheckBox("Use [W]", false));
            Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60));
            Auto.AddSeparator();
            Auto.AddGroupLabel("Auto Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LHMode", new ComboBox("LastHit Mode:", 0, "Always [Q]", "[Q] If Orb Cant Killable"));
            LaneClearMenu.Add("LhMana", new Slider("Mana Lasthit", 50));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("LCMode", new ComboBox("LaneClear Mode:", 0, "Always [Q]", "[Q] If Orb Cant Killable"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("MnJungle", new Slider("Mana JungleClear", 20));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser", false));
            Misc.AddGroupLabel("Ultimate On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] Enemies Immobile"));
            Misc.AddGroupLabel("Auto Stacks Settings");
            Misc.Add("Stack", new CheckBox("Auto Stacks In Shop"));
            Misc.Add("Stackk", new CheckBox("Auto Stacks If Enemies Around = 0", false));
            Misc.Add("Stackkm", new Slider("Min Mana Auto Stack", 80));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("RKb", new KeyBind("[R] KillSteal Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'R'));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawE", new CheckBox("[E] Range", false));
            Drawings.Add("Notifications", new CheckBox("Alerter Can Killable [R]"));
            Drawings.Add("DrawAT", new CheckBox("Draw Auto Harass"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnUpdate                += Game_OnUpdate;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
            Orbwalker.OnPostAttack       += ResetAttack;
        }
Esempio n. 18
0
        public static void SetupMenu()
        {
            SpellList.Add(SpellOption.Q); SpellList.Add(SpellOption.W); SpellList.Add(SpellOption.E); SpellList.Add(SpellOption.R);

            RyzeMenu          = MainMenu.AddMenu("Ryze", "Ryze");
            MainMenu.OnClose += Setup;

            // Combo Menu -------------------------------------------------------------------------------------------------------------------

            ComboM = RyzeMenu.AddSubMenu("Combo");  // Use in Combo
            ComboM.Add("Q", new CheckBox("Use Q"));
            ComboM.Add("W", new CheckBox("Use W"));
            ComboM.Add("E", new CheckBox("Use E"));
            ComboM.Add("R", new CheckBox("Use R"));
            ComboM.Add("Combo", new ComboBox("Combo Modus", 0, "EW", "EQ"));      // Combo Settings
            ComboM.AddSeparator();
            ComboM.Add("QPred", new Slider("QPrediction Hitchance", 80, 0, 100)); // Q Hit Chance


            // Drawings Menu ----------------------------------------------------------------------------------------------------------------
            Drawings = RyzeMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddLabel("Draw Skill Range:");
            foreach (var Item in SpellList)
            {
                Drawings.Add(Item.Slot.ToString(), new CheckBox("Draw " + Item.Slot.ToString() + " Range"));
            }
            Drawings.AddSeparator();
            Drawings.AddLabel("Mark Enemys:");
            Drawings.Add("DrawKillable", new CheckBox("Mark Killable Enemys", true));
            Drawings.Add("DrawKillable", new CheckBox("Draw Enemys Attack Range", false));

            // Main Menu -------------------------------------------------------------------------------------------------------------------
            RyzeMenu.AddLabel("Activate Script", 25);
            RyzeMenu.Add("Activate", new CheckBox("Activate Script", true));
            RyzeMenu.AddSeparator();
            RyzeMenu.AddLabel("Delay between Spells:");
            RyzeMenu.Add("DelayMin", new Slider("Minimum Delay", 20, 0, 1000));
            RyzeMenu.Add("DelayMax", new Slider("Maximum Delay", 120, 0, 1000));
            RyzeMenu.AddSeparator();
            RyzeMenu.AddLabel("Automatic Killsteal Mode", 25);
            RyzeMenu.Add("Steal", new CheckBox("Killsteal", false));
            RyzeMenu.AddLabel("Kill Steal Spells", 25);
            RyzeMenu.Add("StealQ", new CheckBox("Use Q For KS", true));
            RyzeMenu.Add("StealE", new CheckBox("Use E For KS", true));
            RyzeMenu.AddSeparator();
            RyzeMenu.AddLabel("Auto Stack Tear");
            RyzeMenu.Add("AutoStack", new KeyBind("AutoStackTear", false, KeyBind.BindTypes.PressToggle, 'Y'));

            // Clear Mode
            Clear = RyzeMenu.AddSubMenu("ClearMode", "ClearMode");
            Clear.AddLabel("Use Spells in ClearMode");
            Clear.Add("UseQ", new CheckBox("Use Q", true));
            Clear.Add("UseE", new CheckBox("Use E", true));
            Clear.Add("UseW", new CheckBox("Use W", false));
            Clear.AddSeparator();
            Clear.AddLabel("Clear Mode Minimum Mana");
            Clear.Add("Mana", new Slider("Minimum Mana", 20, 0, 100));
            // Flee Mode --------------------------------------------------------------------------------------------------------------------
            Flee = RyzeMenu.AddSubMenu("FleeMode", "FleeMode");
            Flee.AddLabel("The Flee Mode will Port you to the furthest Tower in Range.");
            Flee.AddLabel("If no Tower is in Range it will Port in Direction of your Base");
            Flee.AddSeparator();
            Flee.Add("Zhonyas", new CheckBox("Use Zhonyas"));
            Flee.Add("Seraphen", new CheckBox("Use Seraphen"));

            // Auto Shield ------------------------------------------------------------------------------------------------------------------
            AutoShield = RyzeMenu.AddSubMenu("AutoShield", "AutoShield");
            AutoShield.AddLabel("Automatic Shield if you get attacked and get low Life");
            AutoShield.Add("Active", new CheckBox("Activate AutoShield Mode", true));
            AutoShield.AddSeparator();
            AutoShield.AddLabel("Use Items:", 25);
            AutoShield.Add("Zhonyas", new CheckBox("Use Zhonyas", true));
            AutoShield.Add("Seraphen", new CheckBox("Use Seraphen", true));
            AutoShield.AddSeparator();
            AutoShield.Add("Prozent", new Slider("Use Shield at % HP", 20, 0, 100));
        }
Esempio n. 19
0
        private static void OnGalioLoad(EventArgs args)
        {
            if (Player.Instance.ChampionName == "Galio")
            {
                if (Player.Instance.ChampionName != "Galio")
                {
                    return;
                }
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Circular, 250, 500, 400);
            W = new Spell.Chargeable(SpellSlot.W, 275, 450, 0);
            E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Linear, 250, 300, 150)
            {
                AllowedCollisionCount = 1
            };
            R = new Spell.Skillshot(SpellSlot.R, 4000, SkillShotType.Circular);


            menu = MainMenu.AddMenu("Galio", "Galio");
            //
            prediction = menu.AddSubMenu("-> Prediction");
            prediction.AddLabel("--> Prediction <--");
            prediction.Add("Qhit", new Slider("HitChance --> Q", 75, 1, 100));
            prediction.Add("Ehit", new Slider("HitChance --> E", 50, 1, 100));
            prediction.AddSeparator();
            prediction.AddLabel("Change combo? Not recommended");
            prediction.Add("HitBox", new ComboBox("Combos", 0, "Q -> E -> W -> R", "W Rage -> Q -> E"));
            prediction.AddSeparator();
            prediction.AddLabel("The 2nd combo is still not working trying to solve the problem");

            //
            Combo = menu.AddSubMenu("-> Combo");
            Combo.AddLabel("--> Combo < --");
            Combo.Add("Qc", new CheckBox("Q -> Combo"));
            Combo.Add("Wc", new CheckBox("W -> Combo"));
            Combo.Add("Ec", new CheckBox("E -> Combo"));
            Combo.Add("Rc", new CheckBox("R -> Combo", false));
            Combo.AddSeparator();
            Combo.AddLabel("[R] Settings");
            Combo.Add("CorretCurso", new Slider("How would you like to use Uti?", 800, 1, 2000));
            Combo.Add("UtiEnemy", new Slider("Minimum of Enemies", 2, 1, 5));

            //
            Harass = menu.AddSubMenu("-> Harass");
            Harass.AddLabel("--> Harass < --");
            Harass.Add("Hq", new CheckBox("Q -> Harass"));
            Harass.Add("He", new CheckBox("E -> Harass", false));
            Harass.AddSeparator();
            Harass.AddLabel("Harass Mana");
            Harass.Add("Hqm", new Slider("Mana -> [Q]", 50, 1, 100));
            Harass.Add("Hem", new Slider("Mana -> [E]", 70, 1, 100));
            //
            Clear = menu.AddSubMenu("-> Clear");
            Clear.AddLabel("--> LaneClear and JungleClear < --");
            Clear.Add("Lq", new CheckBox("Q -> LaneClear"));
            Clear.Add("Jq", new CheckBox("Q -> JungleClear"));
            Clear.AddSeparator();
            Clear.AddLabel("-> Clear Mana <-");
            Clear.Add("Lqm", new Slider("Mana [Q]", 50, 1, 100));
            Clear.AddLabel("Jungle");
            Clear.Add("Jqm", new Slider("Mana [Q]", 50, 1, 100));
            //
            Automatic = menu.AddSubMenu("-> Automatic");
            Automatic.AddLabel("--> Automatic < --");
            Automatic.Add("Ruti", new CheckBox("R -> Ally"));
            Automatic.Add("Re", new CheckBox("R -> Automatic"));
            //
            Drawings = menu.AddSubMenu("-> Drawing");
            Drawings.AddLabel("--> Drawing < --");
            Drawings.Add("Dq", new CheckBox("Q -> Drawing"));
            Drawings.Add("Dw", new CheckBox("W -> Drawing"));
            Drawings.Add("De", new CheckBox("E -> Drawing"));
            Drawings.Add("Dr", new CheckBox("R -> Drawing"));

            Drawing.OnDraw += OnDrawing;
            Game.OnTick    += OnTick;
        }
Esempio n. 20
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Olaf"))
            {
                return;
            }
            Chat.Print("Doctor's Olaf Loaded!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75);
            Q.AllowedCollisionCount = int.MaxValue;
            W       = new Spell.Active(SpellSlot.W);
            E       = new Spell.Targeted(SpellSlot.E, 325);
            R       = new Spell.Active(SpellSlot.R);
            Ignite  = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil     = new Item(3144, 475f);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());
            Menu    = MainMenu.AddMenu("Olaf", "Olaf");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E]"));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("item", new CheckBox("Use [BOTRK]"));
            ComboMenu.Add("hyd", new CheckBox("Use [Hydra] Reset AA"));
            ComboMenu.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            ComboMenu.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W]", false));
            HarassMenu.Add("HarassE", new CheckBox("Use [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion", false));
            LaneClearMenu.Add("minQ", new Slider("Min Hit Minions Use [Q]", 3, 1, 6));
            LaneClearMenu.Add("ClearE", new CheckBox("Use [E]"));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false));
            LastHitMenu.Add("LhAA", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion"));
            LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit"));
            LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.Add("Ulti", new CheckBox("Use Ultimate"));
            Misc.AddGroupLabel("Use [R] On");
            Misc.Add("stun", new CheckBox("Stuns"));
            Misc.Add("rot", new CheckBox("Root"));
            Misc.Add("knockup", new CheckBox("Knock Ups"));
            Misc.Add("tunt", new CheckBox("Taunt"));
            Misc.Add("charm", new CheckBox("Charm", false));
            Misc.Add("snare", new CheckBox("Snare"));
            Misc.Add("sleep", new CheckBox("Sleep", false));
            Misc.Add("blind", new CheckBox("Blinds", false));
            Misc.Add("disarm", new CheckBox("Disarm", false));
            Misc.Add("fear", new CheckBox("Fear", false));
            Misc.Add("silence", new CheckBox("Silence", false));
            Misc.Add("frenzy", new CheckBox("Frenzy", false));
            Misc.Add("supperss", new CheckBox("Supperss", false));
            Misc.Add("slow", new CheckBox("Slows", false));
            Misc.Add("poison", new CheckBox("Poisons", false));
            Misc.Add("knockback", new CheckBox("Knock Backs", false));
            Misc.Add("nearsight", new CheckBox("NearSight", false));
            Misc.Add("poly", new CheckBox("Polymorph", false));
            Misc.AddGroupLabel("Ultimate Setting");
            Misc.Add("healulti", new Slider("Min Health Use [R]", 60));
            Misc.Add("Rulti", new Slider("Min Enemies Around Use [R]", 1, 1, 5));
            Misc.AddGroupLabel("Ultimate Delay");
            Misc.Add("delay", new Slider("Humanizer Delay", 0, 0, 1000));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal"));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.AddGroupLabel("Skin Settings");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6"));

            Drawings = Menu.AddSubMenu("Misc Settings", "Draw");
            Drawings.AddGroupLabel("Misc Setting");
            Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false));
            Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));
            Drawings.Add("Axe", new CheckBox("Axe Draw"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnUpdate                += Game_OnUpdate;
            Orbwalker.OnPostAttack       += ResetAttack;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            GameObject.OnCreate          += GameObject_OnCreate;
            GameObject.OnDelete          += GameObject_OnDelete;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
        }
Esempio n. 21
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("MasterYi"))
            {
                return;
            }
            Chat.Print("Doctor's Yi Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q         = new Spell.Targeted(SpellSlot.Q, 625);
            W         = new Spell.Active(SpellSlot.W);
            E         = new Spell.Active(SpellSlot.E);
            R         = new Spell.Active(SpellSlot.R);
            Botrk     = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil       = new Item(3144, 475f);
            Youmuu    = new Item(3142, 10);
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Yi", "Yi");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Count Enemies Around"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 1, 5));
            ComboMenu.AddGroupLabel("Use [W] Low HP");
            ComboMenu.Add("WLowHp", new CheckBox("Use [W] Low Hp"));
            ComboMenu.Add("minHealth", new Slider("Use [W] My Hp <=", 25));
            ComboMenu.AddGroupLabel("Use [Q] Dodge Spell");
            ComboMenu.Add("dodge", new CheckBox("Use [Q] Dodge"));
            ComboMenu.Add("antiGap", new CheckBox("Use [Q] Anti Gap"));
            ComboMenu.Add("delay", new Slider("Use [Q] Dodge Delay", 1, 1, 1000));

            Evade = Menu.AddSubMenu("Spell Dodge Settings", "Evade");
            Evade.AddGroupLabel("Dodge Settings");
            foreach (var enemies in EntityManager.Heroes.Enemies.Where(a => a.Team != Player.Instance.Team))
            {
                Evade.AddGroupLabel(enemies.BaseSkinName);
                {
                    foreach (var spell in enemies.Spellbook.Spells.Where(a => a.Slot == SpellSlot.Q || a.Slot == SpellSlot.W || a.Slot == SpellSlot.E || a.Slot == SpellSlot.R))
                    {
                        if (spell.Slot == SpellSlot.Q)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.W)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.E)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.R)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                    }
                }
            }

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Mana Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("Clear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("mine", new Slider("Min x Minions Killable Use Q", 3, 1, 4));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));
            LaneClearMenu.AddGroupLabel("JungleClear Settings");
            LaneClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            LaneClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            LaneClearMenu.Add("MnJungle", new Slider("Mana JungleClear", 30));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;
            Orbwalker.OnPostAttack         += ResetAttack;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;
        }
Esempio n. 22
0
        public void Load(string path)
        {
            ProjectFilePath = path;

            var doc  = XDocument.Load(ProjectFilePath);
            var xPrj = new
            {
                Version             = (string)doc.Root.Elements("FileVersion").FirstOrDefault(),
                ProjectName         = (string)doc.Root.Elements("ProjectName").FirstOrDefault(),
                DefaultExportFormat = (string)doc.Root.Elements("DefaultExportFormat").FirstOrDefault(),
                XAMLFilePath        = (string)doc.Root.Elements("XAMLFilePath").FirstOrDefault(),
                Drawings            = from d in doc.Root.Descendants("Drawing")
                                      select new
                {
                    DrawingName     = (string)d.Attributes("Name").FirstOrDefault(),
                    ExportFormat    = (string)d.Elements("ExportFormat").FirstOrDefault(),
                    DrawingSize     = (string)d.Elements("DrawingSize").FirstOrDefault(),
                    SaveDrawingSize = (string)d.Elements("SaveDrawingSize").FirstOrDefault()
                }
            };

            ProjectName = xPrj.ProjectName ?? String.Empty;
            if (xPrj.DefaultExportFormat != null)
            {
                DefaultExportFormat = (XDrawingExportFormat)Enum.Parse(typeof(XDrawingExportFormat), xPrj.DefaultExportFormat);
            }
            XAMLFilePath = xPrj.XAMLFilePath ?? String.Empty;

            foreach (var d in xPrj.Drawings)
            {
                var drawing = new XProjectDrawing();
                drawing.DrawingName = d.DrawingName ?? String.Empty;
                if (d.ExportFormat != null)
                {
                    drawing.ExportFormat = (XDrawingExportFormat)Enum.Parse(typeof(XDrawingExportFormat), d.ExportFormat);
                }
                else
                {
                    drawing.ExportFormat = DefaultExportFormat;
                }
                if (d.DrawingSize != null)
                {
                    drawing.DrawingSize = Size.Parse(d.DrawingSize);
                }
                if (d.SaveDrawingSize != null)
                {
                    drawing.SaveDrawingSize = Boolean.Parse(d.SaveDrawingSize);
                }
                Drawings.Add(drawing);
            }

            var xamlPath = XAMLFilePath;

            if (!Path.IsPathRooted(xamlPath))
            {
                xamlPath = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(ProjectFilePath), xamlPath));
            }
            if (File.Exists(xamlPath))
            {
                var xamlDoc = XDocument.Load(xamlPath);

                XNamespace nsx = "http://schemas.microsoft.com/winfx/2006/xaml";

                var xDrawings = from d in xamlDoc.Root.Elements()
                                where d.Name.LocalName == "Canvas" || d.Name.LocalName == "DrawingImage"
                                select new
                {
                    XmlCode = d,
                    Key     = d.Attribute(nsx + "Key").Value
                };

                foreach (var d in xDrawings)
                {
                    var drawing = GetDrawing(d.Key);
                    if (drawing == null)
                    {
                        drawing              = new XProjectDrawing();
                        drawing.DrawingName  = d.Key;
                        drawing.ExportFormat = d.XmlCode.Name.LocalName == "Canvas" ? XDrawingExportFormat.Canvas : XDrawingExportFormat.DrawingImage;
                        Drawings.Add(drawing);
                    }
                    drawing.XmlCode = new XElement(d.XmlCode);
                    foreach (var xe in drawing.XmlCode.DescendantsAndSelf())
                    {
                        xe.Name = xe.Name.LocalName;
                    }
                    drawing.XmlCode.RemoveAttributes();
                }
            }
        }
Esempio n. 23
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Sejuani"))
            {
                return;
            }
            Chat.Print("Doctor's Sejuani Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 650, SkillShotType.Linear, 0, 1600, 70);
            Q.AllowedCollisionCount = -1;
            W = new Spell.Active(SpellSlot.W, 350);
            E = new Spell.Active(SpellSlot.E, 1000);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1600, 110);
            R.AllowedCollisionCount = -1;
            F = new Spell.Skillshot(_Player.GetSpellSlotFromName("summonerflash"), 425, SkillShotType.Linear, 0, int.MaxValue, 60);
            F.AllowedCollisionCount = int.MaxValue;
            Thm = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Sejuani", "Sejuani");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboFQ", new KeyBind("[Q] + [Flash] Target ", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("DisQ", new Slider("Use [Q] If Enemy Distance >", 10, 0, 650));
            ComboMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("DisE", new Slider("Use [E] If Enemy Distance > ", 10, 0, 1000));
            ComboMenu.AddLabel("[E] Distance < 125 = Always [E]");
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("MinR", new Slider("Min Hit Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt", false));
            ComboMenu.Add("interQ", new CheckBox("Use [Q] Interrupt", false));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("DisQ2", new Slider("Use [Q] If Enemy Distance >", 350, 0, 650));
            HarassMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("DisE2", new Slider("Use [E] If Enemy Distance >", 350, 0, 1000));
            HarassMenu.AddLabel("[E] Distance < 125 = Always [E]");
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass", 40));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("LaneE", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 1175));
            KillStealMenu.Add("RKb", new KeyBind("[R] Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            KillStealMenu.AddGroupLabel("Recommended Distance 600");

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5", "6"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range"));
            Drawings.Add("DrawE", new CheckBox("[E] Range"));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));
            Drawings.Add("Notifications", new CheckBox("Notifications Killable [R]"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Esempio n. 24
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Malphite"))
            {
                return;
            }
            Chat.Print("Doctor's Malphite Yuklendi Ceviri TekinTR!", Color.Orange);
            Bootstrap.Init(null);
            Q   = new Spell.Targeted(SpellSlot.Q, 625);
            W   = new Spell.Active(SpellSlot.W, 250);
            E   = new Spell.Active(SpellSlot.E, 400);
            R   = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 700, 270);
            Thm = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Malphite", "Malphite");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Kombo Ayarlari", "Combo");
            ComboMenu.AddGroupLabel("Kombo Ayarlari");
            ComboMenu.Add("ComboQ", new CheckBox("Kullan [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Kullan [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Kullan [E]"));
            ComboMenu.Add("DisQ", new Slider("Kullan [Q] dusman uzakligi >", 10, 0, 650));
            ComboMenu.AddLabel("[Q] Uzaklik < 125 = Herzaman [Q]");
            ComboMenu.AddGroupLabel("Ulti Ayarlari");
            ComboMenu.Add("ComboFQ", new KeyBind("Kullan [R] Secilen hedefe", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.Add("ComboR", new CheckBox("Kullan [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Kac dusmana isabet etsin [R] Aoe", 3, 1, 5));
            ComboMenu.AddGroupLabel("Buyu kesme Ayarlari");
            ComboMenu.Add("inter", new CheckBox("Kullan [R]", false));

            HarassMenu = Menu.AddSubMenu("Durtme Ayarlari", "Harass");
            HarassMenu.AddGroupLabel("Durtme Ayarlari");
            HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q] "));
            HarassMenu.Add("HarassW", new CheckBox("Kullan [W] "));
            HarassMenu.Add("HarassE", new CheckBox("Kullan [E] "));
            HarassMenu.Add("DisQ2", new Slider("Kullan [Q] dusman uzakligi >", 350, 0, 650));
            HarassMenu.AddLabel("[Q] Uzaklik < 125 = Herzaman [Q]");
            HarassMenu.Add("ManaQ", new Slider("Durtmek icin mana", 40));

            JungleClearMenu = Menu.AddSubMenu("Orman Ayarlari", "JungleClear");
            JungleClearMenu.AddGroupLabel("Orman Ayarlari");
            JungleClearMenu.Add("QJungle", new CheckBox("Kullan [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Kullan [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Kullan [E]"));
            JungleClearMenu.Add("JungleMana", new Slider("Orman Temizlemek icin mana", 20));

            LaneClearMenu = Menu.AddSubMenu("Koridor Ayarlari", "LaneClear");
            LaneClearMenu.AddGroupLabel("Koridor Temizleme Ayarlari");
            LaneClearMenu.Add("LaneClearQ", new CheckBox("Kullan [Q] "));
            LaneClearMenu.Add("LaneClearW", new CheckBox("Kullan [W] "));
            LaneClearMenu.Add("LaneClearE", new CheckBox("Kullan [E] "));
            LaneClearMenu.Add("ManaLC", new Slider("Koridor temizlemek icin mana", 50));
            LaneClearMenu.AddGroupLabel("SonVurus Ayarlari");
            LaneClearMenu.Add("LastHitQ", new CheckBox("Kullan [Q] SonVurus"));
            LaneClearMenu.Add("ManaLH", new Slider("SonVurus icin mana", 50));

            KillStealMenu = Menu.AddSubMenu("Oldurme Ayarlari", "KillSteal");
            KillStealMenu.AddGroupLabel("Oldurme Ayarlari");
            KillStealMenu.Add("KsQ", new CheckBox("Kullan [Q] Oldururken"));
            KillStealMenu.Add("KsE", new CheckBox("Kullan [E] Oldururken"));
            KillStealMenu.Add("ign", new CheckBox("Kullan [Tutustur] Oldururken"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ulti Ayarlari");
            KillStealMenu.Add("KsR", new CheckBox("Kullan [R] Oldururken"));
            KillStealMenu.Add("minKsR", new Slider("En az uzaklik [R] ile oldurmek icin", 100, 1, 1000));
            KillStealMenu.Add("RKb", new KeyBind("[R] Yari otomatik tusu", false, KeyBind.BindTypes.HoldActive, 'Y'));
            KillStealMenu.AddGroupLabel("Onerilen uzaklik 600");

            Drawings = Menu.AddSubMenu("Cizim ayarlari", "Draw");
            Drawings.AddGroupLabel("Cizim ayarlari");
            Drawings.Add("DrawQ", new CheckBox("[Q] Menzilini Goster"));
            Drawings.Add("DrawE", new CheckBox("[E] Menzilini Goster"));
            Drawings.Add("DrawR", new CheckBox("[R] Menzilini Goster"));
            Drawings.Add("DrawRhit", new CheckBox("[R] isabet sayisini Goster"));
            Drawings.Add("Notifications", new CheckBox("[R] ile Oldurulebilir uyarisini goster"));
            Drawings.Add("Draw_Disabled", new CheckBox("Cizimleri kapat"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Esempio n. 25
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Olaf"))
            {
                return;
            }
            Chat.Print("Olaf7 Loaded!", Color.Red);
            Chat.Print("Doctor7", Color.GreenYellow);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());
            Menu    = MainMenu.AddMenu("Olaf7", "Olaf");
            Menu.AddGroupLabel("Olaf7");
            Menu.AddLabel(" Leave Feedback For Any Bugs ");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E]"));
            ComboMenu.Add("item", new CheckBox("Use [Item]"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W]", false));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]"));
            LaneClearMenu.Add("minq", new Slider("Min Minions Use [Q]", 3, 1, 6));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W]"));
            LaneClearMenu.Add("Wlc", new Slider("Health For [W] LaneClear", 80));
            LaneClearMenu.Add("ClearE", new CheckBox("Use [E]"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit"));
            LastHitMenu.Add("LastAA", new CheckBox("Only [E] If Out AA Range", false));
            LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false));
            LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60));


            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.AddGroupLabel("Ultimate Setting");
            Misc.Add("Ulti", new CheckBox("Use Ultimate"));
            Misc.AddGroupLabel("Use [R] On");
            Misc.Add("stun", new CheckBox("Stuns"));
            Misc.Add("knockup", new CheckBox("Knock Ups"));
            Misc.Add("tunt", new CheckBox("Taunt"));
            Misc.Add("charm", new CheckBox("Charm", false));
            Misc.Add("snare", new CheckBox("Snare"));
            Misc.Add("sleep", new CheckBox("Sleep", false));
            Misc.Add("blind", new CheckBox("Blinds", false));
            Misc.Add("disarm", new CheckBox("Disarm", false));
            Misc.Add("fear", new CheckBox("Fear", false));
            Misc.Add("silence", new CheckBox("Silence", false));
            Misc.Add("frenzy", new CheckBox("Frenzy", false));
            Misc.Add("supperss", new CheckBox("Supperss", false));
            Misc.Add("slow", new CheckBox("Slows", false));
            Misc.Add("poison", new CheckBox("Poisons", false));
            Misc.Add("knockback", new CheckBox("Knock Backs", false));
            Misc.Add("nearsight", new CheckBox("NearSight", false));
            Misc.Add("poly", new CheckBox("Polymorph", false));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal"));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.AddGroupLabel("Skin Settings");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5"));

            Drawings = Menu.AddSubMenu("Misc Settings", "Draw");
            Drawings.AddGroupLabel("Misc Setting");
            Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false));
            Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
Esempio n. 26
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ezreal"))
            {
                return;
            }
            Chat.Print("Ezreal7 Loaded!", Color.GreenYellow);
            Chat.Print("Please Setting Target Harass Before Playing", Color.Yellow);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100);
            R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk = new Item(ItemId.Blade_of_the_Ruined_King);
            if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Menu = MainMenu.AddMenu("Ezreal7", "Ezreal");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.Add("item", new CheckBox("Use [BOTRK]"));
            ComboMenu.Add("ComboRange", new Slider("Q-W Distance", 900, 0, 1000));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinRangeR", new Slider("Min Range Cast [R]", 1000, 0, 5000));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MaxRangeR", new Slider("Max Range Cast [R]", 3000, 0, 5000));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40));
            HarassMenu.AddSeparator();
            HarassMenu.AddLabel("Harass On");
            foreach (var enemies in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }
            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60));
            Auto.AddSeparator();
            Auto.Add("AutoW", new CheckBox("Auto [W]", false));
            Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60));
            Auto.AddSeparator();
            Auto.AddLabel("Auto Harass On");
            foreach (var enemies in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Always [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("LhAA", new CheckBox("Only [Q] LastHit If Out Range AA", false));
            LaneClearMenu.Add("AAMana", new Slider("Min Mana Lasthit [Q] If Out Range AA", 50));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always LastHit With [Q]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear With [Q]", 70));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("LastAA", new CheckBox("Only [Q] LastHit If Out Range AA"));
            LaneClearMenu.Add("ManaLA", new Slider("Min Mana LastHit [Q] If Out Range AA", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear [Q]", 30));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser"));
            Misc.AddSeparator();
            Misc.AddLabel("Ultimate On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] If Enemy Has CC"));
            Misc.Add("MinR", new Slider("Min Range Use [R]", 800, 300, 2000));
            Misc.Add("MaxR", new Slider("Max Range Use [R]", 2200, 300, 30000));
            Misc.AddSeparator();
            Misc.AddLabel("Auto Stacks Settings");
            Misc.Add("Stack", new CheckBox("Auto Stacks In Shop"));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 900, 1, 5000));
            KillStealMenu.Add("maxKsR", new Slider("Max [R] Range KillSteal", 4000, 1, 5000));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawW", new CheckBox("W Range", false));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw              += Drawing_OnDraw;
            Game.OnTick                 += Game_OnTick;
            Gapcloser.OnGapcloser       += Gapcloser_OnGapcloser;
            Obj_AI_Turret.OnBasicAttack += Obj_AI_Turret_OnBasicAttack2;
        }
Esempio n. 27
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Jax"))
            {
                return;
            }
            Q = new Spell.Targeted(SpellSlot.Q, 700);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 350);
            R = new Spell.Active(SpellSlot.R);



            Menu = MainMenu.AddMenu("HTTF Jax", "Jax");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Combo [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Combo [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Combo [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Combo [R]"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 1, 5));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("E Setting");
            ComboMenu.Add("antiGap", new CheckBox("Use [E] AntiGapcloser"));
            ComboMenu.Add("minE", new Slider("Min Enemies Auto [E]", 2, 1, 5));
            ComboMenu.AddSeparator();


            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Harass [Q]", false));
            HarassMenu.Add("HarassW", new CheckBox("Harass [W]"));
            HarassMenu.Add("HarassE", new CheckBox("Harass [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("WCQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("WCW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("WCE", new CheckBox("Lane Clear [E]", false));
            LaneClearMenu.Add("ManaWC", new Slider("Min Mana LaneClear [Q]", 60));


            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJngl", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("WJngl", new CheckBox("Spell [W]"));
            JungleClearMenu.Add("EJngl", new CheckBox("Spell [E]"));
            JungleClearMenu.Add("MnJngl", new Slider("Min Mana For JungleClear", 30));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += ResetAttack;
        }
Esempio n. 28
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Jax"))
            {
                return;
            }
            Chat.Print("Doctor's Jax Loaded!", Color.White);
            Chat.Print("Mercedes7!", Color.Red);
            Q      = new Spell.Targeted(SpellSlot.Q, 700);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Active(SpellSlot.E, 350);
            R      = new Spell.Active(SpellSlot.R);
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil    = new Item(3144, 475f);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Doctor's Jax", "Jax");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("comboMode", new ComboBox("Combo Mode:", 0, "E => Q", "Q => E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboQ", new CheckBox("Combo [Q]"));
            ComboMenu.Add("WaitE", new CheckBox("Only [Q] if [E] ready", false));
            ComboMenu.Add("ComboW", new CheckBox("Combo [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Combo [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Use [R] x Enemies Around"));
            ComboMenu.Add("MinR", new Slider("x enemies around use [R]", 2, 1, 5));

            Autos = Menu.AddSubMenu("Auto E/R Settings", "Autos");
            Autos.AddGroupLabel("Automatic Settings");
            Autos.Add("AutoE", new CheckBox("Auto [E] Enemies In Range"));
            Autos.Add("minE", new Slider("Min Enemies Auto [E]", 2, 1, 5));
            Autos.Add("AutoR", new CheckBox("Auto [R] If My HP =<"));
            Autos.Add("mauR", new Slider("My HP Auto [R]", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Harass [Q]", false));
            HarassMenu.Add("HarassW", new CheckBox("Harass [W]"));
            HarassMenu.Add("HarassE", new CheckBox("Harass [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("LCQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("LCW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("LCE", new CheckBox("Lane Clear [E]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LHQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("LHW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("ManaLH", new Slider("Min Mana LaneClear [Q]", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Spell [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Spell [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 10));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("antiGap", new CheckBox("Use [E] AntiGapcloser"));
            Misc.AddGroupLabel("Items Settings");
            Misc.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Misc.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Misc.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("[Q] KillSteal", false));
            KillStealMenu.Add("ign", new CheckBox("[Ignite] KillSteal"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += ResetAttack;
        }
Esempio n. 29
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Hecarim"))
            {
                return;
            }
            Chat.Print("Doctor's Hecarim Loaded!", Color.Orange);
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu      = MainMenu.AddMenu("Doctor's Hecarim", "Hecarim");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Aoe Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]", 40));

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear (Keep Passive Q)"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Use [R] KillSteal If Enemy Distance >", 100, 1, 1000));
            KillStealMenu.AddGroupLabel("Distance < 125 = Always ,Recommended Distance 500");

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawT", new CheckBox("Draw [E] Time"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Esempio n. 30
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Vladimir"))
            {
                return;
            }
            Chat.Print("Doctor's Vladimir Loaded!", Color.Orange);
            Chat.Print("Mercedes7", Color.Red);
            Q      = new Spell.Targeted(SpellSlot.Q, 600);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Active(SpellSlot.E, 600);
            R      = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Thn    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu      = MainMenu.AddMenu("Doctor's Vladimir", "Vladimir");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.AddLabel("Use [R] Aoe");
            ComboMenu.Add("ComboR2", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Use [R] Aoe Enemies >=", 2, 1, 5));
            ComboMenu.AddLabel("Auto [Q-W] Low HP");
            ComboMenu.Add("Wtoggle", new CheckBox("Auto [W] Low MyHp"));
            ComboMenu.Add("minHealth", new Slider("Use [W] My Hp <", 20));
            ComboMenu.Add("AutoQ", new CheckBox("Auto [Q] Low MyHp On Enemies", false));
            ComboMenu.Add("AutoQm", new CheckBox("Auto [Q] Low MyHp On Minions", false));
            ComboMenu.Add("healthQ", new Slider("Auto [Q] MyHp <", 30));
            ComboMenu.AddLabel("Use [W] Dodge Spell");
            ComboMenu.Add("dodge", new CheckBox("Use [W] Dodge"));
            ComboMenu.Add("antiGap", new CheckBox("Use [W] Anti Gap"));
            ComboMenu.Add("healthgap", new Slider("Use [W] AntiGap My Hp <", 50));

            Evade = Menu.AddSubMenu("Spell Dodge Settings", "Evade");
            Evade.AddGroupLabel("Dodge Settings");
            foreach (var enemies in EntityManager.Heroes.Enemies.Where(a => a.Team != Player.Instance.Team))
            {
                Evade.AddGroupLabel(enemies.BaseSkinName);
                {
                    foreach (var spell in enemies.Spellbook.Spells.Where(a => a.Slot == SpellSlot.Q || a.Slot == SpellSlot.W || a.Slot == SpellSlot.E || a.Slot == SpellSlot.R))
                    {
                        if (spell.Slot == SpellSlot.Q)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.W)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.E)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                        else if (spell.Slot == SpellSlot.R)
                        {
                            Evade.Add(spell.SData.Name, new CheckBox(enemies.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, false));
                        }
                    }
                }
            }

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("Autoqh", new KeyBind("Auto [Q] Harass", false, KeyBind.BindTypes.PressToggle, 'T'));

            LaneClearMenu = Menu.AddSubMenu("Clear Settings", "LaneClear");
            LaneClearMenu.AddLabel("Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("minE", new Slider("Min Hit Minions Use [E]", 3, 1, 6));
            LaneClearMenu.AddLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.AddLabel("JungleClear Settings");
            LaneClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            LaneClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Drawings = Menu.AddSubMenu("Drawings Settings", "Draw");
            Drawings.AddLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawE", new CheckBox("[E] Range"));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawAT", new CheckBox("Draw Auto Harass"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;
        }