コード例 #1
0
ファイル: Program.cs プロジェクト: afkkooler/drop_hack_2
 private static void PonerGenerales()
 {
     if (TrinketN.IsReady())
     {
         TrinketN.Cast(new Vector3(10546.35f, 5019.06f, -60.0f)); // Dragon
         TrinketN.Cast(new Vector3(9344.95f, 5703.43f, -64.07f)); // Dragon Bush
         TrinketN.Cast(new Vector3(4334.98f, 9714.54f, -60.42f)); // Baron
         TrinketN.Cast(new Vector3(5363.31f, 9157.05f, -62.70f)); // Baron Bush
     }
     if (SightStone.IsReady())
     {
         SightStone.Cast(new Vector3(10546.35f, 5019.06f, -60.0f)); // Dragon
         SightStone.Cast(new Vector3(9344.95f, 5703.43f, -64.07f)); // Dragon Bush
         SightStone.Cast(new Vector3(4334.98f, 9714.54f, -60.42f)); // Baron
         SightStone.Cast(new Vector3(5363.31f, 9157.05f, -62.70f)); // Baron Bush
     }
     if (WardS.IsReady())
     {
         WardS.Cast(new Vector3(10546.35f, 5019.06f, -60.0f)); // Dragon
         WardS.Cast(new Vector3(9344.95f, 5703.43f, -64.07f)); // Dragon Bush
         WardS.Cast(new Vector3(4334.98f, 9714.54f, -60.42f)); // Baron
         WardS.Cast(new Vector3(5363.31f, 9157.05f, -62.70f)); // Baron Bush
     }
     if (WardN.IsReady())
     {
         WardN.Cast(new Vector3(10546.35f, 5019.06f, -60.0f)); // Dragon
         WardN.Cast(new Vector3(9344.95f, 5703.43f, -64.07f)); // Dragon Bush
         WardN.Cast(new Vector3(4334.98f, 9714.54f, -60.42f)); // Baron
         WardN.Cast(new Vector3(5363.31f, 9157.05f, -62.70f)); // Baron Bush
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: sadnecc/LeagueRepo
        private static void Jump(Vector3 position)
        {
            Obj_AI_Base obj = HeroManager.Allies.FirstOrDefault(x => x.IsValid && !x.IsDead && x.Distance(position) < 200 && x.Distance(position) < 200 && !x.IsMe);

            if (obj == null)
            {
                obj = ObjectManager.Get <Obj_AI_Minion>().FirstOrDefault(x => x.IsValid && x.IsAlly && !x.IsDead && x.Distance(position) < 200);
            }

            if (obj == null)
            {
                if (TrinketN.IsReady())
                {
                    TrinketN.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                }
                else if (SightStone.IsReady())
                {
                    SightStone.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                }
                else if (WardN.IsReady())
                {
                    WardN.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                }
                else if (EOTOasis.IsReady())
                {
                    EOTOasis.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                }
                else if (EOTEquinox.IsReady())
                {
                    EOTEquinox.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                }
                else if (EOTWatchers.IsReady())
                {
                    EOTWatchers.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                }
            }
            else
            {
                W.Cast(obj);
            }
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: sadnecc/LeagueRepo
 private static bool CanJump()
 {
     if (W.IsReady())
     {
         if (Utils.TickCount - LastTimeWardPlace < 250)
         {
             return(true);
         }
         if (TrinketN.IsReady() || SightStone.IsReady() || WardN.IsReady() || EOTOasis.IsReady() || EOTEquinox.IsReady() || EOTWatchers.IsReady())
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     else
     {
         return(false);
     }
 }
コード例 #4
0
        private void AutoWardLogic()
        {
            foreach (var enemy in Program.Enemies.Where(enemy => enemy.IsValid && !enemy.IsVisible && !enemy.IsDead))
            {
                var need = OKTWtracker.ChampionInfoList.Find(x => x.NetworkId == enemy.NetworkId);

                if (need == null || need.PredictedPos == null)
                {
                    continue;
                }

                var PPDistance = need.PredictedPos.Distance(Player.Position);

                if (PPDistance > 1400)
                {
                    continue;
                }

                var timer = Game.Time - need.LastVisableTime;

                if (timer > 1 && timer < 3)
                {
                    if (Program.Combo && PPDistance < 1500 && Player.ChampionName == "Quinn" && W.IsReady() && Config.Item("autoW", true).GetValue <bool>())
                    {
                        W.Cast();
                    }

                    if (Program.Combo && PPDistance < 900 && Player.ChampionName == "Karhus" && Q.IsReady() && Player.CountEnemiesInRange(900) == 0)
                    {
                        Q.Cast(need.PredictedPos);
                    }

                    if (Program.Combo && PPDistance < 1400 && Player.ChampionName == "Ashe" && E.IsReady() && Player.CountEnemiesInRange(800) == 0 && Config.Item("autoE", true).GetValue <bool>())
                    {
                        E.Cast(Player.Position.Extend(need.PredictedPos, 5000));
                    }

                    if (PPDistance < 800 && Player.ChampionName == "MissFortune" && E.IsReady() && Program.Combo && Player.Mana > 200)
                    {
                        E.Cast(Player.Position.Extend(need.PredictedPos, 800));
                    }

                    if (!Player.IsWindingUp && PPDistance < 800 && Player.ChampionName == "Caitlyn" && W.IsReady() && Player.Mana > 200f && Config.Item("bushW", true).GetValue <bool>() && Utils.TickCount - W.LastCastAttemptT > 2000)
                    {
                        W.Cast(need.PredictedPos);
                    }
                    if (!Player.IsWindingUp && PPDistance < 760 && Player.ChampionName == "Jhin" && E.IsReady() && Player.Mana > 200f && Config.Item("bushE", true).GetValue <bool>() && Utils.TickCount - E.LastCastAttemptT > 2000)
                    {
                        E.Cast(need.PredictedPos);
                    }
                }

                if (timer < 4)
                {
                    if (Config.Item("AutoWardCombo").GetValue <bool>() && Program.AIOmode != 2 && !Program.Combo)
                    {
                        return;
                    }

                    if (NavMesh.IsWallOfGrass(need.PredictedPos, 0))
                    {
                        if (PPDistance < 600 && Config.Item("AutoWard").GetValue <bool>())
                        {
                            if (TrinketN.IsReady())
                            {
                                TrinketN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (SightStone.IsReady())
                            {
                                SightStone.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (WardN.IsReady())
                            {
                                WardN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (EOTOasis.IsReady())
                            {
                                EOTOasis.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (EOTEquinox.IsReady())
                            {
                                EOTEquinox.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (EOTWatchers.IsReady())
                            {
                                EOTWatchers.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }

                        if (Config.Item("AutoWardBlue").GetValue <bool>())
                        {
                            if (FarsightOrb.IsReady())
                            {
                                FarsightOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (ScryingOrb.IsReady())
                            {
                                ScryingOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }
                    }
                }
            }
        }
コード例 #5
0
        private static void PlaceW()
        {
            if (TrinketN.IsReady())
            {
                TrinketN.Cast(new Vector3(2729, 10879, -71f));
                TrinketN.Cast(new Vector3(5223, 6789, 50f));
                TrinketN.Cast(new Vector3(2303, 10868, 53f));
                TrinketN.Cast(new Vector3(8368, 4594, 51f));
                TrinketN.Cast(new Vector3(5191, 7137, 50f));

                TrinketN.Cast(new Vector3(8100, 3429, 51f));
                TrinketN.Cast(new Vector3(4634, 11283, 49f));
                TrinketN.Cast(new Vector3(9572, 8038, 57f));
                TrinketN.Cast(new Vector3(6672, 11466, 53f));
                TrinketN.Cast(new Vector3(12235, 4068, -68f));
                TrinketN.Cast(new Vector3(6518, 10367, 53f));
                TrinketN.Cast(new Vector3(9697, 7854, 51f));
                TrinketN.Cast(new Vector3(12443, 4021, -7f));
                return;
            }

            if (SightStone.IsReady())
            {
                SightStone.Cast(new Vector3(2729, 10879, -71f));
                SightStone.Cast(new Vector3(2303, 10868, 53f));
                SightStone.Cast(new Vector3(5223, 6789, 50f));
                SightStone.Cast(new Vector3(5191, 7137, 50f));
                SightStone.Cast(new Vector3(8368, 4594, 51f));
                SightStone.Cast(new Vector3(8100, 3429, 51f));
                SightStone.Cast(new Vector3(4634, 11283, 49f));
                SightStone.Cast(new Vector3(6672, 11466, 53f));
                SightStone.Cast(new Vector3(6518, 10367, 53f));
                SightStone.Cast(new Vector3(9572, 8038, 57f));
                SightStone.Cast(new Vector3(9697, 7854, 51f));
                SightStone.Cast(new Vector3(12235, 4068, -68f));
                SightStone.Cast(new Vector3(12443, 4021, -7f));
                return;
            }

            if (WardS.IsReady())
            {
                WardS.Cast(new Vector3(2729, 10879, -71f));
                WardS.Cast(new Vector3(5223, 6789, 50f));
                WardS.Cast(new Vector3(2303, 10868, 53f));
                WardS.Cast(new Vector3(8368, 4594, 51f));
                WardS.Cast(new Vector3(5191, 7137, 50f));

                WardS.Cast(new Vector3(8100, 3429, 51f));
                WardS.Cast(new Vector3(4634, 11283, 49f));
                WardS.Cast(new Vector3(9572, 8038, 57f));
                WardS.Cast(new Vector3(6672, 11466, 53f));
                WardS.Cast(new Vector3(12235, 4068, -68f));
                WardS.Cast(new Vector3(6518, 10367, 53f));
                WardS.Cast(new Vector3(9697, 7854, 51f));
                WardS.Cast(new Vector3(12443, 4021, -7f));
                return;
            }
            if (WardN.IsReady())
            {
                WardN.Cast(new Vector3(2729, 10879, -71f));
                WardN.Cast(new Vector3(2303, 10868, 53f));
                WardN.Cast(new Vector3(5223, 6789, 50f));
                WardN.Cast(new Vector3(5191, 7137, 50f));
                WardN.Cast(new Vector3(8368, 4594, 51f));
                WardN.Cast(new Vector3(8100, 3429, 51f));
                WardN.Cast(new Vector3(4634, 11283, 49f));
                WardN.Cast(new Vector3(6672, 11466, 53f));
                WardN.Cast(new Vector3(6518, 10367, 53f));
                WardN.Cast(new Vector3(9572, 8038, 57f));
                WardN.Cast(new Vector3(9697, 7854, 51f));
                WardN.Cast(new Vector3(12235, 4068, -68f));
                WardN.Cast(new Vector3(12443, 4021, -7f));
                return;
            }
        }
コード例 #6
0
        private void AutoWardLogic()
        {
            foreach (var enemy in Program.Enemies.Where(enemy => enemy.IsValid && !enemy.IsVisible && !enemy.IsDead))
            {
                var need = OKTWtracker.ChampionInfoList.Find(x => x.NetworkId == enemy.NetworkId);

                if (need == null || need.PredictedPos == null)
                {
                    return;
                }

                if (Player.ChampionName == "Quinn" && W.IsReady() && Game.Time - need.LastVisableTime > 0.5 && Game.Time - need.LastVisableTime < 4 && need.PredictedPos.Distance(Player.Position) < 1500 && Config.Item("autoW", true).GetValue <bool>())
                {
                    W.Cast();
                    return;
                }

                if (Player.ChampionName == "Ashe" && E.IsReady() && Player.Spellbook.GetSpell(SpellSlot.E).Ammo > 1 && Player.CountEnemiesInRange(800) == 0 && Game.Time - need.LastVisableTime > 3 && Game.Time - need.LastVisableTime < 1 && Config.Item("autoE", true).GetValue <bool>())
                {
                    if (need.PredictedPos.Distance(Player.Position) < 3000)
                    {
                        E.Cast(ObjectManager.Player.Position.Extend(need.PredictedPos, 5000));
                        return;
                    }
                }

                if (Player.ChampionName == "MissFortune" && E.IsReady() && Game.Time - need.LastVisableTime > 0.5 && Game.Time - need.LastVisableTime < 2 && Program.Combo && Player.Mana > 200f)
                {
                    if (need.PredictedPos.Distance(Player.Position) < 800)
                    {
                        E.Cast(ObjectManager.Player.Position.Extend(need.PredictedPos, 800));
                        return;
                    }
                }

                if (Player.ChampionName == "Caitlyn" && W.IsReady() && Game.Time - need.LastVisableTime < 2 && Player.Mana > 200f && !Player.IsWindingUp && Config.Item("bushW", true).GetValue <bool>())
                {
                    if (need.PredictedPos.Distance(Player.Position) < 800)
                    {
                        W.Cast(need.PredictedPos);
                        return;
                    }
                }

                if (Game.Time - need.LastVisableTime < 4)
                {
                    if (Config.Item("AutoWardCombo").GetValue <bool>() && !Config.Item("onlyUtility", true).GetValue <bool>() && !Program.Combo)
                    {
                        return;
                    }

                    if (NavMesh.IsWallOfGrass(need.PredictedPos, 0))
                    {
                        if (need.PredictedPos.Distance(Player.Position) < 600 && Config.Item("AutoWard").GetValue <bool>())
                        {
                            if (TrinketN.IsReady())
                            {
                                TrinketN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (SightStone.IsReady())
                            {
                                SightStone.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (WardN.IsReady())
                            {
                                WardN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }

                        if (need.PredictedPos.Distance(Player.Position) < 1400 && Config.Item("AutoWardBlue").GetValue <bool>())
                        {
                            if (FarsightOrb.IsReady())
                            {
                                FarsightOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (ScryingOrb.IsReady())
                            {
                                ScryingOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }
                    }
                }
            }
        }
コード例 #7
0
ファイル: OKTWward.cs プロジェクト: djole353/port2
        private void AutoWardLogic()
        {
            foreach (var need in OKTWtracker.ChampionInfoList.Where(x => x.Hero.IsValid && x.PredictedPos != null && !x.Hero.IsVisible && !x.Hero.IsDead))
            {
                //var need = OKTWtracker.ChampionInfoList.Find(x => x.NetworkId == enemy.NetworkId);

                var PPDistance = need.PredictedPos.Distance(Player.Position);

                if (PPDistance > 1400)
                {
                    continue;
                }

                var timer = Game.Time - need.LastVisableTime;

                if (timer > 1 && timer < 3 && AioModeSet != AioMode.UtilityOnly)
                {
                    if (Program.Combo && PPDistance < 1500 && Player.ChampionName == "Quinn" && W.IsReady() && Config.Item("autoW", true).GetValue <bool>())
                    {
                        W.Cast();
                    }

                    if (Program.Combo && PPDistance < 900 && Player.ChampionName == "Karhus" && Q.IsReady() && Player.CountEnemiesInRange(900) == 0)
                    {
                        Q.Cast(need.PredictedPos);
                    }

                    if (Program.Combo && PPDistance < 1400 && Player.ChampionName == "Ashe" && E.IsReady() && Player.CountEnemiesInRange(800) == 0 && Config.Item("autoE", true).GetValue <bool>())
                    {
                        E.Cast(Player.Position.Extend(need.PredictedPos, 5000));
                    }

                    if (PPDistance < 800 && Player.ChampionName == "MissFortune" && E.IsReady() && Program.Combo && Player.Mana > 200)
                    {
                        E.Cast(Player.Position.Extend(need.PredictedPos, 800));
                    }

                    if (Player.ChampionName == "Caitlyn" && !ObjectManager.Player.Spellbook.IsAutoAttacking && PPDistance < 800 && W.IsReady() && Player.Mana > 200f && Config.Item("bushW", true).GetValue <bool>() && Utils.TickCount - W.LastCastAttemptT > 2000)
                    {
                        W.Cast(need.PredictedPos);
                    }
                    if (Player.ChampionName == "Teemo" && !ObjectManager.Player.Spellbook.IsAutoAttacking && PPDistance < 150 + R.Level * 250 && R.IsReady() && Player.Mana > 200f && Config.Item("bushR", true).GetValue <bool>() && Utils.TickCount - W.LastCastAttemptT > 2000)
                    {
                        R.Cast(need.PredictedPos);
                    }
                    if (Player.ChampionName == "Jhin" && !ObjectManager.Player.Spellbook.IsAutoAttacking && PPDistance < 760 && E.IsReady() && Player.Mana > 200f && Config.Item("bushE", true).GetValue <bool>() && Utils.TickCount - E.LastCastAttemptT > 2000)
                    {
                        E.Cast(need.PredictedPos);
                    }
                }

                if (timer < 4)
                {
                    if (Config.Item("AutoWardCombo").GetValue <bool>() && Program.AioModeSet != Program.AioMode.ChampionOnly && !Program.Combo)
                    {
                        return;
                    }

                    if (NavMesh.IsWallOfGrass(need.PredictedPos, 0))
                    {
                        if (PPDistance < 600 && Config.Item("AutoWard").GetValue <bool>())
                        {
                            if (TrinketN.IsReady())
                            {
                                TrinketN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (SightStone.IsReady())
                            {
                                SightStone.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (WardN.IsReady())
                            {
                                WardN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (EOTOasis.IsReady())
                            {
                                EOTOasis.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (EOTEquinox.IsReady())
                            {
                                EOTEquinox.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (EOTWatchers.IsReady())
                            {
                                EOTWatchers.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }

                        if (Config.Item("AutoWardBlue").GetValue <bool>())
                        {
                            if (FarsightOrb.IsReady())
                            {
                                FarsightOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (ScryingOrb.IsReady())
                            {
                                ScryingOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }
                    }
                }
            }
        }
コード例 #8
0
ファイル: Program.cs プロジェクト: lyw1989/LeagueRepo
        public static void AutoWard()
        {
            foreach (var enemy in Enemies.Where(enemy => enemy.IsEnemy && enemy.IsValid))
            {
                if (enemy.IsVisible && !enemy.IsDead && enemy != null && enemy.IsValidTarget())
                {
                    if (Prediction.GetPrediction(enemy, 0.4f).CastPosition != null)
                    {
                        var prepos = Prediction.GetPrediction(enemy, 0.4f).CastPosition;
                        VisableInfo.RemoveAll(x => x.VisableID == enemy.NetworkId);
                        VisableInfo.Add(new VisableInfo()
                        {
                            VisableID = enemy.NetworkId, LastPosition = enemy.Position, time = Game.Time, PredictedPos = prepos
                        });
                    }
                }
                else if (enemy.IsDead)
                {
                    VisableInfo.RemoveAll(x => x.VisableID == enemy.NetworkId);
                }
                else if (!enemy.IsDead)
                {
                    var need = VisableInfo.Find(x => x.VisableID == enemy.NetworkId);
                    if (need == null || need.PredictedPos == null)
                    {
                        return;
                    }

                    if (Player.ChampionName == "Quinn" && W.IsReady() && Game.Time - need.time > 0.5 && Game.Time - need.time < 4 && need.PredictedPos.Distance(Player.Position) < 1500 && Config.Item("autoW").GetValue <bool>())
                    {
                        W.Cast();
                        return;
                    }
                    if (Player.ChampionName == "Ashe" && E.IsReady() && Player.Spellbook.GetSpell(SpellSlot.E).Ammo > 1 && Player.CountEnemiesInRange(800) == 0 && Game.Time - need.time > 3 && Game.Time - need.time < 1 && Config.Item("autoE").GetValue <bool>())
                    {
                        if (need.PredictedPos.Distance(Player.Position) < 3000)
                        {
                            E.Cast(ObjectManager.Player.Position.Extend(need.PredictedPos, 5000));
                            return;
                        }
                    }
                    if (Player.ChampionName == "MissFortune" && E.IsReady() && Game.Time - need.time > 0.5 && Game.Time - need.time < 2 && Combo && Player.Mana > 200f)
                    {
                        if (need.PredictedPos.Distance(Player.Position) < 800)
                        {
                            E.Cast(ObjectManager.Player.Position.Extend(need.PredictedPos, 800));
                            return;
                        }
                    }
                    if (Player.ChampionName == "Kalista" && W.IsReady() && Game.Time - need.time > 3 && Game.Time - need.time < 4 && !Combo && Config.Item("autoW").GetValue <bool>() && ObjectManager.Player.Mana > 300f)
                    {
                        if (need.PredictedPos.Distance(Player.Position) > 1500 && need.PredictedPos.Distance(Player.Position) < 4000)
                        {
                            W.Cast(ObjectManager.Player.Position.Extend(need.PredictedPos, 5500));
                            return;
                        }
                    }
                    if (Player.ChampionName == "Caitlyn" && W.IsReady() && Game.Time - need.time < 2 && Player.Mana > 200f && !Player.IsWindingUp && Config.Item("bushW").GetValue <bool>())
                    {
                        if (need.PredictedPos.Distance(Player.Position) < 800)
                        {
                            W.Cast(need.PredictedPos);
                            return;
                        }
                    }
                    if (Game.Time - need.time < 4 && need.PredictedPos.Distance(Player.Position) < 600 && Config.Item("AutoWard").GetValue <bool>())
                    {
                        if (Config.Item("AutoWardCombo").GetValue <bool>() && !Combo)
                        {
                            return;
                        }
                        if (NavMesh.IsWallOfGrass(need.PredictedPos, 0))
                        {
                            if (TrinketN.IsReady())
                            {
                                TrinketN.Cast(need.PredictedPos);
                                need.time = Game.Time - 5;
                            }
                            else if (SightStone.IsReady())
                            {
                                SightStone.Cast(need.PredictedPos);
                                need.time = Game.Time - 5;
                            }
                            else if (WardS.IsReady())
                            {
                                WardS.Cast(need.PredictedPos);
                                need.time = Game.Time - 5;
                            }
                            else if (WardN.IsReady())
                            {
                                WardN.Cast(need.PredictedPos);
                                need.time = Game.Time - 5;
                            }
                        }
                    }
                }
            }
        }
コード例 #9
0
ファイル: Program.cs プロジェクト: afkkooler/drop_hack_2
        private static void PonerAzules()
        {
            if (TrinketN.IsReady())
            {
                TrinketN.Cast(new Vector3(3261.93f, 7773.65f, 60.0f));  // Blue Golem
                TrinketN.Cast(new Vector3(7831.46f, 3501.13f, 60.0f));  // Blue Lizard
                TrinketN.Cast(new Vector3(10586.62f, 3067.93f, 60.0f)); // Blue Tri Bush
                TrinketN.Cast(new Vector3(6483.73f, 4606.57f, 60.0f));  // Blue Pass Bush
                TrinketN.Cast(new Vector3(7610.46f, 5000.0f, 60.0f));   // Blue River Entrance
                TrinketN.Cast(new Vector3(4717.09f, 7142.35f, 50.83f)); // Blue Round Bush
                TrinketN.Cast(new Vector3(4882.86f, 8393.77f, 27.83f)); // Blue River Round Bush
                TrinketN.Cast(new Vector3(6951.01f, 3040.55f, 52.26f)); // Blue Split Push Bush
                TrinketN.Cast(new Vector3(5583.74f, 3573.83f, 51.43f)); // Blue Riveer Center Close

                TrinketN.Cast(new Vector3(4749.79f, 5890.76f, 53.59f)); // Blue Mid T1
            }
            if (SightStone.IsReady())
            {
                SightStone.Cast(new Vector3(3261.93f, 7773.65f, 60.0f));  // Blue Golem
                SightStone.Cast(new Vector3(7831.46f, 3501.13f, 60.0f));  // Blue Lizard
                SightStone.Cast(new Vector3(10586.62f, 3067.93f, 60.0f)); // Blue Tri Bush
                SightStone.Cast(new Vector3(6483.73f, 4606.57f, 60.0f));  // Blue Pass Bush
                SightStone.Cast(new Vector3(7610.46f, 5000.0f, 60.0f));   // Blue River Entrance
                SightStone.Cast(new Vector3(4717.09f, 7142.35f, 50.83f)); // Blue Round Bush
                SightStone.Cast(new Vector3(4882.86f, 8393.77f, 27.83f)); // Blue River Round Bush
                SightStone.Cast(new Vector3(6951.01f, 3040.55f, 52.26f)); // Blue Split Push Bush
                SightStone.Cast(new Vector3(5583.74f, 3573.83f, 51.43f)); // Blue Riveer Center Close

                SightStone.Cast(new Vector3(4749.79f, 5890.76f, 53.59f)); // Blue Mid T1
                SightStone.Cast(new Vector3(5983.58f, 1547.98f, 52.99f)); // Blue Bot T2
                SightStone.Cast(new Vector3(1213.70f, 5324.73f, 58.77f)); // Blue Top T2
            }
            if (WardS.IsReady())
            {
                WardS.Cast(new Vector3(3261.93f, 7773.65f, 60.0f));  // Blue Golem
                WardS.Cast(new Vector3(7831.46f, 3501.13f, 60.0f));  // Blue Lizard
                WardS.Cast(new Vector3(10586.62f, 3067.93f, 60.0f)); // Blue Tri Bush
                WardS.Cast(new Vector3(6483.73f, 4606.57f, 60.0f));  // Blue Pass Bush
                WardS.Cast(new Vector3(7610.46f, 5000.0f, 60.0f));   // Blue River Entrance
                WardS.Cast(new Vector3(4717.09f, 7142.35f, 50.83f)); // Blue Round Bush
                WardS.Cast(new Vector3(4882.86f, 8393.77f, 27.83f)); // Blue River Round Bush
                WardS.Cast(new Vector3(6951.01f, 3040.55f, 52.26f)); // Blue Split Push Bush
                WardS.Cast(new Vector3(5583.74f, 3573.83f, 51.43f)); // Blue Riveer Center Close

                WardS.Cast(new Vector3(4749.79f, 5890.76f, 53.59f)); // Blue Mid T1
                WardS.Cast(new Vector3(5983.58f, 1547.98f, 52.99f)); // Blue Bot T2
                WardS.Cast(new Vector3(1213.70f, 5324.73f, 58.77f)); // Blue Top T2
            }
            if (WardN.IsReady())
            {
                WardN.Cast(new Vector3(3261.93f, 7773.65f, 60.0f));  // Blue Golem
                WardN.Cast(new Vector3(7831.46f, 3501.13f, 60.0f));  // Blue Lizard
                WardN.Cast(new Vector3(10586.62f, 3067.93f, 60.0f)); // Blue Tri Bush
                WardN.Cast(new Vector3(6483.73f, 4606.57f, 60.0f));  // Blue Pass Bush
                WardN.Cast(new Vector3(7610.46f, 5000.0f, 60.0f));   // Blue River Entrance
                WardN.Cast(new Vector3(4717.09f, 7142.35f, 50.83f)); // Blue Round Bush
                WardN.Cast(new Vector3(4882.86f, 8393.77f, 27.83f)); // Blue River Round Bush
                WardN.Cast(new Vector3(6951.01f, 3040.55f, 52.26f)); // Blue Split Push Bush
                WardN.Cast(new Vector3(5583.74f, 3573.83f, 51.43f)); // Blue Riveer Center Close

                WardN.Cast(new Vector3(4749.79f, 5890.76f, 53.59f)); // Blue Mid T1
                WardN.Cast(new Vector3(5983.58f, 1547.98f, 52.99f)); // Blue Bot T2
                WardN.Cast(new Vector3(1213.70f, 5324.73f, 58.77f)); // Blue Top T2
            }
        }
コード例 #10
0
ファイル: Program.cs プロジェクト: afkkooler/drop_hack_2
        private static void PonerRojos()
        {
            if (TrinketN.IsReady())
            {
                TrinketN.Cast(new Vector3(11600.35f, 7090.37f, 51.73f)); // Red Golem
                TrinketN.Cast(new Vector3(8223.67f, 8110.15f, 60.0f));   // Purple Nidlane
                TrinketN.Cast(new Vector3(9736.8f, 6916.26f, 51.98f));   // Purple Mid Path
                TrinketN.Cast(new Vector3(10074.63f, 7761.62f, 51.74f)); // Red Round Bush
                TrinketN.Cast(new Vector3(11573.9f, 6457.76f, 51.71f));  // Red Golem2
                TrinketN.Cast(new Vector3(12629.72f, 4908.16f, 48.62f)); // Red Tri Bush2
                TrinketN.Cast(new Vector3(7018.75f, 11362.12f, 54.76f)); // Red Lizard
                TrinketN.Cast(new Vector3(4232.69f, 11869.25f, 47.56f)); // Red Tri Bush
                TrinketN.Cast(new Vector3(8198.22f, 10267.89f, 49.38f)); // Red Pass Bush
                TrinketN.Cast(new Vector3(7202.43f, 9881.83f, 53.18f));  // Red River Entrance
                TrinketN.Cast(new Vector3(9795.85f, 6355.15f, -12.21f)); // Red River Round Bush
                TrinketN.Cast(new Vector3(7836.85f, 11906.34f, 56.48f)); // Red Split Push Bush

                TrinketN.Cast(new Vector3(12731.25f, 9132.66f, 50.32f)); // Red Bot T2
                TrinketN.Cast(new Vector3(8036.52f, 12882.94f, 45.19f)); // Red Bot T2
                TrinketN.Cast(new Vector3(9757.9f, 8768.25f, 50.73f));   // Red Mid T1
            }
            if (SightStone.IsReady())
            {
                SightStone.Cast(new Vector3(11600.35f, 7090.37f, 51.73f)); // Red Golem
                SightStone.Cast(new Vector3(11573.9f, 6457.76f, 51.71f));  // Red Golem2
                SightStone.Cast(new Vector3(12629.72f, 4908.16f, 48.62f)); // Red Tri Bush2
                SightStone.Cast(new Vector3(7018.75f, 11362.12f, 54.76f)); // Red Lizard
                SightStone.Cast(new Vector3(4232.69f, 11869.25f, 47.56f)); // Red Tri Bush
                SightStone.Cast(new Vector3(8198.22f, 10267.89f, 49.38f)); // Red Pass Bush
                SightStone.Cast(new Vector3(7202.43f, 9881.83f, 53.18f));  // Red River Entrance
                SightStone.Cast(new Vector3(10074.63f, 7761.62f, 51.74f)); // Red Round Bush
                SightStone.Cast(new Vector3(9795.85f, 6355.15f, -12.21f)); // Red River Round Bush
                SightStone.Cast(new Vector3(7836.85f, 11906.34f, 56.48f)); // Red Split Push Bush

                SightStone.Cast(new Vector3(12731.25f, 9132.66f, 50.32f)); // Red Bot T2
                SightStone.Cast(new Vector3(8036.52f, 12882.94f, 45.19f)); // Red Bot T2
                SightStone.Cast(new Vector3(9757.9f, 8768.25f, 50.73f));   // Red Mid T1

                SightStone.Cast(new Vector3(8223.67f, 8110.15f, 60.0f));   // Purple Nidlane
                SightStone.Cast(new Vector3(9736.8f, 6916.26f, 51.98f));   // Purple Mid Path
            }
            if (WardS.IsReady())
            {
                WardS.Cast(new Vector3(11600.35f, 7090.37f, 51.73f)); // Red Golem
                WardS.Cast(new Vector3(11573.9f, 6457.76f, 51.71f));  // Red Golem2
                WardS.Cast(new Vector3(12629.72f, 4908.16f, 48.62f)); // Red Tri Bush2
                WardS.Cast(new Vector3(7018.75f, 11362.12f, 54.76f)); // Red Lizard
                WardS.Cast(new Vector3(4232.69f, 11869.25f, 47.56f)); // Red Tri Bush
                WardS.Cast(new Vector3(8198.22f, 10267.89f, 49.38f)); // Red Pass Bush
                WardS.Cast(new Vector3(7202.43f, 9881.83f, 53.18f));  // Red River Entrance
                WardS.Cast(new Vector3(10074.63f, 7761.62f, 51.74f)); // Red Round Bush
                WardS.Cast(new Vector3(9795.85f, 6355.15f, -12.21f)); // Red River Round Bush
                WardS.Cast(new Vector3(7836.85f, 11906.34f, 56.48f)); // Red Split Push Bush

                WardS.Cast(new Vector3(12731.25f, 9132.66f, 50.32f)); // Red Bot T2
                WardS.Cast(new Vector3(8036.52f, 12882.94f, 45.19f)); // Red Bot T2
                WardS.Cast(new Vector3(9757.9f, 8768.25f, 50.73f));   // Red Mid T1

                WardS.Cast(new Vector3(8223.67f, 8110.15f, 60.0f));   // Purple Nidlane
                WardS.Cast(new Vector3(9736.8f, 6916.26f, 51.98f));   // Purple Mid Path
            }
            if (WardN.IsReady())
            {
                WardN.Cast(new Vector3(11600.35f, 7090.37f, 51.73f)); // Red Golem
                WardN.Cast(new Vector3(11573.9f, 6457.76f, 51.71f));  // Red Golem2
                WardN.Cast(new Vector3(12629.72f, 4908.16f, 48.62f)); // Red Tri Bush2
                WardN.Cast(new Vector3(7018.75f, 11362.12f, 54.76f)); // Red Lizard
                WardN.Cast(new Vector3(4232.69f, 11869.25f, 47.56f)); // Red Tri Bush
                WardN.Cast(new Vector3(8198.22f, 10267.89f, 49.38f)); // Red Pass Bush
                WardN.Cast(new Vector3(7202.43f, 9881.83f, 53.18f));  // Red River Entrance
                WardN.Cast(new Vector3(10074.63f, 7761.62f, 51.74f)); // Red Round Bush
                WardN.Cast(new Vector3(9795.85f, 6355.15f, -12.21f)); // Red River Round Bush
                WardN.Cast(new Vector3(7836.85f, 11906.34f, 56.48f)); // Red Split Push Bush

                WardN.Cast(new Vector3(12731.25f, 9132.66f, 50.32f)); // Red Bot T2
                WardN.Cast(new Vector3(8036.52f, 12882.94f, 45.19f)); // Red Bot T2
                WardN.Cast(new Vector3(9757.9f, 8768.25f, 50.73f));   // Red Mid T1

                WardN.Cast(new Vector3(8223.67f, 8110.15f, 60.0f));   // Purple Nidlane
                WardN.Cast(new Vector3(9736.8f, 6916.26f, 51.98f));   // Purple Mid Path
            }
        }
コード例 #11
0
        private static void Jump(Vector3 position)
        {
            if (position.IsWall())
            {
                return;
            }

            if (Player.Distance(position) > W.Range)
            {
                position = Player.Position.Extend(position, W.Range);
            }

            Obj_AI_Base obj = HeroManager.Allies.FirstOrDefault(x => x.IsValid && !x.IsDead && !x.IsMe && x.Distance(position) < 150);

            if (obj == null)
            {
                obj = ObjectManager.Get <Obj_AI_Minion>().FirstOrDefault(x => x.IsValid && x.IsAlly && !x.IsDead && x.Distance(position) < 150);
            }

            if (obj == null)
            {
                if (Utils.TickCount - LastTimeWardPlace < 250)
                {
                    Utility.DelayAction.Add(40, () => Jump(position));
                    Orbwalker.SetOrbwalkingPoint(position);
                    return;
                }
                if (TrinketN.IsReady())
                {
                    TrinketN.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                    Utility.DelayAction.Add(40, () => Jump(position));
                }
                else if (SightStone.IsReady())
                {
                    SightStone.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                    Utility.DelayAction.Add(40, () => Jump(position));
                }
                else if (WardN.IsReady())
                {
                    WardN.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                    Utility.DelayAction.Add(40, () => Jump(position));
                }
                else if (EOTOasis.IsReady())
                {
                    EOTOasis.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                    Utility.DelayAction.Add(40, () => Jump(position));
                }
                else if (EOTEquinox.IsReady())
                {
                    EOTEquinox.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                    Utility.DelayAction.Add(40, () => Jump(position));
                }
                else if (EOTWatchers.IsReady())
                {
                    EOTWatchers.Cast(position);
                    LastTimeWardPlace = Utils.TickCount;
                    Utility.DelayAction.Add(40, () => Jump(position));
                }
            }
            else
            {
                W.Cast(obj);
            }
        }