Esempio n. 1
0
        public override void Draw()
        {
            foreach (var obj in ObjectManager.Get <Obj_AI_Base>().Where(o => o.IsValidTarget() && o.RendCount() > 0 && DrawMenu.CheckBoxValue("EDMG")))
            {
                float x = obj.HPBarPosition.X;
                float y = obj.HPBarPosition.Y;
                Edmg.Color = System.Drawing.Color.White;
                if (obj is Obj_AI_Minion)
                {
                    x = obj.HPBarPosition.X + 110;
                    y = obj.HPBarPosition.Y - 20;
                }
                if (obj.EKill())
                {
                    Edmg.Color = System.Drawing.Color.Red;
                }
                Edmg.TextValue = (int)obj.EDamage(obj.RendCount()) + " / " + (int)obj.TotalShieldHealth();
                Edmg.Position  = new Vector2(x, y);
                Edmg.Draw();
            }

            foreach (var spell in SpellList.Where(s => DrawMenu.CheckBoxValue(s.Slot)))
            {
                Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, spell.Range, user);
            }
        }
Esempio n. 2
0
        public override void Draw()
        {
            if (AutoMenu.KeyBindValue("EQMOUSE") && BarrelsList.Count(b => b.Barrel.IsValidTarget(Q.Range)) < 1)
            {
                Drawing.DrawText(Game.CursorPos.WorldToScreen().X + 50, Game.CursorPos.WorldToScreen().Y, System.Drawing.Color.AliceBlue, "THERE ARE NO BARRELS NEARBY TRY TO CREATE ONE", 15);
            }

            if (DrawMenu.CheckBoxValue("Barrels"))
            {
                foreach (var A in BarrelsList)
                {
                    foreach (var B in BarrelsList.Where(b => b.Barrel.NetworkId != A.Barrel.NetworkId))
                    {
                        if (B.Barrel.Distance(A.Barrel) <= ConnectionRange)
                        {
                            Drawing.DrawLine(new Vector2(A.Barrel.ServerPosition.WorldToScreen().X, A.Barrel.ServerPosition.WorldToScreen().Y), new Vector2(B.Barrel.ServerPosition.WorldToScreen().X, B.Barrel.ServerPosition.WorldToScreen().Y), 2, System.Drawing.Color.Red);
                        }
                    }
                    if (KillableBarrel(A) != null)
                    {
                        Circle.Draw(EntityManager.Heroes.Enemies.Any(e => e.Distance(A.Barrel) <= E.Width && e.IsKillable()) ? Color.Red : Color.AliceBlue, 325, KillableBarrel(A));
                    }
                }
            }

            foreach (var spell in SpellList.Where(s => s != R && DrawMenu.CheckBoxValue(s.Slot)))
            {
                Circle.Draw(spell.IsReady() ? Color.Chartreuse : Color.OrangeRed, spell.Range, user);
            }
        }
Esempio n. 3
0
 public override void Draw()
 {
     foreach (var spell in SpellList.Where(s => DrawMenu.CheckBoxValue(s.Slot)))
     {
         if (spell == E)
         {
             Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, 525, user);
         }
         Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, spell.Range, user);
     }
 }
Esempio n. 4
0
        public override void Draw()
        {
            foreach (var spell in SpellList.Where(s => DrawMenu.CheckBoxValue(s.Slot)))
            {
                Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, spell.Range, user);
            }

            //EndPos(Game.CursorPos).DrawCircle(100, SharpDX.Color.AliceBlue);
            if (LastQPos != null && IsChargingQ)
            {
                QRectangle(LastQPos).Draw(Color.AliceBlue, 2);
            }

            /*if(IsCastingR)
             *  new Geometry.Polygon.Rectangle(user.ServerPosition, RDirection, R.Width).Draw(Color.AliceBlue, 2);*/
        }
Esempio n. 5
0
        public override void Draw()
        {
            if (DrawMenu.CheckBoxValue("LV"))
            {
                foreach (var enemy in StalkedEnemies.Where(e => Core.GameTickCount - e.LastVisibleTime > 100 && Core.GameTickCount - e.LastVisibleTime < 3750))
                {
                    Circle.Draw(SharpDX.Color.Red, 250, enemy.PredictedPosition);
                    Drawing.DrawText(enemy.PredictedPosition.WorldToScreen(), Color.Red, enemy.Target.Name() + ": LastVisiblePosition", 10);
                }
            }

            foreach (var spell in SpellList.Where(s => DrawMenu.CheckBoxValue(s.Slot)))
            {
                Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, spell.Range, user);
            }

            if (IsCastingR && LastRPosition != null)
            {
                if (AutoMenu.CheckBoxValue("Rmouse"))
                {
                    Circle.Draw(SharpDX.Color.Goldenrod, AutoMenu.SliderValue("MouseRange"), Game.CursorPos);
                }
                if (DrawMenu.CheckBoxValue("RSector"))
                {
                    JhinRSector(LastRPosition).Draw(Color.AliceBlue, 2);
                }
            }

            if (DrawMenu.CheckBoxValue("Notifications") && R.IsReady())
            {
                var i = 0f;
                foreach (var t in EntityManager.Heroes.Enemies.Where(e => e.IsKillable()))
                {
                    if (t != null && t.IsKillable(R.Range + R.Radius))
                    {
                        var totalRDamage = TotalRDamage(t);

                        if (totalRDamage >= t.TotalShieldHealth())
                        {
                            i += 0.02f;
                            Drawing.DrawText(Drawing.Width * 0.1f, Drawing.Height * (0.4f + i), Color.YellowGreen, (int)(t.TotalShieldHealth() / (totalRDamage / 4)) + " x Ult can kill: " + t.ChampionName + " have: " + (int)t.TotalShieldHealth() + "HP / TotalRDamage: " + (int)TotalRDamage(t));
                            Extentions.DrawLine(t.Position, user.Position, 6, Color.Yellow);
                        }
                    }
                }
            }
        }
Esempio n. 6
0
        public override void Draw()
        {
            if (DrawMenu.CheckBoxValue("dmg"))
            {
                foreach (var obj in EntityManager.Heroes.Enemies.Where(o => o.IsValidTarget()))
                {
                    float x = obj.HPBarPosition.X;
                    float y = obj.HPBarPosition.Y;
                    dmg.Color = Color.White;
                    if (ComboDamage(obj, true) >= obj.Health)
                    {
                        dmg.Color = Color.Red;
                    }
                    dmg.TextValue = (int)ComboDamage(obj, true) + " / " + (int)obj.Health;
                    dmg.Position  = new Vector2(x, y);
                    dmg.Draw();
                }
            }

            if (DrawMenu.CheckBoxValue("balls"))
            {
                foreach (var ball in BallsList.Where(b => b != null && E.IsInRange(b)))
                {
                    Circle.Draw(SharpDX.Color.AliceBlue, ball.BoundingRadius + 25, ball);

                    if (E.IsReady())
                    {
                        var start = ball.ServerPosition.Extend(user.ServerPosition, 100).To3D();
                        var end   = user.ServerPosition.Extend(ball.ServerPosition, Eball.Range).To3D();

                        new Geometry.Polygon.Rectangle(start, end, Eball.Width).Draw(Color.AliceBlue);
                    }
                }
            }

            foreach (var spell in SpellList.Where(s => DrawMenu.CheckBoxValue(s.Slot)))
            {
                Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, spell.Range, user);
            }
        }