Exemple #1
0
        private static void OnDraw(EventArgs args)
        {
            if (!Game.IsInGame)
            {
                return;
            }

            if (LucieHero.Living.IsDead)
            {
                return;
            }

            Drawing.DrawString(new Vector2(1920f / 2f, 1080f / 2f - 5f).ScreenToWorld(),
                               "Targeting mode: " + (KeysMenu.GetKeybind("keys.changeTargeting") ? "LowestHealth" : "NearMouse"), UnityEngine.Color.yellow);

            if (DrawingsMenu.GetBoolean("draw.healSafeRange"))
            {
                var allyTargets = EntitiesManager.LocalTeam.Where(x => !x.Living.IsDead);

                foreach (var ally in allyTargets)
                {
                    Drawing.DrawCircle(ally.MapObject.Position, HealMenu.GetSlider("heal.allySafeRange"), UnityEngine.Color.green);
                }
            }

            if (DrawingsMenu.GetBoolean("draw.rangeR.safeRange"))
            {
                var rSafeRange = ComboMenu.GetSlider("combo.useR.safeRange");

                Drawing.DrawCircle(MyPos, rSafeRange, UnityEngine.Color.magenta);
            }
        }
        /// <summary>
        /// Normal Drawings will not ovewrite any of LOL Sprites
        /// </summary>
        /// <param name="args"></param>
        private static void Drawing_OnDraw(EventArgs args)
        {
            var readyDraw = DrawingsMenu.GetCheckBoxValue("readyDraw");

            if (DrawingsMenu.GetCheckBoxValue("qDraw") && readyDraw ? Q.IsReady() : Q.IsLearned)
            {
                Circle.Draw(QColorSlide.GetSharpColor(), Q.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("wDraw") && readyDraw ? W.IsReady() : W.IsLearned)
            {
                Circle.Draw(WColorSlide.GetSharpColor(), W.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("eDraw") && readyDraw ? E.IsReady() : E.IsLearned)
            {
                Circle.Draw(EColorSlide.GetSharpColor(), E.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("rDraw") && readyDraw ? R.IsReady() : R.IsLearned)
            {
                Circle.Draw(RColorSlide.GetSharpColor(), R.Range, 1f, Player.Instance);
            }

            if (GetE != null)
            {
                var pos = new Vector3(GetE.Position.To2D(), GetE.Position.Z - 100);
                Circle.Draw(EColorSlide.GetSharpColor(), 350, pos);
            }
        }
Exemple #3
0
        static void Drawing_OnDraw(EventArgs args)
        {
            if (DrawingsMenu.GetCheckBoxValue("showkilla"))
            {
                foreach (var unit in ObjectManager.Get <AIHeroClient>().Where(h => h.IsValid && h.IsHPBarRendered && h.IsEnemy))
                {
                    var barPos = unit.HPBarPosition;
                    var damage = DamageToUnit(unit);
                    var percentHealthAfterDamage = Math.Max(0, unit.Health - damage) / unit.MaxHealth;
                    var yPos          = barPos.Y + yOffset;
                    var xPosDamage    = barPos.X + xOffset + Width * percentHealthAfterDamage;
                    var xPosCurrentHp = barPos.X + xOffset + Width * unit.Health / unit.MaxHealth;

                    if (damage > unit.Health)
                    {
                        TextKillable.Position  = new Vector2((int)barPos.X - 15, (int)barPos.Y + yOffset + 20);
                        TextKillable.TextValue = "Killable with Combo";
                        TextKillable.Color     = System.Drawing.Color.LimeGreen;
                    }
                    else
                    {
                        TextKillable.Position  = new Vector2((int)barPos.X, (int)barPos.Y + yOffset + 20);
                        TextKillable.TextValue = "Not Killable";
                        TextKillable.Color     = System.Drawing.Color.Red;
                    }

                    TextKillable.Draw();
                }
            }
        }
        protected virtual void OnDraw(EventArgs args)
        {
            if (DrawingsMenu.Item("streamingmode").GetValue <bool>())
            {
                DrawingsMenu.Item("enemycccounter").Permashow(false);
                DrawingsMenu.Item("enemycounter").Permashow(false);
                return;
            }

            DrawingsMenu.Item("enemycccounter").Permashow();
            DrawingsMenu.Item("enemycounter").Permashow();
            if (Environment.TickCount - _lastUpdate > 367)
            {
                DrawingsMenu.Item("enemycccounter").SetValue(Positioning.EnemyCC());
                DrawingsMenu.Item("enemycounter").SetValue(Player.CountEnemiesInRange(2000));
                _lastUpdate = Environment.TickCount;
            }
            if (DrawingsMenu.Item("drawenemyrangecircle").GetValue <bool>())
            {
                foreach (var polygon in Positioning.DangerZone())
                {
                    polygon.Draw(Color.Red, 2);
                }
            }
        }
Exemple #5
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (User.ChampionName != "Katarina")
            {
                return;
            }
            //main menu
            // submenu (combo)
            ComboMenu    = KatarinaMenu.AddSubMenu("Combo");
            DrawingsMenu = KatarinaMenu.AddSubMenu("Drawings");
            // Checkbox (should be like this: YourMenu.Add(String MenuID, new CheckBox(String DisplayName, Bool DefaultValue);
            ComboMenu.Add("Q", new CheckBox("use Q"));
            ComboMenu.Add("W", new CheckBox("use W"));
            ComboMenu.Add("E", new CheckBox("use E"));
            ComboMenu.Add("R", new CheckBox("use R"));
            foreach (var Spell in SpellList)
            {
                // Creats Checkboxes using Spell Slot
                DrawingsMenu.Add(Spell.Slot.ToString(), new CheckBox("Draw " + Spell.Slot));
            }
            // values for spells
            Q = new Spell.Targeted(SpellSlot.Q, 675);
            W = new Spell.Active(SpellSlot.W, 375);
            E = new Spell.Targeted(SpellSlot.E, 700);
            R = new Spell.Active(SpellSlot.R, 550);

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);
            KatarinaMenu    = MainMenu.AddMenu("Katarina", "Katarina");
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #6
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            var readyDraw = DrawingsMenu.GetCheckBoxValue("readyDraw");

            if (DrawingsMenu.GetCheckBoxValue("qDraw") && readyDraw
                ? Q.IsReady()
                : DrawingsMenu.GetCheckBoxValue("qDraw"))
            {
                Circle.Draw(QColorSlide.GetSharpColor(), Q.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("wDraw") && readyDraw
                ? W.IsReady()
                : DrawingsMenu.GetCheckBoxValue("wDraw"))
            {
                Circle.Draw(WColorSlide.GetSharpColor(), W.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("eDraw") && readyDraw
                ? E.IsReady()
                : DrawingsMenu.GetCheckBoxValue("eDraw"))
            {
                Circle.Draw(EColorSlide.GetSharpColor(), E.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("rDraw") && readyDraw
                ? R.IsReady()
                : DrawingsMenu.GetCheckBoxValue("rDraw"))
            {
                Circle.Draw(RColorSlide.GetSharpColor(), R.Range, 1f, Player.Instance);
            }
        }
Exemple #7
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 1450, SkillShotType.Linear, 0, 1000, 40)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R, 5500);

            RootMenu = MainMenu.AddMenu("Roura - Twisted Fate", "Roura - Twisted Fate");

            ComboMenu = RootMenu.AddSubMenu("Combo", "Combo");

            ComboMenu.Add("UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("UseQStun", new CheckBox("Only on stun"));
            ComboMenu.Add("Mana", new KeyBind("Blue card", false, KeyBind.BindTypes.HoldActive, 'E'));
            ComboMenu.Add("Stun", new KeyBind("Stun card", false, KeyBind.BindTypes.HoldActive, 'W'));
            ComboMenu.Add("Red", new KeyBind("Red card", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = RootMenu.AddSubMenu("Harass", "Harass");

            HarassMenu.Add("UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("UseQStun", new CheckBox("Only on stun"));

            DrawingsMenu = RootMenu.AddSubMenu("Drawings", "Drawings");

            DrawingsMenu.Add("DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw R range"));
            DrawingsMenu.Add("DrawQpred", new CheckBox("Draw Q prediction"));

            //Game.OnTick += Game_OnTick;
            Game.OnUpdate += Game_OnGameUpdate;
            //Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #8
0
        public static void Execute()
        {
            if (DrawingsMenu.GetCheckBoxValue("showkilla"))
            {
                Indicator.DamageToUnit = SpellsManager.GetTotalDamageEBDB;
            }

            if (Player.HasBuff("zedulttargetmark") && MiscMenu.GetCheckBoxValue("esafe") && R.IsReady() && E.IsReady())
            {
                R.Cast();
                var player1 = ObjectManager.Player;
                E.Cast(player1);
            }

            //////////////////// KS Q
            var targetKSQ = TargetSelector.GetTarget(SpellsManager.Q.Range, DamageType.Magical);

            if (targetKSQ == null)
            {
                return;
            }

            if (KillStealMenu.GetCheckBoxValue("qUse") && SpellsManager.Q.IsReady())
            {
                var predQ2 = SpellsManager.Q.GetPrediction(targetKSQ);
                if (predQ2.HitChance >= HitChance.High && targetKSQ.Health < Player.Instance.GetSpellDamage(targetKSQ, SpellSlot.Q))
                {
                    SpellsManager.Q.Cast(predQ2.CastPosition);
                    return;
                }
            }//////////////////// END KS Q
        }
Exemple #9
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Graves")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W  = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E  = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 2100, 100);
            R1 = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Cone, 250, 2100, 120);

            menu = MainMenu.AddMenu("Perfect Graves", "PerfectGraves");

            ComboMenu = menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("disableAA", new CheckBox("Devredışı AA"));
            ComboMenu.Add("useQCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("useECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("useRCombo", new CheckBox("Hızlı R Kombosu"));
            ComboMenu.Add("useItems", new CheckBox("Kullan İtemler"));
            ComboMenu.Add("useEreload", new CheckBox("E ile şarjör doldur"));
            ComboMenu.AddLabel("Mahvolmuş-pala ayarları");
            ComboMenu.Add("botrkHP", new Slider("Benim Canı < %", 60, 0, 100));
            ComboMenu.Add("botrkenemyHP", new Slider("Düşmanın Canı < %", 60, 0, 100));

            KSMenu = menu.AddSubMenu("KS Settings", "KSSettings");
            KSMenu.Add("useQKS", new CheckBox("KSde Q Kullan"));
            KSMenu.Add("useRKS", new CheckBox("KSde R Kullan"));

            HarassMenu = menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useItems", new CheckBox("İtemleri Kullan"));

            FarmMenu = menu.AddSubMenu("Lane/Jungle Clear Settings", "Farm");
            FarmMenu.AddLabel("Lane Temizleme");
            FarmMenu.Add("useQ", new CheckBox("Q Kullan ."));

            FarmMenu.AddLabel("Jungle Clear");
            FarmMenu.Add("Qjungle", new CheckBox("Use Q"));
            FarmMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmMenu.Add("Ejungle", new CheckBox("Use E"));
            FarmMenu.Add("EjungleMana", new Slider("Mana < %", 45, 0, 100));

            MiscMenu = menu.AddSubMenu("More Settings", "MoreSettings");
            MiscMenu.Add("gapcloserE", new CheckBox("Use E Gapcloser"));
            MiscMenu.Add("gapcloserW", new CheckBox("Use W Gapcloser"));

            DrawingsMenu = menu.AddSubMenu("Draw Settings", "Drawings");
            DrawingsMenu.Add("DrawQ", new CheckBox("Göster Q"));
            DrawingsMenu.Add("DrawW", new CheckBox("Göster W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Göster E"));
            DrawingsMenu.Add("DrawR", new CheckBox("Göster R"));
            DrawingsMenu.Add("DrawR1", new CheckBox("Göster Gelişmiş R"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #10
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Graves")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W  = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E  = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 2100, 100);
            R1 = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Cone, 250, 2100, 120);

            menu = MainMenu.AddMenu("Perfect Graves", "PerfectGraves");

            ComboMenu = menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("disableAA", new CheckBox("Disable AA"));
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.Add("useECombo", new CheckBox("Use E"));
            ComboMenu.Add("useRCombo", new CheckBox("Fast R Combo"));
            ComboMenu.Add("useItems", new CheckBox("Use Items"));
            ComboMenu.Add("useEreload", new CheckBox("Use E for Reload"));
            ComboMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings");
            ComboMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100));
            ComboMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100));

            KSMenu = menu.AddSubMenu("KS Settings", "KSSettings");
            KSMenu.Add("useQKS", new CheckBox("Use Q KS"));
            KSMenu.Add("useRKS", new CheckBox("Use R KS"));

            HarassMenu = menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useItems", new CheckBox("Use Items"));

            FarmMenu = menu.AddSubMenu("Lane/Jungle Clear Settings", "Farm");
            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("useQ", new CheckBox("Use Q//Does not Work for Now."));

            FarmMenu.AddLabel("Jungle Clear");
            FarmMenu.Add("Qjungle", new CheckBox("Use Q"));
            FarmMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmMenu.Add("Ejungle", new CheckBox("Use E"));
            FarmMenu.Add("EjungleMana", new Slider("Mana < %", 45, 0, 100));

            MiscMenu = menu.AddSubMenu("More Settings", "MoreSettings");
            MiscMenu.Add("gapcloserE", new CheckBox("Use E Gapcloser"));
            MiscMenu.Add("gapcloserW", new CheckBox("Use W Gapcloser"));

            DrawingsMenu = menu.AddSubMenu("Draw Settings", "Drawings");
            DrawingsMenu.Add("DrawQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DrawR", new CheckBox("Draw R"));
            DrawingsMenu.Add("DrawR1", new CheckBox("Draw Extended R"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #11
0
        protected override void OnDraw(EventArgs args)
        {
            base.OnDraw(args);

            if (DrawingsMenu.Item("streamingmode").GetValue <bool>())
            {
                return;
            }
            if (Player.Distance(_preV3) < 1000)
            {
                Drawing.DrawCircle(_preV3, 75, Color.Gold);
            }

            foreach (var hero in HeroManager.Enemies.Where(h => h.IsValidTarget() && h.Distance(Player) < 1400))
            {
                var WProcDMG  = (((hero.Health / Player.GetAutoAttackDamage(hero)) / 3) - 1) * W.GetDamage(hero);
                var AAsNeeded = 0;
                if (W.Instance.State != SpellState.NotLearned)
                {
                    AAsNeeded = (int)((hero.Health - WProcDMG) / Player.GetAutoAttackDamage(hero));
                }
                else
                {
                    AAsNeeded = (int)(hero.Health / Player.GetAutoAttackDamage(hero));
                }
                if (AAsNeeded <= 3)
                {
                    Drawing.DrawText(hero.HPBarPosition.X + 5, hero.HPBarPosition.Y - 30, Color.Gold,
                                     "AAs to kill: " + AAsNeeded);
                }
                else
                {
                    Drawing.DrawText(hero.HPBarPosition.X + 5, hero.HPBarPosition.Y - 30, Color.White,
                                     "AAs to kill: " + AAsNeeded);
                }
            }

            if (!ComboMenu.Item("DrawE").GetValue <bool>() || (Player.UnderTurret(true) && Orbwalker.ActiveMode != Orbwalking.OrbwalkingMode.Combo))
            {
                return;
            }
            if (!E.IsReady() || !_condemnEndPosSimplified.IsValid() || Player.CountEnemiesInRange(E.Range) == 0)
            {
                return;
            }
            if (_condemnEndPos.IsCollisionable())
            {
                Geometry.Util.DrawLineInWorld(Player.ServerPosition, _condemnEndPosSimplified, 2, Color.Gold);
                Drawing.DrawCircle(_condemnEndPos, 70, Color.Gold);
            }
            else
            {
                Geometry.Util.DrawLineInWorld(Player.ServerPosition, _condemnEndPosSimplified, 2, Color.White);
                Drawing.DrawCircle(_condemnEndPos, 70, Color.White);
            }
        }
Exemple #12
0
        private static void LoadMenu()
        {
            JinxMenu   = MainMenu.AddMenu("Sebby Jinx", "jinx");
            SpellsMenu = JinxMenu.AddSubMenu("Spells Menu", "spells");
            SpellsMenu.AddLabel("Q Settings");
            SpellsMenu.Add("autoQ", new CheckBox("Auto Q"));
            SpellsMenu.Add("Qharass", new CheckBox("Harass Q"));
            SpellsMenu.Add("farmQout", new CheckBox("Q farm out range AA"));
            SpellsMenu.Add("farmQ", new CheckBox("Farm Q"));
            SpellsMenu.Add("Mana", new Slider("LaneClear Q Mana", 80, 30));
            SpellsMenu.AddLabel("W Settings");
            SpellsMenu.Add("autoW", new CheckBox("Combo W"));
            SpellsMenu.AddLabel("Harass W");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                SpellsMenu.Add("wharass" + enemy.ChampionName, new CheckBox(enemy.BaseSkinName));
            }

            SpellsMenu.AddLabel("E Settings");
            SpellsMenu.Add("comboE", new CheckBox("Auto E in Combo BETA"));
            SpellsMenu.Add("autoE", new CheckBox("E on CC"));
            SpellsMenu.Add("AGC", new CheckBox("AntiGapcloserE"));
            SpellsMenu.Add("opsE", new CheckBox("OnProcessSpellCastE"));
            SpellsMenu.Add("tel", new CheckBox("Auto E teleport"));
            SpellsMenu.AddLabel("R Settings");
            SpellsMenu.Add("autoR", new CheckBox("Auto R"));
            SpellsMenu.Add("useR",
                           new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            SpellsMenu.Add("hitchanceR", new Slider("Hit Chance R", 0, 0, 2));
            SpellsMenu.Add("Rturret", new CheckBox("Don't R under turret"));
            SpellsMenu.AddLabel("Misc Settings");
            SpellsMenu.Add("manaDisable", new CheckBox("Disable mana manager in combo"));

            JungleStealMenu = JinxMenu.AddSubMenu("Jungle Steal", "JungleSteal");
            JungleStealMenu.AddLabel("Jungle Steal Settings");
            JungleStealMenu.Add("Rjungle", new CheckBox("R Jungle stealer"));
            JungleStealMenu.Add("Rdragon", new CheckBox("Dragon"));
            JungleStealMenu.Add("Rbaron", new CheckBox("Baron"));

            DrawingsMenu = JinxMenu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.AddSeparator();
            DrawingsMenu.Add("qRange", new CheckBox("Q range", false));
            DrawingsMenu.Add("wRange", new CheckBox("W range", false));
            DrawingsMenu.Add("eRange", new CheckBox("E range", false));
            DrawingsMenu.Add("rRange", new CheckBox("R range", false));
            DrawingsMenu.Add("noti", new CheckBox("Show notification", false));
            DrawingsMenu.Add("semi", new CheckBox("Semi-manual R target", false));
            DrawingsMenu.Add("onlyRdy", new CheckBox("Draw only ready spells"));

            PredictionMenu = JinxMenu.AddSubMenu("Prediction", "prediction");
            PredictionMenu.AddSeparator();
            PredictionMenu.Add("Wpred", new Slider("W Hitchance", 50));
            PredictionMenu.Add("Epred", new Slider("E Hitchance", 50));
            PredictionMenu.Add("Rpred", new Slider("R Hitchance", 50));
        }
Exemple #13
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            if (DrawingsMenu.Get <CheckBox>("DrawQ").CurrentValue&& Q.IsLearned)
            {
                if (Q.IsReady())
                {
                    Circle.Draw(Color.White, Q.Range, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawQ").CurrentValue&& Q.IsLearned)
            {
                if (!Q.IsReady())
                {
                    return;
                }
            }



            if (DrawingsMenu.Get <CheckBox>("DrawW").CurrentValue&& W.IsLearned)
            {
                if (W.IsReady())
                {
                    Circle.Draw(Color.Aqua, W.Range, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawW").CurrentValue&& W.IsLearned)
            {
                if (!W.IsReady())
                {
                    return;
                }
            }



            if (DrawingsMenu.Get <CheckBox>("DrawE").CurrentValue&& E.IsLearned)
            {
                if (E.IsReady())
                {
                    Circle.Draw(Color.Red, E.Range, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawE").CurrentValue&& E.IsLearned)
            {
                if (!E.IsReady())
                {
                    return;
                }
            }
        }
Exemple #14
0
        public static void AddSmiteMenu(Menu root)
        {
            root.AddGroupLabel("AutoSmite Settings");
            root.AddSeparator();


            root.Add("active", new CheckBox("Enabled"));
            root.Add("activekey", new KeyBind("Enabled (Hold Key)", true, KeyBind.BindTypes.PressToggle));
            //if (SupportedChampions.Contains(ObjectManager.Player.ChampionName))
            //    RootMenu.Add("disable", new CheckBox("Enabled Champions skill usage (" + ObjectManager.Player.ChampionName + ")", true));
            root.AddSeparator();


            MobsMenu = root.AddSubMenu("Monsters", "Monsters");
            MobsMenu.AddGroupLabel("Monster Settings");
            MobsMenu.AddSeparator();
            MobsMenu.Add("killsmite", new CheckBox("KS Enemy with Smite"));
            MobsMenu.AddSeparator();

            if (Game.MapId == GameMapId.TwistedTreeline)
            {
                MobsMenu.Add("TT_Spiderboss", new CheckBox("Vilemaw Enabled"));
                MobsMenu.Add("TT_NGolem", new CheckBox("Golem Enabled"));
                MobsMenu.Add("TT_NWolf", new CheckBox("Wolf Enabled"));
                MobsMenu.Add("TT_NWraith", new CheckBox("Wraith Enabled"));
            }
            else
            {
                MobsMenu.Add("SRU_Baron", new CheckBox("Baron Enabled"));
                MobsMenu.Add("SRU_RiftHerald", new CheckBox("RiftHerald Enabled"));
                MobsMenu.Add("SRU_Blue", new CheckBox("Blue Enabled"));
                MobsMenu.Add("SRU_Red", new CheckBox("Red Enabled"));
                MobsMenu.Add("SRU_Gromp", new CheckBox("Gromp Enabled"));
                MobsMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf Enabled"));
                MobsMenu.Add("SRU_Krug", new CheckBox("Krug Enabled"));
                MobsMenu.Add("SRU_Razorbeak", new CheckBox("Razorbeak Enabled"));
                MobsMenu.Add("Sru_Crab", new CheckBox("Crab Enabled"));
                MobsMenu.Add("SRU_Dragon_Elder", new CheckBox("Dragon Elder Enabled"));
                MobsMenu.Add("SRU_Dragon_Air", new CheckBox("Dragon Air Enabled"));
                MobsMenu.Add("SRU_Dragon_Earth", new CheckBox("Dragon Earth Enabled"));
                MobsMenu.Add("SRU_Dragon_Fire", new CheckBox("Dragon Fire Enabled"));
                MobsMenu.Add("SRU_Dragon_Water", new CheckBox("Dragon Water Enabled"));
            }

            DrawingsMenu = root.AddSubMenu("Drawing", "drawing");
            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddSeparator();
            DrawingsMenu.Add("draw", new CheckBox("Enabled"));
            DrawingsMenu.AddSeparator(10);
            DrawingsMenu.Add("smite", new CheckBox("Draw Smite Range"));
            DrawingsMenu.Add("drawTxt", new CheckBox("Draw Text"));
            DrawingsMenu.Add("killable", new CheckBox("Draw Circle on Killable Monster"));
        }
Exemple #15
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Leona"))
            {
                return;
            }
            Chat.Print("The Horizon Leona - Loaded,");
            Chat.Print("For best experience left-click target.");

            _Q = new Spell.Active(SpellSlot.Q, 175);
            _W = new Spell.Active(SpellSlot.W, 275);
            _E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Linear, 250, 2000, 70);
            _E.AllowedCollisionCount = int.MaxValue;
            _R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Circular, castDelay: 250, spellWidth: 200);
            _R.AllowedCollisionCount = int.MaxValue;
            _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            StartMenu     = MainMenu.AddMenu("The Horizon Leona", "The Horizon Leona");
            ComboMenu     = StartMenu.AddSubMenu("Combo", "Combo");
            DrawingsMenu  = StartMenu.AddSubMenu("Drawings", "Drawings");
            ActivatorMenu = StartMenu.AddSubMenu("Activator", "Activator");


            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddLabel("Tick for enable/disable spells in Combo");
            ComboMenu.Add("UseQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("UseW", new CheckBox("Use [W]"));
            ComboMenu.Add("UseE", new CheckBox("Use [E]"));
            ComboMenu.Add("UseR", new CheckBox("Use [R]"));

            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddLabel("Tick for enable/disable Draw Spell Range");
            DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range"));


            ActivatorMenu.AddGroupLabel("Activator Settings");
            ActivatorMenu.AddLabel("Use Summoner Spell");
            ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable"));
            ActivatorMenu.AddSeparator(0);
            ActivatorMenu.AddSeparator(1);



            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #16
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Circular, 550, int.MaxValue, 125)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 350, 1500, 130)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Cone, 250, 2500, 50)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Targeted(SpellSlot.R, 700);

            RootMenu = MainMenu.AddMenu("Roura - Syndra", "Roura - Syndra");

            ComboMenu = RootMenu.AddSubMenu("Combo", "Combo");

            ComboMenu.Add("UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("UseW", new CheckBox("Use W"));
            ComboMenu.Add("UseE", new CheckBox("Use E to stun"));
            ComboMenu.Add("UseR", new CheckBox("Use R to penetrate enemy anus"));

            HarassMenu = RootMenu.AddSubMenu("Harass", "Harass");

            HarassMenu.Add("UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("UseW", new CheckBox("Use W"));
            HarassMenu.Add("UseE", new CheckBox("Use E (Though it's f*****g idiotic to stun on harass)"));



            FarmingMenu = RootMenu.AddSubMenu("Farming", "farming");

            FarmingMenu.Add("Qclear", new CheckBox("Use Q to clear wave"));
            FarmingMenu.Add("Eclear", new CheckBox("Use E to clear wave"));
            FarmingMenu.Add("Qclearmana", new Slider("Q mana to clear %", 30, 0, 100));
            FarmingMenu.Add("Wclearmana", new Slider("W mana to last hit %", 30, 0, 100));


            DrawingsMenu = RootMenu.AddSubMenu("Drawings", "Drawings");

            DrawingsMenu.Add("DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw R range"));
            DrawingsMenu.Add("DrawQpred", new CheckBox("Draw Q prediction"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #17
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            if (DrawingsMenu.Get <CheckBox>("DrawW").CurrentValue&& W.IsLearned && !Shyvana.HasBuff("ShyvanaTransform"))
            {
                if (W.IsReady())
                {
                    Circle.Draw(Color.Black, W.Range, ObjectManager.Player.Position);
                }
            }


            if (DrawingsMenu.Get <CheckBox>("DrawE").CurrentValue&& E.IsLearned)
            {
                if (E.IsReady())
                {
                    Circle.Draw(Color.Red, E.Range, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawR").CurrentValue&& E.IsLearned)
            {
                if (R.IsReady())
                {
                    Circle.Draw(Color.DarkRed, R.Range, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawW").CurrentValue&& W.IsLearned && Shyvana.HasBuff("ShyvanaTransform") && R.Level == 1)
            {
                if (W.IsReady())
                {
                    Circle.Draw(Color.Black, 350, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawW").CurrentValue&& W.IsLearned && Shyvana.HasBuff("ShyvanaTransform") && R.Level == 2)
            {
                if (W.IsReady())
                {
                    Circle.Draw(Color.Black, 365, ObjectManager.Player.Position);
                }
            }

            if (DrawingsMenu.Get <CheckBox>("DrawW").CurrentValue&& W.IsLearned && Shyvana.HasBuff("ShyvanaTransform") && R.Level == 3)
            {
                if (W.IsReady())
                {
                    Circle.Draw(Color.Black, 380, ObjectManager.Player.Position);
                }
            }
        }
Exemple #18
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Brand)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, 250, 1200, 85);
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 5, int.MaxValue, 250);
            E = new Spell.Targeted(SpellSlot.E, 625);
            R = new Spell.Targeted(SpellSlot.R, 750);

            menu = MainMenu.AddMenu("DarkBrand", "DarkBrand");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("QU", new CheckBox("Use Q"));
            ComboMenu.Add("WU", new CheckBox("Use W"));
            ComboMenu.Add("EU", new CheckBox("Use E"));
            ComboMenu.Add("RU", new CheckBox("Use R"));
            ComboMenu.Add("RK", new CheckBox("Use R if Killable"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MR", new Slider("Min. Enemies in [R] Range", 1, 1, 5));

            HarassMenu = menu.AddSubMenu("Harass", "farmenu");

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HW", new CheckBox("Auto W"));
            HarassMenu.Add("HE", new CheckBox("Auto E"));
            HarassMenu.Add("HMC", new Slider("Min. Mana % for Harass", 75, 1, 100));

            KSMenu = menu.AddSubMenu("Kill Steal (KS)", "ksmenu");

            KSMenu.AddGroupLabel("Kill Steal Settings");
            KSMenu.Add("KSQ", new CheckBox("Auto Q"));
            KSMenu.Add("KSW", new CheckBox("Auto W"));
            KSMenu.Add("KSE", new CheckBox("Auto E"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");

            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DR", new CheckBox("Draw R"));

            Game.OnTick    += OrbwalkerModes;
            Drawing.OnDraw += Drawings;
        }
Exemple #19
0
 public override void OnDraw()
 {
     if (DrawingsMenu.CheckBox("Passive"))
     {
         foreach (
             var enemy in
             UnitManager.ValidEnemyHeroes.Where(
                 h => h.HealthPercent <= 50f && h.VisibleOnScreen && !h.TargetHaveBuff("zedpassivecd")))
         {
             Drawing.DrawText(enemy.ServerPosition.WorldToScreen(), System.Drawing.Color.White, "Passive Ready",
                              6);
         }
     }
     base.OnDraw();
 }
Exemple #20
0
        private static void InitializeOrDie()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 880, SkillShotType.Circular)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 750);
            R = new Spell.Targeted(SpellSlot.R, 880);

            SpellList.Add(Q);
            SpellList.Add(E);
            SpellList.Add(R);

            ApZileanMenu = MainMenu.AddMenu("ApZilean", "ApZilean");

            ComboMenu = ApZileanMenu.AddSubMenu("Combo");
            ComboMenu.Add("Q", new Label("Q used by default"));
            ComboMenu.Add("W", new Label("W used by default"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("focusby", new EloBuddy.SDK.Menu.Values.Slider("Focus by AttackDamage(0) or MagicalDamage(1)", 0, 0, 1));
            //ComboMenu.Add("R", new CheckBox("Use R"));
            //ComboMenu.Add("gunblade", new CheckBox("Use Hextech Gunblade"));

            MiscMenu = ApZileanMenu.AddSubMenu("Misc");
            MiscMenu.Add("autoUlt", new Slider("AutoUlt if n% hp (0 = off)", defaultValue: 20, minValue: 0, maxValue: 100));
            MiscMenu.Add("autoUltAllies", new CheckBox("AutoUlt Allies"));
            MiscMenu.Add("autoq", new Slider("Auto2Q (Q + W + Q) if n enemies", 3, 0, 5));
            MiscMenu.Add("antigapcloser", new CheckBox("AntiGapCloser with E"));
            MiscMenu.Add("bombtomouse", new KeyBind("DoubleBomb to mouse", false, KeyBind.BindTypes.HoldActive, 'Z'));
            MiscMenu.Add("blockr", new CheckBox("Block Flash when zilean has ult on yourself"));

            DrawingsMenu = ApZileanMenu.AddSubMenu("Drawings");
            DrawingsMenu.Add("enabled", new CheckBox("Enabled"));

            foreach (var spell in SpellList)
            {
                DrawingsMenu.Add(spell.Slot.ToString(), new CheckBox("Draw " + spell.Slot));
            }

            DrawingsMenu.Add("damage", new CheckBox("Damage indicator"));

            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Game.OnTick           += Game_OnTick;
            Drawing.OnDraw        += Drawing_OnDraw;
            Drawing.OnEndScene    += Drawing_OnEndScene;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
Exemple #21
0
 public override void OnDraw()
 {
     if (DrawingsMenu.CheckBox("Passive"))
     {
         foreach (
             var enemy in
             UnitManager.ValidEnemyHeroes.Where(
                 h => h.HealthPercent <= 50f && h.VisibleOnScreen && !h.TargetHaveBuff("zedpassivecd")))
         {
             Drawing.DrawText(enemy.ServerPosition.WorldToScreen(), Color.White,
                              "Passive".GetTranslationFromId() + " " + "Available".GetTranslationFromId().ToLower(),
                              6);
         }
     }
     base.OnDraw();
 }
Exemple #22
0
 public override void OnEndScene()
 {
     if (DrawingsMenu.CheckBox("IsDead"))
     {
         if (EnemyIsDead)
         {
             var enemyDead = UnitManager.ValidEnemyHeroes.FirstOrDefault(IsDead);
             if (enemyDead != null)
             {
                 IsDeadText.TextValue = enemyDead.ChampionName + " " + "IsDead".GetTranslationFromId().ToLower();
                 IsDeadText.Draw();
             }
         }
     }
     base.OnEndScene();
 }
Exemple #23
0
 public override void OnEndScene()
 {
     if (DrawingsMenu.CheckBox("IsDead"))
     {
         if (IsDeadObject != null)
         {
             var enemyDead = UnitManager.ValidEnemyHeroes.FirstOrDefault(IsDead);
             if (enemyDead != null)
             {
                 IsDeadText.TextValue = enemyDead.ChampionName + " is dead";
                 IsDeadText.Draw();
             }
         }
     }
     base.OnEndScene();
 }
Exemple #24
0
        private static void Loadmenu()
        {
            menu            = MainMenu.AddMenu("Swain", "Swain");
            ComboMenu       = menu.AddSubMenu("Combo", "Combomenu");
            HarrassMenu     = menu.AddSubMenu("Harrass", "Harrassmenu");
            LaneclearMenu   = menu.AddSubMenu("Laneclear", "Laneclearmenu");
            JungleclearMenu = menu.AddSubMenu("Jungleclear", "Jungleclearmenu");
            MiscMenu        = menu.AddSubMenu("Misc", "Miscmenu");
            DrawingsMenu    = menu.AddSubMenu("Drawings", "Drawingsmenu");
            ItemMenu        = menu.AddSubMenu("Items", "ItemMenu");


            ComboMenu.Add("CQ", new CheckBox("Use Q"));
            ComboMenu.Add("CW", new CheckBox("Use W"));
            ComboMenu.Add("CE", new CheckBox("Use E"));
            ComboMenu.Add("CR", new CheckBox("Use R"));
            ComboMenu.Add("StopRMana%", new Slider("Stop R when ur MP %", 1, 0, 100));
            ComboMenu.Add("ManualR", new CheckBox("Manual off R"));
            HarrassMenu.Add("HQ", new CheckBox("Use Q"));
            HarrassMenu.Add("HE", new CheckBox("Use E"));
            HarrassMenu.Add("HR", new CheckBox("Use R"));
            LaneclearMenu.Add("LQ", new CheckBox("Use Q"));
            LaneclearMenu.Add("Lw", new CheckBox("Use W"));
            LaneclearMenu.Add("LE", new CheckBox("Use E"));
            LaneclearMenu.Add("LR", new CheckBox("Use R"));
            LaneclearMenu.Add("Use laneclear if", new Slider("Use if", 0, 3, 6));
            ComboMenu.Add("ManualLR", new CheckBox("Manual off R"));
            JungleclearMenu.Add("JQ", new CheckBox("Use Q"));
            JungleclearMenu.Add("JW", new CheckBox("Use W"));
            JungleclearMenu.Add("JE", new CheckBox("Use E"));
            JungleclearMenu.Add("JR", new CheckBox("Use R"));
            MiscMenu.Add("Antigapclosers", new CheckBox("Use W Antigapclosers"));
            MiscMenu.Add("RecoverHp", new Slider("Use R when ur HP % ", 1, 0, 100));
            DrawingsMenu.Add("Draw Q", new CheckBox("Draw Q"));
            DrawingsMenu.Add("Draw W", new CheckBox("Draw W"));
            DrawingsMenu.Add("Draw E", new CheckBox("Draw E"));
            DrawingsMenu.Add("Draw R", new CheckBox("Draw R"));
            ItemMenu.Add("Use Zhonya", new CheckBox("Use Zhonya if u are dead"));
            ItemMenu.Add("use Z HP", new Slider("Use Zhonya when ur HP %", 1, 0, 100));
            ItemMenu.Add("Use Seraph", new Slider("Use Zhonya when ur HP %", 1, 0, 100));

            SkinHackMenu = menu.AddSubMenu("SkinHack", "SkinHack");
            var slid = SkinHackMenu.Add("Skin", new Slider("SkinHack", 0, 0, 3));

            Player.SetSkinId(slid.CurrentValue);
            _SkinVals.Add(ObjectManager.Player, slid);
        }
Exemple #25
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            var qtarget   = TargetSelector.GetTarget(Q.Range, DamageType.Magical);
            var readyDraw = DrawingsMenu.GetCheckBoxValue("readyDraw");

            if (DrawingsMenu.GetCheckBoxValue("qDraw") && readyDraw
                ? Q.IsReady()
                : DrawingsMenu.GetCheckBoxValue("qDraw"))
            {
                Circle.Draw(QColorSlide.GetSharpColor(), Q.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("wDraw") && readyDraw
                ? W.IsReady()
                : DrawingsMenu.GetCheckBoxValue("wDraw"))
            {
                Circle.Draw(WColorSlide.GetSharpColor(), W.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("eDraw") && readyDraw
                ? E.IsReady()
                : DrawingsMenu.GetCheckBoxValue("eDraw"))
            {
                Circle.Draw(EColorSlide.GetSharpColor(), E.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("rDraw") && readyDraw
                ? R.IsReady()
                : DrawingsMenu.GetCheckBoxValue("rDraw"))
            {
                Circle.Draw(RColorSlide.GetSharpColor(), R.Range, 1f, Player.Instance);
            }

            if (DrawingsMenu.GetCheckBoxValue("QPredictionDraw") && readyDraw
                ? Q.IsReady()
                : DrawingsMenu.GetCheckBoxValue("QPredictionDraw"))
            {
                if (qtarget != null && qtarget.IsValidTarget(Q.Range))
                {
                    var pred = Q.GetPrediction(qtarget);
                    var rect = new Geometry.Polygon.Rectangle(ObjectManager.Player.Position, pred.CastPosition, Q.Width);
                    rect.Draw((Q.GetPrediction(qtarget).HitChance >= HitChance.High && Q.IsReady()) ? Color.Blue : Color.Brown);
                    Drawing.DrawText(pred.CastPosition.WorldToScreen(), Color.Wheat, Q.GetPrediction(qtarget).HitChance.ToString(), 2);
                }
            }
        }
Exemple #26
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Circular, 300, 1000, 250);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Linear, 1800, 1500, 200);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Active(SpellSlot.E, 600);
            R = new Spell.Skillshot(SpellSlot.R, 1300, SkillShotType.Linear, 200, 1950, 40);
            R.AllowedCollisionCount = 0;

            RootMenu = MainMenu.AddMenu("Corki - The Daring bombardier", "Corki - The Daring bombardier");

            ComboMenu = RootMenu.AddSubMenu("Combo", "Combo");

            ComboMenu.Add("UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("UseW", new CheckBox("Use W offensively"));
            ComboMenu.Add("UseE", new CheckBox("Use E"));
            ComboMenu.Add("UseR", new CheckBox("Use R"));

            HarassMenu = RootMenu.AddSubMenu("Harass", "Harass");

            HarassMenu.Add("UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("UseE", new CheckBox("Use E"));
            HarassMenu.Add("UseR", new CheckBox("Use R"));



            FarmingMenu = RootMenu.AddSubMenu("Farming", "farming");

            FarmingMenu.Add("Qclear", new CheckBox("Use Q to clear wave"));
            FarmingMenu.Add("Eclear", new CheckBox("Use E to clear wave"));
            FarmingMenu.Add("Qclearmana", new Slider("Q mana to clear %", 30, 0, 100));
            FarmingMenu.Add("Eclearmana", new Slider("E mana to last hit %", 30, 0, 100));


            DrawingsMenu = RootMenu.AddSubMenu("Drawings", "Drawings");

            DrawingsMenu.Add("DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw R range"));
            DrawingsMenu.Add("DrawQpred", new CheckBox("Draw Q prediction"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #27
0
        internal static void OnLoad(EventArgs args)
        {
            Config    = new Menu(Menuname, Menuname, true);
            Orbwalker = new Orbwalking.Orbwalker(Menu.root);
            ActivatorMenu.LoadActivator();
            DamagesMenu.LoadDamagesMenu();
            EnviormentMenu.LoadEnviormentMenu();
            JungleMenu.LoadJungleMenu();
            DrawingsMenu.DrawingsMenus();
            SummonersMenu.LoadSummonersMenu();
            AutoLevelMenu.OnLoad();
            Config.Item("useautolevel").SetValue(false);
            Config.AddToMainMenu();

            // Activator
            Defensive.OnLoad();
            Offensive.OnLoad();
            Consumables.OnLoad();

            // Summoners
            Ignite.OnLoad();
            Heal.OnLoad();
            Cleanse.OnLoad();
            Barrier.OnLoad();

            //Drawings //todo DtoP
            EnemyRanges.OnLoad();
            AllyRanges.OnLoad();
            Wards.OnLoad();
            TrackerSpell.OnLoad();
            //DtoT.OnLoad();s
            //  DtoP.OnLoad();

            //Jungle (yes smite contains everything in jungle) //todo Jungle timers
            Smite.OnLoad();

            //Enviormenet //todo Ult Manager, Inhibs, Turn Around, Turrets
            AntiRengar.OnLoad();
            Auto_Level_Manager.AutoLevel.OnLoad();
            //UltManager.OnLoad();
            //Inhibitors.OnLoad();
            //TurnAround.OnLoad();
            //Turrets.OnLoad();
        }
        private static void Drawing_OnEndScene(EventArgs args)
        {
            foreach (
                var enemy in
                EntityManager.Heroes.Enemies.Where(e => e.IsValid && e.IsHPBarRendered && e.TotalShieldHealth() > 10)
                )
            {
                var damage = enemy.GetTotalDamage();
                if (DrawingsMenu.GetCheckBoxValue("damageDraw"))
                {
                    //Drawing Line Over Enemies Helth bar
                    var dmgPer = (enemy.TotalShieldHealth() - damage > 0 ? enemy.TotalShieldHealth() - damage : 0) /
                                 enemy.TotalShieldMaxHealth();
                    var currentHPPer = enemy.TotalShieldHealth() / enemy.TotalShieldMaxHealth();
                    var initPoint    = new Vector2((int)(enemy.HPBarPosition.X + XOff + dmgPer * Width),
                                                   (int)enemy.HPBarPosition.Y + YOff);
                    var endPoint = new Vector2((int)(enemy.HPBarPosition.X + XOff + currentHPPer * Width) + 1,
                                               (int)enemy.HPBarPosition.Y + YOff);

                    var colour = Color.FromArgb(180, DamageIndicatorColorSlide.GetSystemColor());
                    Line.DrawLine(colour, Thick, initPoint, endPoint);
                }

                if (DrawingsMenu.GetCheckBoxValue("statDraw"))
                {
                    //Statistics
                    var posXStat = (int)enemy.HPBarPosition[0] - 46;
                    var posYStat = (int)enemy.HPBarPosition[1] + 12;
                    var mathStat = "- " + Math.Round(damage) + " / " +
                                   Math.Round(enemy.Health - damage);
                    _Font2.DrawText(null, mathStat, posXStat, posYStat, DamageIndicatorColorSlide.GetSharpColor());
                }

                if (DrawingsMenu.GetCheckBoxValue("perDraw"))
                {
                    //Percent
                    var posXPer = (int)enemy.HPBarPosition[0] - 28;
                    var posYPer = (int)enemy.HPBarPosition[1];
                    _Font.DrawText(null, string.Concat(Math.Ceiling((int)damage / enemy.TotalShieldHealth() * 100), "%"),
                                   posXPer, posYPer, DamageIndicatorColorSlide.GetSharpColor());
                }
            }
        }
Exemple #29
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;

            RootMenu = MainMenu.AddMenu("Ezreal - The Prodigal Explorer", "Ezreal - The Prodigal Explorer");

            ComboMenu = RootMenu.AddSubMenu("Combo", "Combo");

            ComboMenu.Add("UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("UseW", new CheckBox("Use W"));
            ComboMenu.Add("UseE", new CheckBox("Use E Offensively"));
            ComboMenu.Add("UseR", new CheckBox("Use R in combo"));

            HarassMenu = RootMenu.AddSubMenu("Harass", "Harass");

            HarassMenu.Add("UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("UseW", new CheckBox("Use W"));


            FarmingMenu = RootMenu.AddSubMenu("Farming", "farming");

            FarmingMenu.Add("Qlast", new CheckBox("Use Q to last hit"));
            FarmingMenu.Add("Qclear", new CheckBox("Use Q to clear wave"));
            FarmingMenu.Add("Qclearmana", new Slider("Q mana to clear %", 30, 0, 100));
            FarmingMenu.Add("Qlastmana", new Slider("Q mana to last hit %", 30, 0, 100));


            DrawingsMenu = RootMenu.AddSubMenu("Drawings", "Drawings");

            DrawingsMenu.Add("DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("DrawWpred", new CheckBox("Draw W prediction"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemple #30
0
 public override void OnDraw()
 {
     if (UltimateMenu.CheckBox("NearMouse.Enabled") && UltimateMenu.CheckBox("NearMouse.Draw") && IsCastingR)
     {
         EloBuddy.SDK.Rendering.Circle.Draw(SharpDX.Color.Blue, UltimateMenu.Slider("NearMouse.Radius"), 1, MousePos);
     }
     if (DrawingsMenu.CheckBox("R.LastPredictedPosition") && (R.IsReady || IsCastingR))
     {
         foreach (var enemy in EntityManager.Heroes.Enemies.Where(h => !h.IsValidTarget() && !h.IsDead && h.Health > 0 && LastPredictedPosition.ContainsKey(h.NetworkId)))
         {
             var tuple = LastPredictedPosition[enemy.NetworkId];
             if (tuple.Item1.IsOnScreen() && tuple.Item2)
             {
                 LastPredictedPositionText[enemy.NetworkId].Position = tuple.Item1.WorldToScreen() + new Vector2(-LastPredictedPositionText[enemy.NetworkId].Bounding.Width / 2f, 50f);
                 LastPredictedPositionText[enemy.NetworkId].Draw();
                 EloBuddy.SDK.Rendering.Circle.Draw(SharpDX.Color.Red, 120, 1, tuple.Item1);
             }
         }
     }
     base.OnDraw();
 }