Ejemplo n.º 1
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 950f)
            {
                MinHitChance = HitChance.VeryHigh
            };
            E = new Spell(SpellSlot.E, 1200f);
            R = new Spell(SpellSlot.R, 975f);

            W.SetSkillshot(0.25f, 100f, 1410f, false, SkillshotType.SkillshotCircle);

            ComboOption.AddQ();
            ComboOption.AddSlider("ComboQCount", "Use Q| Min Enemies Count >= x", 3, 1, 5);
            ComboOption.AddSlider("ComboQRange", "Use Q| Min Search Range", 600, 0, 1800);
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboEKill", "Use E| Target Can KillSteal", false);
            ComboOption.AddBool("ComboEFull", "Use E| Target Have Full Stack", false);
            ComboOption.AddR();
            ComboOption.AddBool("ComboRKillSteal", "Use R| Target Can KS");
            ComboOption.AddSlider("ComboRCount", "Use R| Min Enemies Count >= x", 3, 1, 5);
            ComboOption.AddBool("ComboRYouMuu", "Use Youmuu| R Is Active");

            HarassOption.AddW();
            HarassOption.AddE();
            HarassOption.AddBool("HarassEStack", "Use E| Target Will Leave E Range");
            HarassOption.AddSlider("HarassEStackCount", "Use E| Target Min Stack Count >= x", 3, 1, 6);
            HarassOption.AddBool("HarassEFull", "Use E| Target Have Full Stack");
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E| Min Kill Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddW();
            KillStealOption.AddE();

            MiscOption.AddQ();
            MiscOption.AddBool("AutoQ", "Auto Q| After KS Target and Have Enemies In Range");

            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            PlayerIsKillTarget = false;

            Game.OnUpdate += OnUpdate;
            Game.OnNotify += OnNotify;
        }
Ejemplo n.º 2
0
        private static void KillSteal()
        {
            if (KillStealOption.UseE && E.IsReady())
            {
                foreach (var target in ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(E.Range) && x.Health < E.GetDamage(x)))
                {
                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(E, target);
                        return;
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    ObjectManager.Heroes.Enemies.Where(
                        x =>
                        x.IsValidTarget(R.Range) && x.DistanceToPlayer() > MiscOption.GetSlider("rMenuMin") &&
                        KillStealOption.GetKillStealTarget(x.ChampionName) && x.Health < R.GetDamage(x)))
                {
                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(R, target, true);
                        return;
                    }
                }
            }
        }
Ejemplo n.º 3
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 800f);
            Q.SetSkillshot(0.41f, 180f, float.MaxValue, false, true, SkillshotType.Circle);

            W = new Spell(SpellSlot.W, 550f);

            E = new Spell(SpellSlot.E, 550f);
            E.SetSkillshot(0.40f, 65f, 580f, false, true, SkillshotType.Line);

            R = new Spell(SpellSlot.R, 1600f);
            R.SetSkillshot(0.20f, 80f, 2150f, false, false, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboQAfterE", "Use Q| Only After E or E is CoolDown");
            ComboOption.AddW();
            ComboOption.AddBool("ComboWCancel", "Use W| Auto Cancel");
            ComboOption.AddE();
            ComboOption.AddBool("ComboRSolo", "Use R| Solo Mode");

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddSliderBool("LaneClearQCount", "Use Q| Min Hit Count >= x", 3, 1, 5, true);
            LaneClearOption.AddSliderBool("LaneClearWCount", "Use W| Min Hit Count >= x", 4, 1, 10, true);
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddR();
            KillStealOption.AddSlider("KillStealRDistance", "Use R| When target Distance Player >= x", 600, 0, 1600);
            KillStealOption.AddTargetList();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            //MiscOption.AddW(); TODO
            MiscOption.AddR();
            MiscOption.AddKey("R", "SemiR", "Semi-manual R Key(only work for select target)", Keys.T, KeyBindType.Press);

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddW(W);
            DrawOption.AddE(E);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(true, true, true, true, true);

            AIBaseClient.OnProcessSpellCast += OnProcessSpellCast;
            Game.OnTick        += OnUpdate;
            Orbwalker.OnAction += OnAction;
        }
Ejemplo n.º 4
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 1100f);
            Q.SetSkillshot(0.25f, 60f, 4000f, false, false, SkillshotType.Line);

            W = new Spell(SpellSlot.W);

            E = new Spell(SpellSlot.E);

            R = new Spell(SpellSlot.R, 1100f);
            R.SetSkillshot(1.0f, 60f, float.MaxValue, false, false, SkillshotType.Cone);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboERoot", "Use E| If Target Can imprison", false);
            ComboOption.AddBool("ComboELogic", "Use E| Logic Cast(1AA + 1Q + 1E DMG)");

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddE();
            HarassOption.AddSlider("HarassECount", "Use E|Min Passive Hit Count >= x", 3, 1, 10);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddE();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddSubMenu("Block", "Block Spell Settings");
            MyEvadeManager.Attach(MiscMenu["SharpShooter.MiscSettings.Block"] as Menu);

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(false, false, true, false, false);

            CPrediction.BoundingRadiusMultiplicator = 1.15f;

            Game.OnTick                     += OnUpdate;
            GameObject.OnCreate             += (sender, args) => OnCreate(sender);
            GameObject.OnDelete             += (sender, args) => OnDestroy(sender);
            AIBaseClient.OnProcessSpellCast += OnProcessSpellCast;
            Orbwalker.OnAction              += OnAction;
        }
