示例#1
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }
            //foreach (var item in ObjectManager.Get<Obj_AI_Base>().Where(x => x.HasBuff("RyzeE")))
            //{
            //    Render.Circle.DrawCircle(item.Position, 75, Color.Aqua);
            //}
            //var tar = ObjectManager.Get<Obj_AI_Base>().Where(x => Helper.HasEBuff(x)).MaxOrDefault(x => x.Distance(Player.Position));
            //if (tar != null)
            //{
            //    foreach (var item in Helper.GetchainedTarget(tar))
            //    {
            //        Render.Circle.DrawCircle(item.Position, 75, Color.Red);
            //    }

            //}
            if (DrawQ)
            {
                Render.Circle.DrawCircle(Player.Position, _q.Range, Color.Aqua);
            }
            if (DrawW)
            {
                Render.Circle.DrawCircle(Player.Position, _w.Range, Color.Purple);
            }
            if (DrawE)
            {
                Render.Circle.DrawCircle(Player.Position, _e.Range, Color.Yellow);
            }
            if (DrawR)
            {
                Render.Circle.DrawCircle(Player.Position, Helper.RRAnge(), Color.Aqua);
            }
            if (DrawRMini)
            {
                LeagueSharp.Common.Utility.DrawCircle(Player.Position, Helper.RRAnge(), Color.Aqua, 1, 23, true);
            }
            if (_menu.Item("DrawMode").GetValue <bool>())
            {
                var x = Drawing.WorldToScreen(Player.Position);
                Drawing.DrawText(x[0], x[1], Color.White, mode);
            }
        }
示例#2
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }
            //foreach (var item in ObjectManager.Get<Obj_AI_Base>().Where(x => x.HasBuff("RyzeE")))
            //{
            //    Render.Circle.DrawCircle(item.Position, 75, Color.Aqua);
            //}
            if (DrawQ)
            {
                Render.Circle.DrawCircle(Player.Position, _q.Range, Color.Aqua);
            }
            if (DrawW)
            {
                Render.Circle.DrawCircle(Player.Position, _w.Range, Color.Purple);
            }
            if (DrawE)
            {
                Render.Circle.DrawCircle(Player.Position, _e.Range, Color.Yellow);
            }
            if (DrawR)
            {
                Render.Circle.DrawCircle(Player.Position, Helper.RRAnge(), Color.Aqua);
            }
            if (DrawRMini)
            {
                LeagueSharp.Common.Utility.DrawCircle(Player.Position, Helper.RRAnge(), Color.Aqua, 1, 23, true);
            }

            var x = Drawing.WorldToScreen(Player.Position);

            if (drawMenu["DrawMode"].Cast <CheckBox>().CurrentValue)
            {
                if (comboMenu["ComboMode"].Cast <ComboBox>().CurrentValue == 0)
                {
                    Drawing.DrawText(x[0] - 45, x[1] + 20, Color.PaleTurquoise, "Burst");
                }
                else if (comboMenu["ComboMode"].Cast <ComboBox>().CurrentValue == 1)
                {
                    Drawing.DrawText(x[0] - 45, x[1] + 20, Color.PaleTurquoise, "AoE/Shield");
                }
            }
        }