Ejemplo n.º 1
0
        private static void OnDraw(EventArgs args)
        {
            if (!SPredictionLoad && (int)Game.Time % 2 == 0 && getSliderItem("PredictionMODE") == 2)
            {
                drawText("PRESS F5 TO LOAD SPREDICTION", Player.Position, System.Drawing.Color.Yellow, -300);
            }

            if (AIOmode == 1)
            {
                return;
            }

            if (Game.Time - DrawSpellTime < 0.5 && getCheckBoxItem("debugPred") && getSliderItem("PredictionMODE") == 1)
            {
                if (DrawSpell.Type == SkillshotType.SkillshotLine)
                {
                    OktwCommon.DrawLineRectangle(DrawSpellPos.CastPosition, Player.Position, (int)DrawSpell.Width, 1, System.Drawing.Color.DimGray);
                }
                if (DrawSpell.Type == SkillshotType.SkillshotCircle)
                {
                    Render.Circle.DrawCircle(DrawSpellPos.CastPosition, DrawSpell.Width, System.Drawing.Color.DimGray, 1);
                }

                drawText("Aiming " + DrawSpellPos.Hitchance, Player.Position.Extend(DrawSpellPos.CastPosition, 400).To3D(), System.Drawing.Color.Gray);
            }

            if (AIOmode != 1 && getCheckBoxItem("timer") && jungler != null)
            {
                if (jungler == Player)
                {
                    drawText("Jungler not detected", Player.Position, System.Drawing.Color.Yellow, 100);
                }
                else if (jungler.IsDead)
                {
                    drawText("Jungler dead " + timer, Player.Position, System.Drawing.Color.Cyan, 100);
                }
                else if (jungler.IsVisible)
                {
                    drawText("Jungler visable " + timer, Player.Position, System.Drawing.Color.GreenYellow, 100);
                }
                else
                {
                    if (timer > 0)
                    {
                        drawText("Jungler in jungle " + timer, Player.Position, System.Drawing.Color.Orange, 100);
                    }
                    else if ((int)(Game.Time * 10) % 2 == 0)
                    {
                        drawText("BE CAREFUL " + timer, Player.Position, System.Drawing.Color.OrangeRed, 100);
                    }
                    if (Game.Time - JungleTime >= 1)
                    {
                        timer      = timer - 1;
                        JungleTime = Game.Time;
                    }
                }
            }
        }
Ejemplo n.º 2
0
        private static void OnDraw(EventArgs args)
        {
            if (AIOmode == 1)
            {
                return;
            }

            if (Game.Time - DrawSpellTime < 0.5 && getCheckBoxItem("debugPred") && getSliderItem("PredictionMODE") == 1)
            {
                if (DrawSpell.Type == SkillshotType.SkillshotLine)
                {
                    OktwCommon.DrawLineRectangle(DrawSpellPos.CastPosition, Player.Position, (int)DrawSpell.Width, 1,
                                                 Color.DimGray);
                }
                if (DrawSpell.Type == SkillshotType.SkillshotCircle)
                {
                    Render.Circle.DrawCircle(DrawSpellPos.CastPosition, DrawSpell.Width, Color.DimGray, 1);
                }

                drawText("Aiming " + DrawSpellPos.Hitchance,
                         Player.Position.LSExtend(DrawSpellPos.CastPosition, 400), Color.Gray);
            }
        }