Ejemplo n.º 5
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q);

            W = new Spell(SpellSlot.W, 1225f);
            W.SetSkillshot(0.25f, 60f, 2000f, true, true, SkillshotType.Cone);

            E = new Spell(SpellSlot.E, 5000f);
            E.SetSkillshot(0.25f, 300f, 1400f, false, false, SkillshotType.Line);

            R = new Spell(SpellSlot.R, 2000f);
            R.SetSkillshot(0.25f, 130f, 1550f, true, true, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboSaveMana", "Use Q |Save Mana");
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddBool("ComboRSolo", "Use R |Solo Mode");
            ComboOption.AddBool("ComboRTeam", "Use R |Team Fight");

            HarassOption.AddMenu();
            HarassOption.AddW();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddW();
            LaneClearOption.AddSlider("LaneClearWCount", "Use W |Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddW();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddR();
            MiscOption.AddKey("R", "SemiR", "Semi-manual R Key", Keys.T, KeyBindType.Press);
            MiscOption.AddBool("R", "AutoR", "Auto R| Anti Gapcloser");

            DrawOption.AddMenu();
            DrawOption.AddW(W);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(false, true, false, true, true);

            Tick.OnTick        += OnUpdate;
            Orbwalker.OnAction += OnAction;
            //Gapcloser.OnGapcloser += OnGapcloser;
        }
Ejemplo n.º 6
0
        private static void Initializer()
        {
            Q = new Aimtec.SDK.Spell(SpellSlot.Q, 1000f);
            Q.SetSkillshot(0.25f, 90f, 1550f, true, SkillshotType.Line);

            W = new Aimtec.SDK.Spell(SpellSlot.W, 2000f);

            E = new Aimtec.SDK.Spell(SpellSlot.E, 700f)
            {
                Delay = 0.25f
            };

            R = new Aimtec.SDK.Spell(SpellSlot.R, 550f);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= ", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();

            GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddE();
            MiscOption.AddBool("E", "AutoE", "Auto E| AntiGapcloser");
            MiscOption.AddR();
            MiscOption.AddBool("R", "AutoR", "Auto R");
            MiscOption.AddSetting("Forcus");
            MiscOption.AddBool("Forcus", "Forcus", "Forcus Attack Passive Target");

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddE(E);
            DrawOption.AddFarm();
            DrawOption.AddDamageIndicatorToHero(true, false, true, false, true);

            Game.OnUpdate         += OnUpdate;
            Orbwalker.PreAttack   += PreAttack;
            Orbwalker.PostAttack  += PostAttack;
            Gapcloser.OnGapcloser += OnGapcloser;
        }
Ejemplo n.º 7
0
        private static void KillSteal()
        {
            if (KillStealOption.UseQ && Q.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x => x.IsValidTarget(Q.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.Q)))
                {
                    if (target.IsValidTarget(Q.Range) && !target.IsUnKillable())
                    {
                        CastQ(target);
                    }
                }
            }

            if (KillStealOption.UseW && W.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x => x.IsValidTarget(W.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.W)))
                {
                    if (target.IsValidTarget(W.Range) && !target.IsUnKillable())
                    {
                        var wPred = W.GetPrediction(target);

                        if (wPred.Hitchance >= HitChance.High)
                        {
                            W.Cast(wPred.UnitPosition);
                        }
                    }
                }
            }


            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x => x.IsValidTarget(R.Range) &&
                        KillStealOption.GetKillStealTarget(x.CharacterName.ToLower()) &&
                        x.Health <Me.GetSpellDamage(x, SpellSlot.R) &&
                                  x.DistanceToPlayer()>
                        Me.AttackRange + Me.BoundingRadius + Me.BoundingRadius + 30))
                {
                    if (target.IsValidTarget(R.Range) && !target.IsUnKillable())
                    {
                        var rPred = R.GetPrediction(target);

                        if (rPred.Hitchance >= HitChance.High)
                        {
                            R.Cast(rPred.UnitPosition);
                        }
                    }
                }
            }
        }
Ejemplo n.º 8
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q);

            W = new Spell(SpellSlot.W, 900f);
            W.SetSkillshot(0.50f, 250f, 1400f, false, false, SkillshotType.Circle);

            E = new Spell(SpellSlot.E, 700f);

            R = new Spell(SpellSlot.R, 700f);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboQAlways", "Use Q| Always Cast it(Off = Logic Cast)", false);
            ComboOption.AddE();
            ComboOption.AddBool("ComboEOnlyAfterAA", "Use E| Only After Attack Cast it");
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRHp", "Use R| Player HealthPercent <= x%(Save mySelf)", 25, 0, 100);

            HarassOption.AddMenu();
            HarassOption.AddE(false);
            HarassOption.AddBool("HarassEToMinion", "Use E| Cast Low Hp Minion");
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddE();
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddE();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddE();
            MiscOption.AddKey("E", "SemiE", "Semi-manual E Key", Keys.T, KeyBindType.Press);
            MiscOption.AddSetting("Forcus");
            MiscOption.AddBool("Forcus", "Forcustarget", "Forcus Attack Passive Target");

            DrawOption.AddMenu();
            DrawOption.AddW(W);
            DrawOption.AddE(E);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(false, false, true, true, true);

            Game.OnUpdate += OnUpdate;
            //Gapcloser.OnGapcloser += OnGapcloser;
            Orbwalker.OnAction += OnAction;
        }
