Exemplo n.º 1
0
        private static void DrawingCirCle(EventArgs args)
        {
            try
            {
                if (Me.IsDead)
                {
                    return;
                }

                if (!DrawEnable)
                {
                    return;
                }

                if (DrawQRange)
                {
                    if (Q.IsReady())
                    {
                        Render.Circle.DrawCircle(Me.Position, Q.Range, DrawQColor);
                    }
                }

                if (DrawWRange)
                {
                    if (W.IsReady())
                    {
                        Render.Circle.DrawCircle(Me.Position, W.Range, DrawWColor);
                    }
                }

                if (DrawERange)
                {
                    if (E.IsReady())
                    {
                        Render.Circle.DrawCircle(Me.Position, E.Range, DrawEColor);
                    }
                }

                if (DrawRRange)
                {
                    if (R.IsReady())
                    {
                        Render.Circle.DrawCircle(Me.Position, R.Range, DrawRColor);
                    }
                }

                if (DrawComboDamage)
                {
                    foreach (var e in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = e;
                        HpBarDraw.DrawDmg(GetComboDamage(e), new SharpDX.ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }
        }
Exemplo n.º 2
0
        private void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !Shop.IsOpen && !MenuGUI.IsChatOpen)
            {
                if (Menu.Item("DrawQ", true).GetValue <bool>() && Q.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, Q.Range, Color.Green, 1);
                }

                if (Menu.Item("DrawE", true).GetValue <bool>() && E.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, E.Range, Color.FromArgb(188, 6, 248), 1);
                }

                if (Menu.Item("DrawR", true).GetValue <bool>() && R.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, R.Range, Color.FromArgb(19, 130, 234), 1);
                }

                if (Menu.Item("DrawDamage", true).GetValue <StringList>().SelectedIndex != 2)
                {
                    foreach (
                        var x in HeroManager.Enemies.Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg(
                            Menu.Item("DrawDamage", true).GetValue <StringList>().SelectedIndex == 1
                                ? (float)ComboDamage(x)
                                : (float)GetRealEDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 3
0
        private void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !MenuGUI.IsShopOpen && !MenuGUI.IsChatOpen && !MenuGUI.IsScoreboardOpen)
            {
                if (Menu.Item("DrawW", true).GetValue <bool>() && W.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, W.Range, Color.FromArgb(9, 253, 242), 1);
                }

                if (Menu.Item("DrawE", true).GetValue <bool>() && E.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, E.Range, Color.FromArgb(188, 6, 248), 1);
                }

                if (Menu.Item("DrawDamage", true).GetValue <bool>())
                {
                    foreach (
                        var x in HeroManager.Enemies.Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg((float)ComboDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 4
0
        private static void OnDraw(EventArgs Args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (W.IsReady() && Menu["Twitch_Draw"]["DrawW"])
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.AliceBlue);
            }

            if (E.IsReady() && Menu["Twitch_Draw"]["DrawE"])
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.AliceBlue);
            }

            if (R.IsReady() && Menu["Twitch_Draw"]["DrawR"])
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.AliceBlue);
            }

            if (Menu["Twitch_Draw"]["Damage"])
            {
                foreach (var target in GameObjects.EnemyHeroes.Where(x => x.IsValidTarget() && !x.IsDead && !x.IsZombie))
                {
                    if (target != null)
                    {
                        HpBarDraw.Unit = target;

                        HpBarDraw.DrawDmg((float)GetDamage(target), new SharpDX.ColorBGRA(255, 200, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 5
0
 private static void OnDraw(EventArgs args)
 {
     try
     {
         if (Menu["Draw"]["Q"].GetValue <MenuBool>() && Q.Level >= 1)
         {
             Render.Circle.DrawCircle(Player.Position, Q.Range + Player.BoundingRadius, Q.IsReady() ? System.Drawing.Color.Cyan : System.Drawing.Color.DarkRed);
         }
         if (Menu["Draw"]["R"].GetValue <MenuBool>() && R.Level >= 1)
         {
             Render.Circle.DrawCircle(Player.Position, R.Range + Player.BoundingRadius, R.IsReady() ? System.Drawing.Color.AliceBlue : System.Drawing.Color.Beige);
         }
         if (Menu["Draw"]["DrawDamge"])
         {
             foreach (var t in GameObjects.EnemyHeroes.Where(x => x.IsValidTarget() && !x.IsDead && !x.IsZombie))
             {
                 if (t != null)
                 {
                     HpBarDraw.Unit = t;
                     HpBarDraw.DrawDmg((float)GetDamage(t), new ColorBGRA(255, 200, 0, 170));
                 }
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Error In OnDraw" + ex);
     }
 }
Exemplo n.º 6
0
        private static void OnDraw(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Menu["Draw"]["Q"].GetValue <MenuBool>() && Q.IsReady())
            {
                Render.Circle.DrawCircle(Player.Position, Q.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Draw"]["W"].GetValue <MenuBool>() && W.IsReady())
            {
                Render.Circle.DrawCircle(Player.Position, W.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Draw"]["E"].GetValue <MenuBool>() && E.IsReady())
            {
                Render.Circle.DrawCircle(Player.Position, E.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Draw"]["DrawDamage"].GetValue <MenuBool>())
            {
                foreach (var e in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg(GetDamage(e), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 7
0
        private static void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !MenuGUI.IsShopOpen && !MenuGUI.IsChatOpen && !MenuGUI.IsScoreboardOpen)
            {
                if (Menu.Item("DrawQ", true).GetValue <bool>() && Q.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, Q.Range, Color.Green, 1);
                }

                if (Menu.Item("DrawW", true).GetValue <bool>() && W.Level > 0)
                {
                    Render.Circle.DrawCircle(Me.Position, W.Range, Color.FromArgb(9, 253, 242), 1);
                }

                if (Menu.Item("DrawE", true).GetValue <bool>() && E.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, E.Range, Color.FromArgb(188, 6, 248), 1);
                }

                if (Menu.Item("DrawR", true).GetValue <bool>() && R.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, R.Range, Color.FromArgb(19, 130, 234), 1);
                }

                if (Menu.Item("DrawDamage", true).GetValue <bool>())
                {
                    foreach (
                        var x in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg((float)ComboDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 8
0
        private static void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !Shop.IsOpen && !MenuGUI.IsChatOpen)
            {
                if (Menu.Item("DrawQ", true).GetValue <bool>() && Q1.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, Q.Range + Me.BoundingRadius, Color.FromArgb(188, 6, 248), 2);
                }

                if (Menu.Item("DrawQMax", true).GetValue <bool>() && Q1.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, Q1.Range, Color.FromArgb(154, 249, 39), 2);
                }

                if (Menu.Item("DrawW", true).GetValue <bool>() && W.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, W.Range, Color.FromArgb(9, 253, 242), 2);
                }

                if (Menu.Item("DrawDamage", true).GetValue <bool>())
                {
                    foreach (
                        var x in HeroManager.Enemies.Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg((float)ComboDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 9
0
        private static void OnDraw(EventArgs Args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Darius_Draw"]["Q"])
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Darius_Draw"]["E"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.Blue);
            }

            if (Menu["Darius_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.White);
            }

            if (Menu["Darius_Draw"]["RD"])
            {
                foreach (var e in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg(GetRDamage(e), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 10
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Ryze_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.AliceBlue, 2);
            }

            if (Menu["Ryze_Draw"]["W"] && (W.IsReady() || Me.HasBuff("IllaoiW")))
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.LightSeaGreen, 2);
            }

            if (Menu["Ryze_Draw"]["E"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.LightYellow, 2);
            }

            if (Menu["Ryze_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.OrangeRed, 2);
            }

            if (Menu["Ryze_Draw"]["RMin"] && R.IsReady())
            {
                DrawEndScene(R.Range);
            }

            if (Menu["Ryze_Draw"]["Combo"])
            {
                var text = "";
                var x    = Drawing.WorldToScreen(Me.Position).X;
                var y    = Drawing.WorldToScreen(Me.Position).Y;

                if (CanShield)
                {
                    text = "On";
                }
                else if (!CanShield)
                {
                    text = "Off";
                }

                Drawing.DrawText(x - 60, y + 40, System.Drawing.Color.Red, "Combo Shield : ");
                Drawing.DrawText(x + 50, y + 40, System.Drawing.Color.Yellow, text);
            }

            if (Menu["Ryze_Draw"]["DrawDamage"])
            {
                foreach (var target in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = target;
                    HpBarDraw.DrawDmg((float)GetDamage(target), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 11
0
        internal static void Init(EventArgs Args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu.Item("DrawingQ", true).GetValue <bool>() && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, Color.BlueViolet);
            }

            if (Menu.Item("DrawingW", true).GetValue <bool>() && W.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, Color.BlueViolet);
            }

            if (Menu.Item("DrawingR", true).GetValue <bool>() && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, 450f, Color.BlueViolet);
            }

            if (Menu.Item("DrawingDamage", true).GetValue <bool>())
            {
                foreach (
                    var e in
                    ObjectManager.Get <Obj_AI_Hero>()
                    .Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg((float)(ComboDamage(e) + SpellManager.GetPassiveDamage(e)),
                                      new ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 12
0
        private static void OnDraw(EventArgs Args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Morgana_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Morgana_Draw"]["W"] && W.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Morgana_Draw"]["E"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Morgana_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Morgana_Draw"]["FlashR"])
            {
                Render.Circle.DrawCircle(Me.Position, R.Range + 425f, System.Drawing.Color.BlueViolet);
            }

            if (Menu["Morgana_Draw"]["DrawBurst"])
            {
                var text = "";

                if (Menu["Morgana_Combo"]["FlashR"].GetValue <MenuKeyBind>().Active)
                {
                    text = "On";
                }
                if (!Menu["Morgana_Combo"]["FlashR"].GetValue <MenuKeyBind>().Active)
                {
                    text = "Off";
                }

                Drawing.DrawText(Me.HPBarPosition.X + 30, Me.HPBarPosition.Y - 40, System.Drawing.Color.Red, "Flash R (" + Menu["Morgana_Combo"]["FlashR"].GetValue <MenuKeyBind>().Key + "): ");
                Drawing.DrawText(Me.HPBarPosition.X + 115, Me.HPBarPosition.Y - 40, System.Drawing.Color.Yellow, text);
            }

            if (Menu["Morgana_Draw"]["DrawDamage"])
            {
                foreach (var e in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg((float)GetDamage(e), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 13
0
        private static void OnDraw(EventArgs Args)
        {
            var DrawQ      = Menu["TwistedFate_DrawMenu"]["DrawQ"];
            var DrawW      = Menu["TwistedFate_DrawMenu"]["DrawW"];
            var DrawR      = Menu["TwistedFate_DrawMenu"]["DrawR"];
            var DrawAF     = Menu["TwistedFate_DrawMenu"]["DrawAF"];
            var DrawDamage = Menu["TwistedFate_DrawMenu"]["DrawComboDamage"];

            if (Q.IsReady() && DrawQ)
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.AliceBlue);
            }

            if (DrawW)
            {
                System.Drawing.Color FlowersStyle = System.Drawing.Color.LightGreen;

                if (GameObjects.Player.HasBuff("GoldCardPreAttack") || Card.Select == Cards.Yellow)
                {
                    FlowersStyle = System.Drawing.Color.Gold;
                }
                else if (GameObjects.Player.HasBuff("BlueCardPreAttack") || Card.Select == Cards.Blue)
                {
                    FlowersStyle = System.Drawing.Color.Blue;
                }
                else if (GameObjects.Player.HasBuff("RedCardPreAttack") || Card.Select == Cards.Red)
                {
                    FlowersStyle = System.Drawing.Color.Red;
                }
                else
                {
                    FlowersStyle = System.Drawing.Color.Teal;
                }

                Render.Circle.DrawCircle(Me.Position, 590, FlowersStyle, 1);
            }

            if (Flash.IsReady() && DrawAF)
            {
                Render.Circle.DrawCircle(Me.Position, 590 + 475, System.Drawing.Color.Gold, 1);
            }

            if (R.IsReady() && DrawR)
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.White, 1);
            }

            if (DrawDamage)
            {
                foreach (var e in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg((float)GetDamage(e), new ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 14
0
 private static void OnEndScene(EventArgs args)
 {
     foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(x => x.IsValidTarget() && x.IsEnemy))
     {
         if (Menu["Draw"]["RDind"].GetValue <MenuBool>() && R.Level >= 1)
         {
             HpBarDraw.Unit = enemy;
             HpBarDraw.DrawDmg(R.GetDamage(enemy) * 3, new ColorBGRA(0, 100, 200, 150));
         }
     }
 }
Exemplo n.º 15
0
        private static void OnEndScene(EventArgs args)
        {
            if (!Menu["Draw"]["DrawDamage"].GetValue <MenuBool>())
            {
                return;
            }

            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget(1500) && !e.IsDead && e.IsVisible))
            {
                HpBarDraw.Unit = enemy;
                HpBarDraw.DrawDmg(GetDamage(enemy), SharpDX.Color.CadetBlue);
            }
        }
Exemplo n.º 16
0
        private static void Drawing_OnEndScene(EventArgs args)
        {
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500)))
            {
                if (!MenuConfig.Dind)
                {
                    continue;
                }

                Indicator.Unit = enemy;
                Indicator.DrawDmg(Dmg.ComboDmg(enemy), Color.LawnGreen);
            }
        }
Exemplo n.º 17
0
        private static void OnEndScene(EventArgs args)
        {
            if (!Menu["Draw"]["Damage"])
            {
                return;
            }

            foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsZombie))
            {
                HpBarDraw.Unit = enemy;
                HpBarDraw.DrawDmg((float)GetDamage(enemy), Color.Cyan);
            }
        }
Exemplo n.º 18
0
        private static void OnDraw(EventArgs Args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Draw"]["Q"].GetValue <MenuBool>() && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.AliceBlue, 2);
            }

            if (Menu["Draw"]["E"].GetValue <MenuBool>() && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.LightYellow, 2);
            }

            if (Menu["Draw"]["R"].GetValue <MenuBool>() && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.OrangeRed, 2);
            }

            if (Menu["Draw"]["DrawDamage"].GetValue <MenuBool>())
            {
                foreach (var target in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = target;
                    HpBarDraw.DrawDmg((float)GetDamage(target), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }

            if (Menu["Draw"]["DrawR"])
            {
                var text = "";

                if (Menu["Combo"]["RTower"].GetValue <MenuKeyBind>().Active)
                {
                    text = "On";
                }
                else
                {
                    text = "Off";
                }

                Drawing.DrawText(Me.HPBarPosition.X + 30, Me.HPBarPosition.Y - 40, System.Drawing.Color.Red, "R Turret(" + Menu["Combo"]["RTower"].GetValue <MenuKeyBind>().Key + "): ");
                Drawing.DrawText(Me.HPBarPosition.X + 115, Me.HPBarPosition.Y - 40, System.Drawing.Color.Yellow, text);
            }
        }
Exemplo n.º 19
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Vladimir_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.AliceBlue, 2);
            }

            if (Menu["Vladimir_Draw"]["E"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.LightSeaGreen, 2);
            }

            if (Menu["Vladimir_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.OrangeRed, 2);
            }

            if (Menu["Vladimir_Draw"]["DrawDamage"])
            {
                foreach (var target in GameObjects.EnemyHeroes.Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = target;
                    HpBarDraw.DrawDmg((float)GetDamage(target), new ColorBGRA(255, 204, 0, 170));
                }
            }

            if (Menu["Vladimir_Draw"]["Auto"])
            {
                var text = "";

                if (Menu["Harass"]["Auto"].GetValue <MenuKeyBind>().Active)
                {
                    text = "On";
                }
                else
                {
                    text = "Off";
                }

                Drawing.DrawText(Me.HPBarPosition.X + 30, Me.HPBarPosition.Y - 40, System.Drawing.Color.Red, "Auto Q (" + Menu["Harass"]["Auto"].GetValue <MenuKeyBind>().Key + "): ");
                Drawing.DrawText(Me.HPBarPosition.X + 115, Me.HPBarPosition.Y - 40, System.Drawing.Color.Yellow, text);
            }
        }
Exemplo n.º 20
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Blitzcrank_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.AliceBlue);
            }

            if (Menu["Blitzcrank_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.AliceBlue);
            }

            if (Menu["Blitzcrank_Draw"]["Auto"])
            {
                var text = "";

                if (Menu["Key"].GetValue <MenuKeyBind>().Active)
                {
                    text = "On";
                }
                if (!Menu["Key"].GetValue <MenuKeyBind>().Active)
                {
                    text = "Off";
                }

                Drawing.DrawText(Me.HPBarPosition.X + 30, Me.HPBarPosition.Y - 40, System.Drawing.Color.Red, "Auto Q (" + Menu["Key"].GetValue <MenuKeyBind>().Key + "): ");
                Drawing.DrawText(Me.HPBarPosition.X + 115, Me.HPBarPosition.Y - 40, System.Drawing.Color.Yellow, text);
            }

            if (Menu["Blitzcrank_Draw"]["Damage"])
            {
                foreach (var target in GameObjects.EnemyHeroes.Where(x => x.IsValidTarget() && !x.IsDead && !x.IsZombie))
                {
                    if (target != null)
                    {
                        HpBarDraw.Unit = target;

                        HpBarDraw.DrawDmg((float)GetDamage(target), new SharpDX.ColorBGRA(255, 200, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 21
0
        private static void OnDraw(EventArgs args)
        {
            if (Menu["Viktor_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.SkyBlue);
            }

            if (Menu["Viktor_Draw"]["W"] && W.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.YellowGreen);
            }

            if (Menu["Viktor_Draw"]["E"])
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.PaleGoldenrod);
            }

            if (Menu["Viktor_Draw"]["EMax"])
            {
                Render.Circle.DrawCircle(Me.Position, E2.Range, System.Drawing.Color.Red);
            }

            if (Menu["Viktor_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.LightSkyBlue);
            }

            if (Menu["Viktor_Draw"]["DrawTarget"] && (InCombo || InHarass))
            {
                if (Target != null)
                {
                    Render.Circle.DrawCircle(Target.Position, Target.BoundingRadius, System.Drawing.Color.Red, 2);
                }
            }

            if (Menu["Viktor_Draw"]["DrawDamage"])
            {
                foreach (var e in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg((float)GetDamage(e), new ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 22
0
        private static void OnEndScene(EventArgs args)
        {
            foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(x => x.IsValidTarget() && x.IsEnemy))
            {
                if (Menu["Draw"]["RDind"].GetValue <MenuBool>() && R.Level >= 1)
                {
                    HpBarDraw.Unit = enemy;
                    HpBarDraw.DrawDmg(R.GetDamage(enemy) * 3, Color.Cyan);
                }
            }

            if (!Player.IsDead && !MenuGUI.IsShopOpen && !MenuGUI.IsChatOpen && !MenuGUI.IsScoreboardOpen)
            {
                if (Menu["Draw"]["DrawRMin"] && R.IsReady())
                {
                    Render.Circle.DrawCircle(Player.Position, R.Range, System.Drawing.Color.FromArgb(14, 194, 255), 1);
                }
            }
        }
Exemplo n.º 23
0
        private void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !MenuGUI.IsShopOpen && !MenuGUI.IsChatOpen && !MenuGUI.IsScoreboardOpen)
            {
                if (Menu.Item("DrawQ", true).GetValue <bool>() && Q.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, Q.Range, Color.Green, 1);
                }

                if (Menu.Item("DrawDamage", true).GetValue <bool>())
                {
                    foreach (
                        var x in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg((float)ComboDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 24
0
        private static void OnDraw(EventArgs args)
        {
            if (Menu["Draw"]["Q"])
            {
                if (Q.IsReady())
                {
                    Render.Circle.DrawCircle(Player.Position, Q.Range, System.Drawing.Color.Cyan);
                }
                else
                {
                    Render.Circle.DrawCircle(Player.Position, Q.Range, System.Drawing.Color.Cyan);
                }
            }

            if (Menu["Draw"]["R"])
            {
                if (R.IsReady())
                {
                    Render.Circle.DrawCircle(Player.Position, R.Range + Player.BoundingRadius, System.Drawing.Color.Yellow);
                }
                else
                {
                    Render.Circle.DrawCircle(Player.Position, R.Range + Player.BoundingRadius, System.Drawing.Color.Yellow);
                }
            }

            if (Menu["Draw"]["DrawDamge"])
            {
                foreach (var t in GameObjects.EnemyHeroes.Where(x => x.IsValidTarget() && !x.IsDead && !x.IsZombie))
                {
                    if (t != null)
                    {
                        HpBarDraw.Unit = t;
                        HpBarDraw.DrawDmg((float)GetDamage(t), new ColorBGRA(255, 200, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 25
0
        private void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !MenuGUI.IsShopOpen && !MenuGUI.IsChatOpen && !MenuGUI.IsScoreboardOpen)
            {
                if (Menu.Item("DrawCatchAxe", true).GetValue <Circle>().Active)
                {
                    Render.Circle.DrawCircle(Game.CursorPos, Menu.Item("CatchRange", true).GetValue <Slider>().Value,
                                             Menu.Item("DrawCatchAxe", true).GetValue <Circle>().Color,
                                             Menu.Item("DrawThinkness", true).GetValue <Slider>().Value);
                }

                if (Menu.Item("DrawAxe", true).GetValue <Circle>().Active)
                {
                    foreach (var Axe in AxeList.Where(x => !x.Axe.IsDead && x.Axe.IsValid))
                    {
                        Render.Circle.DrawCircle(Axe.Axe.Position, 120,
                                                 Menu.Item("DrawAxe", true).GetValue <Circle>().Color,
                                                 Menu.Item("DrawThinkness", true).GetValue <Slider>().Value);
                    }
                }

                if (Menu.Item("DrawE", true).GetValue <bool>() && E.IsReady())
                {
                    Render.Circle.DrawCircle(Me.Position, E.Range, Color.FromArgb(188, 6, 248), 1);
                }

                if (Menu.Item("DrawDamage", true).GetValue <bool>())
                {
                    foreach (
                        var x in HeroManager.Enemies.Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg((float)ComboDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }
            }
        }
Exemplo n.º 26
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Illaoi_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.AliceBlue, 2);
            }

            if (Menu["Illaoi_Draw"]["W"] && (W.IsReady() || Me.HasBuff("IllaoiW")))
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.LightSeaGreen, 2);
            }

            if (Menu["Illaoi_Draw"]["E"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.LightYellow, 2);
            }

            if (Menu["Illaoi_Draw"]["R"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.OrangeRed, 2);
            }

            if (Menu["Illaoi_Draw"]["DrawDamage"])
            {
                foreach (var target in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = target;
                    HpBarDraw.DrawDmg((float)GetDamage(target), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 27
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu.Item("nightmoon.draw.q", true).GetValue <Circle>().Active&& Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, Menu.Item("nightmoon.draw.q", true).GetValue <Circle>().Color);
            }

            if (Menu.Item("nightmoon.draw.w", true).GetValue <Circle>().Active&& W.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, Menu.Item("nightmoon.draw.w", true).GetValue <Circle>().Color);
            }

            if (Menu.Item("nightmoon.draw.e", true).GetValue <Circle>().Active&& E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, Menu.Item("nightmoon.draw.e", true).GetValue <Circle>().Color);
            }

            if (Menu.Item("nightmoon.draw.r", true).GetValue <Circle>().Active&& R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, Menu.Item("nightmoon.draw.r", true).GetValue <Circle>().Color);
            }

            if (Menu.Item("nightmoon.draw.damage", true).GetValue <bool>())
            {
                foreach (var e in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg(GetComboDamage(e), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 28
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu["Graves_Draw"]["Q"] && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.Red);
            }

            if (Menu["Graves_Draw"]["W"] && W.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.Orange);
            }

            if (Menu["Graves_Draw"]["E"] && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.LightSeaGreen);
            }

            if (Menu["Graves_Draw"]["R"] && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, System.Drawing.Color.YellowGreen);
            }

            if (Menu["Draw"]["DrawDamage"])
            {
                foreach (var e in ObjectManager.Get <AIHeroClient>().Where(e => e.IsValidTarget() && e.IsValid && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg((float)GetDamage(e), new SharpDX.ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 29
0
        private static void OnDraw(EventArgs args)
        {
            if (Me.IsDead)
            {
                return;
            }

            if (Menu.GetDraw("DrawQ") && Q.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, Q.Range, Menu.GetColor("DrawQ"));
            }

            if (Menu.GetDraw("DrawW") && HavePassive)
            {
                Render.Circle.DrawCircle(Me.Position, IsWActive ? 675f : 420f, Menu.GetColor("DrawW"));
            }

            if (Menu.GetDraw("DrawE") && E.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, E.Range, Menu.GetColor("DrawE"));
            }

            if (Menu.GetDraw("DrawR") && R.IsReady())
            {
                Render.Circle.DrawCircle(Me.Position, R.Range, Menu.GetColor("DrawR"));
            }

            if (Menu.Item("DrawDamage", true).GetValue <bool>())
            {
                foreach (var e in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                {
                    HpBarDraw.Unit = e;
                    HpBarDraw.DrawDmg(GetComboDamage(e), new ColorBGRA(255, 204, 0, 170));
                }
            }
        }
Exemplo n.º 30
0
        private static void OnDraw(EventArgs Args)
        {
            if (!Me.IsDead && !MenuGUI.IsShopOpen && !MenuGUI.IsChatOpen && !MenuGUI.IsScoreboardOpen)
            {
                if (Menu.Item("DrawQ", true).GetValue <bool>() && Q.Level > 0)
                {
                    Render.Circle.DrawCircle(Me.Position, Q.Range, System.Drawing.Color.FromArgb(253, 164, 17), 1);
                }

                if (Menu.Item("DrawW", true).GetValue <bool>() && W.Level > 0)
                {
                    Render.Circle.DrawCircle(Me.Position, W.Range, System.Drawing.Color.FromArgb(9, 253, 242), 1);
                }

                if (Menu.Item("DrawE", true).GetValue <bool>() && E.Level > 0)
                {
                    Render.Circle.DrawCircle(Me.Position, E.Range, System.Drawing.Color.FromArgb(143, 16, 146), 1);
                }

                if (Menu.Item("DrawDamage", true).GetValue <bool>())
                {
                    foreach (
                        var x in ObjectManager.Get <Obj_AI_Hero>().Where(e => e.IsValidTarget() && !e.IsDead && !e.IsZombie))
                    {
                        HpBarDraw.Unit = x;
                        HpBarDraw.DrawDmg(ComboDamage(x), new ColorBGRA(255, 204, 0, 170));
                    }
                }

                if (Menu.Item("DrawKillSteal", true).GetValue <bool>())
                {
                    Drawing.DrawText(Drawing.Width - 150, Drawing.Height - 500, System.Drawing.Color.Yellow, "Ult Kill Target: ");

                    var targets = new List <Obj_AI_Hero>();

                    foreach (var ult in EnemyTracker.enemyInfo)
                    {
                        if (ult.target.IsDead)
                        {
                            continue;
                        }

                        if (ult.target.IsZombie)
                        {
                            continue;
                        }

                        if (ult.target.HasBuff("KindredRNoDeathBuff"))
                        {
                            continue;
                        }

                        if (ult.target.HasBuff("UndyingRage") && ult.target.GetBuff("UndyingRage").EndTime - Game.Time > 0.3)
                        {
                            continue;
                        }

                        if (ult.target.HasBuff("JudicatorIntervention"))
                        {
                            continue;
                        }

                        if (ult.target.HasBuff("ChronoShift") && ult.target.GetBuff("ChronoShift").EndTime - Game.Time > 0.3)
                        {
                            continue;
                        }

                        if (ult.target.HasBuff("FioraW"))
                        {
                            continue;
                        }

                        if (!Menu.Item("KillStealR" + ult.target.ChampionName.ToLower(), true).GetValue <bool>())
                        {
                            continue;
                        }

                        if (ult.target.IsVisible &&
                            R.GetDamage(ult.target) >
                            ult.target.Health + ult.target.MagicalShield + ult.target.HPRegenRate * 2)
                        {
                            targets.Add(ult.target);
                        }

                        if (!ult.target.IsVisible && Utils.TickCount > ult.LastSeen + 5000 &&
                            R.GetDamage(ult.target) > EnemyTracker.GetTargetHealth(ult, R.Delay))
                        {
                            targets.Add(ult.target);
                        }

                        if (!ult.target.IsVisible && Utils.TickCount < ult.LastSeen + 5000 && targets.Contains(ult.target))
                        {
                            targets.Remove(ult.target);
                        }
                    }

                    if (targets.Count > 0)
                    {
                        for (var i = 0; i <= targets.Count; i++)
                        {
                            Drawing.DrawText(Drawing.Width - 150, Drawing.Height - 470 + i * 30, System.Drawing.Color.Red, "   " + targets.ElementAt(i).ChampionName);
                        }
                    }
                }
            }
        }