private static void Drawing_OnDraw(EventArgs args)
        {
            if (Util.MyHero.IsDead)
            {
                return;
            }
            if (Menu.CheckBox("Disable"))
            {
                return;
            }
            var target = MyTargetSelector.Target;

            if (Menu.CheckBox("Target") && target != null)
            {
                Circle.Draw(SharpDX.Color.Red, 120f, 5, target);
            }
            if (Orbwalker.DrawRange && SpellSlot.Q.IsReady())
            {
                Circle.Draw(WhiteColor,
                            Champion.HasFishBonesActive ? Champion.GetPowPowRange() : Champion.GetFishBonesRange(), Util.MyHero);
            }
            if (Menu.CheckBox("W") && SpellSlot.W.IsReady())
            {
                Circle.Draw(WhiteColor, SpellManager.W.Range, Util.MyHero);
            }
        }
示例#2
0
 public static bool IsInPowPowRange(this AttackableUnit target)
 {
     return(MyHero.IsInRange(target, Champion.GetPowPowRange(target)));
 }