Ejemplo n.º 9
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 825f);
            W = new Spell(SpellSlot.W, 800f);
            E = new Spell(SpellSlot.E, 600f);
            R = new Spell(SpellSlot.R, 1300f);

            Q.SetSkillshot(0.3f, 200f, 1000f, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.1f, (float)(45 * Math.PI / 180), 1500f, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.2f, 40f, 2000f, true, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRLimit", "Use R| Limit Stack >= x", 0, 0, 7);

            HarassOption.AddQ();
            HarassOption.AddE();
            HarassOption.AddR();
            HarassOption.AddSlider("HarassRLimit", "Use R| Limit Stack >= x", 4, 0, 7);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddR();
            LaneClearOption.AddSlider("LaneClearRCount", "Use R| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddSlider("LaneClearRLimit", "Use Q| Limit Stack >= x", 4, 0, 7);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddR();
            JungleClearOption.AddSlider("JungleClearRLimit", "Use R| Limit Stack >= x", 0, 0, 7);
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddW();
            FleeOption.AddMove(false);

            KillStealOption.AddQ();
            KillStealOption.AddR();

            MiscOption.AddR();
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);

            DrawOption.AddQ();
            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate         += OnUpdate;
            Orbwalker.AfterAttack += AfterAttack;
        }
Ejemplo n.º 10
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 525f);
            W = new Spell(SpellSlot.W, 1500f);
            E = new Spell(SpellSlot.E, 920f);
            R = new Spell(SpellSlot.R, 3000f);

            W.SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(1.2f, 100f, 1750f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddBool("ComboRSolo", "Use R| Solo Mode");
            ComboOption.AddBool("ComboRTeam", "Use R| Team Fight");

            HarassOption.AddQ();
            HarassOption.AddW();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Counts >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddW();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            MiscOption.AddW();
            MiscOption.AddBool("AutoW", "Auto W| CC");
            MiscOption.AddE();
            MiscOption.AddBool("AutoE", "Auto E| CC");
            MiscOption.AddBool("AutoETP", "Auto E| Teleport");
            MiscOption.AddBool("GapE", "Auto E| Anti GapCloser");
            MiscOption.AddR();
            MiscOption.AddKey("rMenuSemi", "Semi R Key", SharpDX.DirectInput.Key.T);
            MiscOption.AddSlider("rMenuMin", "Use R| Min Range >= x", 1000, 500, 2500);
            MiscOption.AddSlider("rMenuMax", "Use R| Man Range <= x", 3000, 1500, 3500);

            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.BeforeAttack         += BeforeAttack;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
        }
Ejemplo n.º 11
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 900f);
            E = new Spell(SpellSlot.E, 700f);
            R = new Spell(SpellSlot.R, 700f);

            W.SetSkillshot(0.50f, 250f, 1400f, false, SkillshotType.SkillshotCircle);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboQAlways", "Use Q| Always Cast it(Off = Logic Cast)");
            ComboOption.AddE();
            ComboOption.AddBool("ComboEOnlyAfterAA", "Use E| Only After Attack Cast it");
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRHp", "Use R| Player HealthPercent <= x%(Save mySelf)", 25, 0, 100);

            HarassOption.AddE(false);
            HarassOption.AddBool("HarassEToMinion", "Use E| Cast Low Hp Minion");
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddE();
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddW();
            FleeOption.AddMove();

            KillStealOption.AddE();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            MiscOption.AddE();
            MiscOption.AddKey("SemiE", "Semi-manual E Key", SharpDX.DirectInput.Key.T);
            MiscOption.AddR();
            //MiscOption.AddBool("InterruptR", "Use R| Interrupt Spell");
            MiscOption.AddBool("AntiRengar", "Use R| Anti Rengar");
            MiscOption.AddBool("AntiKhazix", "Use R| Anti Khazix");
            MiscOption.AddSetting("Forcus");
            MiscOption.AddBool("Forcustarget", "Forcus Attack Passive Target");

            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate       += OnUpdate;
            GameObject.OnCreate += OnCreate;
            //Interrupter
            Orbwalker.BeforeAttack += BeforeAttack;
            Orbwalker.AfterAttack  += AfterAttack;
        }
Ejemplo n.º 12
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 340f);
            W = new Spell(SpellSlot.W, 800f);
            E = new Spell(SpellSlot.E, 550f);
            R = new Spell(SpellSlot.R, 550f);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboAQA", "Use Q| Reset Auto Attack");
            ComboOption.AddW();
            ComboOption.AddE();

            HarassOption.AddQ();
            HarassOption.AddW();
            HarassOption.AddE();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Counts >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddQ();
            FleeOption.AddMove();

            KillStealOption.AddQ();

            MiscOption.AddQ();
            MiscOption.AddBool("QCheck", "Use Q| Safe Check?");
            MiscOption.AddBool("QTurret", "Use Q| Dont Cast To Turret");
            MiscOption.AddBool("QMelee", "Use Q| Anti Melee");
            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto R| Save Myself?");
            MiscOption.AddSlider("AutoRHp", "Auto R| Player Health Percent <= x%", 15);
            MiscOption.AddBool("AutoSave", "Auto R| Save Ally?");
            MiscOption.AddSlider("AutoSaveHp", "Auto R| Ally Health Percent <= x%", 20);
            MiscOption.AddSetting("Forcus");
            MiscOption.AddBool("Forcus", "Forcus Attack Passive Target");
            MiscOption.AddBool("ForcusE", "Forcus Attack E Mark Target");

            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.BeforeAttack         += BeforeAttack;
            Orbwalker.AfterAttack          += AfterAttack;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
        }
