コード例 #1
0
        private void OnDraw(EventArgs args)
        {
            if (Config.Item("TsAa").GetValue <StringList>().SelectedIndex == 2)
            {
                return;
            }
            if (DrawInfo.IsValidTarget() && (int)(Game.Time * 10) % 2 == 0 && Config.Item("drawFocus").GetValue <bool>())
            {
                Utility.DrawCircle(Player.Position, Player.AttackRange + Player.BoundingRadius + Config.Item("extraRang").GetValue <Slider>().Value, System.Drawing.Color.Gray, 1, 1);

                drawText("FORCE FOCUS", DrawInfo.Position, System.Drawing.Color.Orange);
            }
        }
コード例 #2
0
ファイル: OktwTs.cs プロジェクト: joyhck/OKTW-EB
        private void OnDraw(EventArgs args)
        {
            if (getSliderItem("TsAa") == 2)
            {
                return;
            }
            if (DrawInfo.IsValidTarget() && (int)(Game.Time * 10) % 2 == 0 && getCheckBoxItem("drawFocus"))
            {
                LeagueSharp.Common.Utility.DrawCircle(Player.Position, Player.AttackRange + Player.BoundingRadius + getSliderItem("extraRang"), System.Drawing.Color.Gray, 1, 1);

                drawText("FORCE FOCUS", DrawInfo.Position, System.Drawing.Color.Orange);
            }
        }