Ejemplo n.º 13
0
        private static void Initializer()
        {
            Q = new Aimtec.SDK.Spell(SpellSlot.Q);

            W = new Aimtec.SDK.Spell(SpellSlot.W, 950f);
            W.SetSkillshot(0.25f, 100f, 1400f, false, SkillshotType.Circle);

            E = new Aimtec.SDK.Spell(SpellSlot.E, 1200f);

            R = new Aimtec.SDK.Spell(SpellSlot.R, 975f);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddSlider("ComboQCount", "Use Q| Enemies Count >= x", 3, 1, 5);
            ComboOption.AddSlider("ComboQRange", "Use Q| Search Enemies Range", 600, 0, 1800);
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboEKill", "Use E| When Target Can KillAble");
            ComboOption.AddBool("ComboEFull", "Use E| When Target have Full Stack", false);
            ComboOption.AddR();
            ComboOption.AddBool("ComboRKillSteal", "Use R| When Target Can KillAble");
            ComboOption.AddSlider("ComboRCount", "Use R| Enemies Count >= x", 3, 1, 5);

            HarassOption.AddMenu();
            HarassOption.AddW();
            HarassOption.AddE();
            HarassOption.AddBool("HarassEStack", "Use E| When Target will Leave E Range");
            HarassOption.AddSlider("HarassEStackCount", "Use E(Leave)| Min Stack Count >= x", 3, 1, 6);
            HarassOption.AddBool("HarassEFull", "Use E| When Target have Full Stack");
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E| Min KillAble Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddE();

            MiscOption.AddMenu();
            MiscOption.AddBasic();

            DrawOption.AddMenu();
            DrawOption.AddW(W);
            DrawOption.AddE(E);
            DrawOption.AddR(R);
            DrawOption.AddFarm();
            DrawOption.AddDamageIndicatorToHero(false, false, true, false, false);

            Game.OnUpdate        += OnUpdate;
            Orbwalker.PostAttack += PostAttack;
        }
Ejemplo n.º 14
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 1000f);
            W = new Spell(SpellSlot.W, 2000f);
            E = new Spell(SpellSlot.E, 700f);
            R = new Spell(SpellSlot.R, 550f);

            Q.SetSkillshot(0.25f, 90f, 1550f, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.25f, 2000f, 1400f, false, SkillshotType.SkillshotCircle);
            E.SetTargetted(0.25f, 2000f);

            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();

            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Counts >= ", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();

            MiscOption.AddE();
            MiscOption.AddBool("Interrupt", "Use E| Interrupt Danger Spells");
            MiscOption.AddBool("Gapcloser", "Use E| Anti Gapcloser");
            MiscOption.AddBool("AntiAlistar", "Use E| Anti Alistar");
            MiscOption.AddBool("AntiRengar", "Use E| Anti Rengar");
            MiscOption.AddBool("AntiKhazix", "Use E| Anti Khazix");
            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto R");
            MiscOption.AddSetting("Forcus");
            MiscOption.AddBool("Forcus", "Forcus Attack Passive Target");

            DrawOption.AddQ();
            DrawOption.AddE();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            GameObject.OnCreate            += OnCreate;
            Orbwalker.BeforeAttack         += BeforeAttack;
            Orbwalker.AfterAttack          += AfterAttack;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
            //Interrupter
        }
Ejemplo n.º 15
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1255f);
            E = new Spell(SpellSlot.E, 5000f);
            R = new Spell(SpellSlot.R, 2000f);

            W.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotCone);
            E.SetSkillshot(0.25f, 300f, 1400f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 130f, 1600f, true, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboSaveMana", "Save Mana to Cast Q");
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddR();

            HarassOption.AddW();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddW();
            LaneClearOption.AddSlider("LaneClearWCount", "Use W| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove();

            KillStealOption.AddW();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto Cast Ult");
            //MiscOption.AddBool("Interrupt", "Interrupt Danger Spells");
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);
            MiscOption.AddBool("AntiGapCloser", "Anti GapCloser");
            MiscOption.AddSlider("AntiGapCloserHp", "AntiGapCloser |When Player HealthPercent <= x%", 30);
            MiscOption.AddGapcloserTargetList();

            DrawOption.AddW();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate         += OnUpdate;
            Orbwalker.AfterAttack += AfterAttack;
            //Interrupt.
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
        }
Ejemplo n.º 16
0
        private static void Initializer()
        {
            Q = new Aimtec.SDK.Spell(SpellSlot.Q, 1200f);
            Q.SetSkillshot(0.25f, 90f, 1350f, false, SkillshotType.Line);

            W = new Aimtec.SDK.Spell(SpellSlot.W);

            E = new Aimtec.SDK.Spell(SpellSlot.E);

            R = new Aimtec.SDK.Spell(SpellSlot.R);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRCount", "Use R| Enemies Count >= x", 3, 1, 5);

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddQ();
            MiscOption.AddBool("Q", "AutoQ", "Auto Q| CC");
            MiscOption.AddE();
            MiscOption.AddSubMenu("Block", "Block Spell Settings");
            MyEvadeManager.Attach(MiscMenu["SharpShooter.MiscSettings.Block"].As <Menu>());
            MiscOption.AddR();
            MiscOption.AddBool("R", "AutoR", "Auto R", false);

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddFarm();
            DrawOption.AddDamageIndicatorToHero(true, false, false, false, true);

            Game.OnUpdate        += OnUpdate;
            Orbwalker.PostAttack += PostAttack;
        }
Ejemplo n.º 17
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 925f);
            W = new Spell(SpellSlot.W, 0);
            E = new Spell(SpellSlot.E, 975f);
            R = new Spell(SpellSlot.R, 1050f);

            Q.SetSkillshot(0.25f, 70f, 1650f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.35f, 120f, 1500f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.25f, 120f, 1950f, false, SkillshotType.SkillshotLine);

            Q.SetCharged("VarusQ", "VarusQ", 925, 1600, 1.5f);

            ComboOption.AddQ();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddBool("ComboRSolo", "Use R| Solo Mode");
            ComboOption.AddSlider("ComboRCount", "Use R| Min Enemies Count >= x", 3, 1, 5);
            ComboOption.AddSlider("ComboPassive", "Use Spell| Min Buff Count >= x", 3, 0, 3);

            HarassOption.AddQ();
            HarassOption.AddE(false);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();
            KillStealOption.AddE();

            MiscOption.AddR();
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);

            DrawOption.AddQ();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate          += OnUpdate;
            Orbwalker.BeforeAttack += BeforeAttack;
        }
Ejemplo n.º 18
0
        private static void KillSteal()
        {
            if (KillStealOption.UseQ && Q.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x => x.IsValidTarget(Q.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.Q) && !HaveRBuff(x)))
                {
                    if (target.IsValidTarget(Q.Range) && !HaveRBuff(target) && !target.IsUnKillable())
                    {
                        var qPred = Q.GetPrediction(target);

                        if (qPred.Hitchance >= HitChance.High)
                        {
                            Q.Cast(qPred.CastPosition);
                            return;
                        }
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady() && Variables.GameTimeTickCount - lastQTime > 3000)
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x =>
                        x.IsValidTarget(R.Range + 500) &&
                        !x.IsValidTarget(KillStealOption.GetSlider("KillStealRDistance").Value) &&
                        x.Health < GetRDamage(x, true) && KillStealOption.GetKillStealTarget(x.CharacterName)))
                {
                    if (target.IsValidTarget())
                    {
                        if (CanbeRKillAble(target))
                        {
                            R.Cast();
                            return;
                        }

                        if (!isRActive && target.IsValidTarget(R.Range))
                        {
                            var rPos = GetRCastPosition(target);

                            if (rPos != Vector3.Zero)
                            {
                                R.Cast(rPos);
                                return;
                            }
                        }
                    }
                }
            }
        }
Ejemplo n.º 19
0
        private static void KillSteal()
        {
            if (KillStealOption.UseW && W.IsReady())
            {
                foreach (var target in GameObjects.EnemyHeroes.Where(x => x.IsValidTarget(W.Range)))
                {
                    if (!target.IsValidTarget(W.Range) || !(target.Health < Me.GetSpellDamage(target, SpellSlot.W)))
                    {
                        continue;
                    }

                    if (target.InAutoAttackRange() && (Me.HasBuff("AsheQAttack") || Me.HasBuff("asheqcastready")))
                    {
                        continue;
                    }

                    if (target.IsValidTarget(R.Range) && !target.IsUnKillable())
                    {
                        var wPred = W.GetPrediction(target);

                        if (wPred.Hitchance >= HitChance.High)
                        {
                            W.Cast(wPred.CastPosition);
                        }
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x => x.IsValidTarget(2000) && KillStealOption.GetKillStealTarget(x.CharacterName)))
                {
                    if (!(target.DistanceToPlayer() > 800) || !(target.Health < Me.GetSpellDamage(target, SpellSlot.R)) ||
                        target.HasBuffOfType(BuffType.SpellShield))
                    {
                        continue;
                    }

                    if (target.IsValidTarget(R.Range) && !target.IsUnKillable())
                    {
                        var rPred = R.GetPrediction(target);

                        if (rPred.Hitchance >= HitChance.High)
                        {
                            R.Cast(rPred.CastPosition);
                        }
                    }
                }
            }
        }
Ejemplo n.º 20
0
        private static void KillSteal()
        {
            if (R.Instance.SpellData.Name == "JhinRShot")
            {
                return;
            }

            if (KillStealOption.UseQ && Q.IsReady())
            {
                foreach (
                    var target in
                    ObjectManager.Heroes.Enemies.Where(
                        x => x.IsValidTarget(Q.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.Q)))
                {
                    if (target.IsValidTarget(Q.Range))
                    {
                        Q.CastOnUnit(target, true);
                    }
                }
            }

            if (KillStealOption.UseW && W.IsReady())
            {
                foreach (
                    var target in
                    ObjectManager.Heroes.Enemies.Where(
                        x => x.IsValidTarget(W.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.W)))
                {
                    if (target.IsValidTarget(W.Range))
                    {
                        if (target.Health < Me.GetSpellDamage(target, SpellSlot.Q) && Q.IsReady() &&
                            target.IsValidTarget(Q.Range))
                        {
                            return;
                        }

                        if (KillStealOption.GetBool("KillStealWInAttackRange") && Orbwalker.InAutoAttackRange(target))
                        {
                            SpellManager.PredCast(W, target, true);
                            return;
                        }

                        if (Orbwalker.InAutoAttackRange(target) && target.Health <= Me.GetAutoAttackDamage(target, true))
                        {
                            return;
                        }

                        SpellManager.PredCast(W, target, true);
                        return;
                    }
                }
            }
        }
Ejemplo n.º 21
0
        internal static void Init()
        {
            Q       = new Spell(SpellSlot.Q, 700f);
            QExtend = new Spell(SpellSlot.Q, 1300f);
            W       = new Spell(SpellSlot.W);
            E       = new Spell(SpellSlot.E, 1000f);
            R       = new Spell(SpellSlot.R, 1350f);

            QExtend.SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine);
            Q.SetTargetted(0.25f, 1400f);
            E.SetSkillshot(0.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.25f, 50f, 3000f, false, SkillshotType.SkillshotCircle);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboQ1", "Use Q Extend");
            ComboOption.AddW();
            ComboOption.AddE();

            HarassOption.AddQ();
            HarassOption.AddBool("HarassQ1", "Use Q Extend");
            HarassOption.AddE();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E| Min Hit Counts >= x", 3, 1, 5);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();

            MiscOption.AddR();
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);

            DrawOption.AddQ();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate         += OnUpdate;
            Orbwalker.AfterAttack += AfterAttack;
        }
Ejemplo n.º 22
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 1200f)
            {
                MinHitChance = HitChance.VeryHigh
            };
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.25f, 90f, 1350f, false, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRCount", "Use R| Min Enemies Counts >= x", 3, 1, 5);

            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Counts >= x", 3, 1, 5);
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();

            MiscOption.AddQ();
            MiscOption.AddBool("AutoQ", "Auto Q| CC");
            MiscOption.AddE();
            MiscOption.AddBool("AutoE", "Auto E| Shield Spell");
            MiscOption.AddSlider("AutoEHp", "Auto E| Player HealthPercent <= x%", 80);
            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto R", false);

            DrawOption.AddQ();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.AfterAttack          += AfterAttack;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
        }
Ejemplo n.º 23
0
        private static void KillSteal()
        {
            if (KillStealOption.UseW && W.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x => x.IsValidTarget(W.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.W)))
                {
                    if (target.InAutoAttackRange() && target.Health <= Me.GetAutoAttackDamage(target) * 2)
                    {
                        continue;
                    }

                    if (target.IsValidTarget(W.Range) && !target.IsUnKillable())
                    {
                        var wPred = W.GetPrediction(target);

                        if (wPred.Hitchance >= HitChance.High)
                        {
                            W.Cast(wPred.UnitPosition);
                        }
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x =>
                        x.IsValidTarget(R.Range) && x.DistanceToPlayer() > MiscOption.GetSlider("R", "rMenuMin").Value&&
                        KillStealOption.GetKillStealTarget(x.CharacterName) &&
                        x.Health < Me.GetSpellDamage(x, SpellSlot.R)))
                {
                    if (target.IsValidTarget(R.Range) && !target.IsUnKillable())
                    {
                        var rPred = R.GetPrediction(target);

                        if (rPred.Hitchance >= HitChance.High)
                        {
                            R.Cast(rPred.CastPosition);
                        }
                    }
                }
            }
        }
Ejemplo n.º 24
0
        private static void KillStealEvent()
        {
            if (KillStealOption.UseE && E.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x =>
                        x.IsValidTarget(E.Range) && x.Health < Me.GetSpellDamage(x, SpellSlot.E) &&
                        !x.IsUnKillable()))
                {
                    if (target.IsValidTarget(E.Range))
                    {
                        var ePred = E.GetPrediction(target);

                        if (ePred.Hitchance >= HitChance.High)
                        {
                            E.Cast(ePred.CastPosition);
                        }
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    GameObjects.EnemyHeroes.Where(
                        x =>
                        x.IsValidTarget(R.Range) &&
                        KillStealOption.GetKillStealTarget(x.CharacterName) &&
                        x.Health <
                        Me.GetSpellDamage(x, SpellSlot.R) +
                        Me.GetSpellDamage(x, SpellSlot.R, DamageStage.SecondCast) && !x.IsUnKillable()))
                {
                    if (target.IsValidTarget(R.Range) && !target.IsValidTarget(MiscOption.GetSlider("R", "GlobalRMin").Value))
                    {
                        var rPred = R.GetPrediction(target);

                        if (rPred.Hitchance >= HitChance.High)
                        {
                            R.Cast(rPred.CastPosition);
                        }
                    }
                }
            }
        }
Ejemplo n.º 25
0
        private static void KillSteal()
        {
            if (KillStealOption.UseQ && Q.IsReady())
            {
                foreach (var target in ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(Q.Range) && x.Health < Q.GetDamage(x)))
                {
                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(Q, target);
                        return;
                    }
                }
            }

            if (KillStealOption.UseW && W.IsReady())
            {
                foreach (var target in ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(W.Range) && x.Health < W.GetDamage(x)))
                {
                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(W, target);
                        return;
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    ObjectManager.Heroes.Enemies.Where(
                        x => x.IsValidTarget(R.Range) &&
                        KillStealOption.GetKillStealTarget(x.ChampionName.ToLower()) && x.Health <R.GetDamage(x) &&
                                                                                                  x.DistanceToPlayer()> Me.AttackRange + Me.BoundingRadius - x.BoundingRadius + 15 + E.Range - 100))
                {
                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(R, target);
                        return;
                    }
                }
            }
        }
Ejemplo n.º 26
0
        private static void KillSteal()
        {
            if (KillStealOption.UseW && W.IsReady())
            {
                foreach (var target in ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(W.Range) && x.Health < W.GetDamage(x)))
                {
                    if (Orbwalker.InAutoAttackRange(target) && target.Health <= Me.GetAutoAttackDamage(target, true) * 2)
                    {
                        continue;
                    }

                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(W, target);
                        return;
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                foreach (
                    var target in
                    ObjectManager.Heroes.Enemies.Where(
                        x =>
                        x.IsValidTarget(R.Range) && x.DistanceToPlayer() > MiscOption.GetSlider("rMenuMin") &&
                        KillStealOption.GetKillStealTarget(x.ChampionName) && x.Health < R.GetDamage(x)))
                {
                    if (!target.IsUnKillable())
                    {
                        SpellManager.PredCast(R, target, true);
                        return;
                    }
                }
            }
        }
Ejemplo n.º 27
0
        private static void KillSteal()
        {
            if (KillStealOption.UseE && E.IsReady())
            {
                foreach (
                    var target in
                    ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(E.Range) && x.Health <
                                                       Me.GetSpellDamage(x, SpellSlot.E) *
                                                       (x.GetBuffCount("TristanaECharge") * 0.30) +
                                                       Me.GetSpellDamage(x, SpellSlot.E)))
                {
                    if (target.IsValidTarget(E.Range))
                    {
                        E.CastOnUnit(target, true);
                    }
                }
            }

            if (KillStealOption.UseR && R.IsReady())
            {
                if (KillStealOption.UseE && E.IsReady())
                {
                    foreach (
                        var target in
                        from x in ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(E.Range) && KillStealOption.GetKillStealTarget(x.ChampionName))
                        let etargetstacks = x.Buffs.Find(buff => buff.Name == "TristanaECharge")
                                            where
                                            R.GetDamage(x) + E.GetDamage(x) + etargetstacks?.Count * 0.30 * E.GetDamage(x) >=
                                            x.Health
                                            select x)
                    {
                        if (target.IsValidTarget(R.Range) && !target.IsUnKillable())
                        {
                            R.CastOnUnit(target);
                            return;
                        }
                    }
                }
                else
                {
                    var target = ObjectManager.Heroes.Enemies.Where(x => x.IsValidTarget(R.Range) && KillStealOption.GetKillStealTarget(x.ChampionName))
                                 .OrderByDescending(x => x.Health).FirstOrDefault(x => x.Health < R.GetDamage(x));

                    if (target.IsValidTarget(R.Range) && !target.IsUnKillable())
                    {
                        R.CastOnUnit(target);
                    }
                }
            }
        }
Ejemplo n.º 28
0
        private static void Initializer()
        {
            Q = new Aimtec.SDK.Spell(SpellSlot.Q, 1050f);
            Q.SetSkillshot(0.25f, 79f, 1200f, true, SkillshotType.Line);

            Q2 = new Aimtec.SDK.Spell(SpellSlot.Q, 600f)
            {
                Speed = float.MaxValue, Delay = 0.25f
            };

            QE = new Aimtec.SDK.Spell(SpellSlot.Q, 1650f);
            QE.SetSkillshot(0.35f, 98f, 1900f, true, SkillshotType.Line);

            W = new Aimtec.SDK.Spell(SpellSlot.W);

            W2 = new Aimtec.SDK.Spell(SpellSlot.W, 350f);

            E = new Aimtec.SDK.Spell(SpellSlot.E, 650f);
            E.SetSkillshot(0.1f, 120f, float.MaxValue, false, SkillshotType.Circle);

            E2 = new Aimtec.SDK.Spell(SpellSlot.E, 240f)
            {
                Speed = float.MaxValue, Delay = 0.25f
            };

            R = new Aimtec.SDK.Spell(SpellSlot.R);

            ComboOption.AddMenu();
            ComboOption.AddBool("UsQECombo", "Use Cannon Q");
            ComboOption.AddBool("UseWCombo", "Use Cannon W");
            ComboOption.AddBool("UseECombo", "Use Cannon E");
            ComboOption.AddBool("UsQEComboHam", "Use Hammer Q");
            ComboOption.AddBool("UseWComboHam", "Use Hammer W");
            ComboOption.AddBool("UseEComboHam", "Use Hammer E");
            ComboOption.AddBool("UseRCombo", "Use R Switch");

            HarassOption.AddMenu();
            HarassOption.AddBool("UsQEHarass", "Use Cannon Q");
            HarassOption.AddBool("UseWHarass", "Use Cannon W");
            HarassOption.AddBool("UseEHarass", "Use Cannon E");
            HarassOption.AddBool("UsQEHarassHam", "Use Hammer Q", false);
            HarassOption.AddBool("UseWHarassHam", "Use Hammer W", false);
            HarassOption.AddBool("UseEHarassHam", "Use Hammer E", false);
            HarassOption.AddBool("UseRHarass", "Use R Switch");
            HarassOption.AddMana(60);
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddBool("UsQEFarm", "Use Cannon Q");
            LaneClearOption.AddBool("UseRFarm", "Use R Switch");
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddBool("UsQEJungle", "Use Cannon Q");
            JungleClearOption.AddBool("UseWJungle", "Use Cannon W");
            JungleClearOption.AddBool("UseEJungle", "Use Cannon E");
            JungleClearOption.AddBool("UsQEJungleHam", "Use Hammer Q");
            JungleClearOption.AddBool("UseWJungleHam", "Use Hammer W");
            JungleClearOption.AddBool("UseEJungleHam", "Use Hammer E");
            JungleClearOption.AddBool("UseRJungle", "Use R Switch");
            JungleClearOption.AddMana();

            FleeOption.AddMenu();
            FleeOption.AddQ();
            FleeOption.AddE();
            FleeOption.AddR();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddE();
            KillStealOption.AddBool("UsQEEKS", "Use QE");
            KillStealOption.AddR();

            GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddE();
            MiscOption.AddBool("E", "forceGate", "Auto E| After Q", false);
            MiscOption.AddSlider("E", "gatePlace", "Gate Place Distance", 50, 50, 110);
            MiscOption.AddSlider("E", "autoE", "Auto E Save|When Player HealthPercent < x%", 20, 0, 101);
            MiscOption.AddSetting("QE");
            MiscOption.AddKey("QE", "SemiQE", "Semi-manual QE Key", KeyCode.T, KeybindType.Press);
            MiscOption.AddList("QE", "SemiQEMode", "Semi-manual QE Mode", new[] { "To Target", "To Mouse" });

            DrawOption.AddMenu();
            DrawOption.AddRange(Q, "Cannon Q");
            DrawOption.AddRange(QE, "Cannon Q Extend");
            DrawOption.AddRange(W, "Cannon W");
            DrawOption.AddRange(E, "Cannon E");
            DrawOption.AddRange(Q, "Hammer Q");
            DrawOption.AddRange(W, "Hammer W");
            DrawOption.AddRange(E, "Hammer E");
            DrawOption.AddFarm();
            DrawOption.AddDamageIndicatorToHero(true, true, true, false, false);
            DrawOption.AddBool("DrawCoolDown", "Draw Spell CoolDown");

            Game.OnUpdate         += OnUpdate;
            Orbwalker.PostAttack  += PostAttack;
            GameObject.OnCreate   += OnCreate;
            Gapcloser.OnGapcloser += OnGapcloser;
            Render.OnRender       += OnRender;
        }
Ejemplo n.º 29
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 980f);
            W = new Spell(SpellSlot.W, Me.AttackRange);
            E = new Spell(SpellSlot.E, 1200f);
            R = new Spell(SpellSlot.R, 1800f);

            Q.SetSkillshot(0.25f, 50f, 2000f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(1.2f, 120f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRLimit", "Use R| Limit Stack >= x", 3, 0, 10);

            HarassOption.AddQ();
            HarassOption.AddE();
            HarassOption.AddR();
            HarassOption.AddSlider("HarassRLimit", "Use R| Limit Stack >= x", 5, 0, 10);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E| Min Hit Counts >= x", 3, 1, 5);
            LaneClearOption.AddR();
            LaneClearOption.AddSlider("LaneClearRLimit", "Use R| Limit Stack >= x", 4, 0, 10);
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddR();
            JungleClearOption.AddSlider("JungleClearRLimit", "Use R| Limit Stack >= x", 5, 0, 10);
            JungleClearOption.AddMana();

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();
            KillStealOption.AddE();
            KillStealOption.AddR();

            MiscOption.AddE();
            MiscOption.AddBool("GapE", "Use E| Anti GapCloser");
            MiscOption.AddR();
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);

            DrawOption.AddQ();
            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.AfterAttack          += AfterAttack;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
        }
Ejemplo n.º 30
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 825f);
            Q.SetSkillshot(0.30f, 200f, 1000f, false, false, SkillshotType.Circle);

            W = new Spell(SpellSlot.W, 800f);

            E = new Spell(SpellSlot.E, 600f);

            R = new Spell(SpellSlot.R, rRange);
            R.SetSkillshot(0.20f, 50f, 2000f, true, false, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRLimit", "Use R|Limit Stack >= x", 0, 0, 7);
            ComboOption.AddSlider("ComboRHP", "Use R|Target HealthPercent <= x%", 100, 1, 101);

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddE();
            HarassOption.AddR();
            HarassOption.AddSlider("HarassRLimit", "Use R|Limit Stack >= x", 4, 0, 7);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddE();
            LaneClearOption.AddSlider("LaneClearECount", "Use E|Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddR();
            LaneClearOption.AddSlider("LaneClearRCount", "Use R|Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddSlider("LaneClearRLimit", "Use R|Limit Stack >= x", 4, 0, 7);
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddE();
            JungleClearOption.AddR();
            JungleClearOption.AddSlider("JungleClearRLimit", "Use R|Limit Stack >= x", 0, 0, 7);
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddR();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddR();
            MiscOption.AddKey("R", "SemiR", "Semi-manual R Key", Keys.T, KeyBindType.Press);

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddW(W);
            DrawOption.AddE(E);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(true, false, true, true, true);

            Game.OnUpdate      += OnUpdate;
            Orbwalker.OnAction += OnAction;
        }