Exemple #1
0
        /// <summary>
        ///     Tries to load the champion which is being currently played.
        /// </summary>
        public static void LoadChampion()
        {
            switch (ObjectManager.Player.ChampionName)
            {
            case "Darius":
                Darius.OnLoad();
                break;

            case "Nautilus":
                Nautilus.OnLoad();
                break;

            case "Nunu":
                Nunu.OnLoad();
                break;

            case "Olaf":
                Olaf.OnLoad();
                break;

            case "Pantheon":
                Pantheon.OnLoad();
                break;

            case "Renekton":
                Renekton.OnLoad();
                break;

            case "Tryndamere":
                Tryndamere.OnLoad();
                break;

            case "Ryze":
                Ryze.OnLoad();
                break;

            case "Caitlyn":
                Caitlyn.OnLoad();
                break;

            case "Anivia":
                Anivia.OnLoad();
                break;

            default:
                Variables.IsLoaded = false;
                break;
            }
        }
Exemple #2
0
 private static void ManuelR()
 {
     if (!_combo["r"].Cast <KeyBind>().CurrentValue || !_r.IsReady())
     {
         return;
     }
     {
         var prophecyR = EntityManager.Heroes.Enemies.Where(x => x.IsValidTarget(_r.Range) && !SpellBuff(x) && !SpellShield(x) && !EntityManager.Heroes.Enemies.Where(y => y.NetworkId != x.NetworkId)
                                                            .Any(z => z.IsValidTarget() && new Geometry.Polygon.Rectangle(Caitlyn.Position, x.Position, 400).IsInside(z.ServerPosition)));
         var hedefR = TargetSelector.GetTarget(prophecyR, DamageType.Physical);
         if (hedefR == null)
         {
             return;
         }
         if (Caitlyn.CountEnemyHeroesInRangeWithPrediction(700, 600) == 0)
         {
             _r.Cast(hedefR);
         }
     }
 }
Exemple #3
0
        private void AutoWardLogic()
        {
            foreach (var enemy in Program.Enemies)
            {
                if (enemy.IsHPBarRendered)
                {
                    return;
                }
                var need = OKTWtracker.ChampionInfoList.Find(x => x.NetworkId == enemy.NetworkId);
                if (need == null || need.PredictedPos == null)
                {
                    continue;
                }


                var PPDistance = need.PredictedPos.LSDistance(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() && Quinn.getAutoW())
                    {
                        W.Cast();
                    }

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

                    if (Program.Combo && PPDistance < 1400 && Player.ChampionName == "Ashe" && E.IsReady() && Player.LSCountEnemiesInRange(800) == 0 && PortAIO.Champion.Ashe.Program.getAutoE())
                    {
                        E.Cast(Player.Position.LSExtend(need.PredictedPos, 5000));
                    }

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

                    if (!Orbwalker.IsAutoAttacking && PPDistance < 800 && Player.ChampionName == "Caitlyn" && W.IsReady() && Player.Mana > 200f && Caitlyn.getBushW() && Utils.TickCount - W.LastCastAttemptT > 2000)
                    {
                        W.Cast(need.PredictedPos);
                    }
                    if (!Orbwalker.IsAutoAttacking && PPDistance < 760 && Player.ChampionName == "Jhin" && E.IsReady() && Player.Mana > 200f && OneKeyToWin_AIO_Sebby.Champions.Jhin.getBushE() && Utils.TickCount - E.LastCastAttemptT > 2000)
                    {
                        E.Cast(need.PredictedPos);
                    }
                }


                if (timer < 4)
                {
                    if (getCheckBoxItem("AutoWardCombo") && Program.AIOmode != 2 && !Program.Combo)
                    {
                        return;
                    }
                    if (NavMesh.IsWallOfGrass(need.PredictedPos, 0))
                    {
                        if (PPDistance < 600 && getCheckBoxItem("AutoWard"))
                        {
                            if (TrinketN.IsReady())
                            {
                                TrinketN.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (RSightStone.IsReady())
                            {
                                RSightStone.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                            else if (SightStone.IsReady())
                            {
                                SightStone.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 (getCheckBoxItem("AutoWardBlue"))
                        {
                            if (FarsightOrb.IsReady())
                            {
                                FarsightOrb.Cast(need.PredictedPos);
                                need.LastVisableTime = Game.Time - 5;
                            }
                        }
                    }
                }
            }
        }
Exemple #4
0
        private static void InitChampions()
        {
            if (!SuppoetChampions.Contains(herosName))
            {
                Chat.Print("Flowers' ADC Series" + "[" + herosName + "]: Not Support!");
                return;
            }

            MyMenuExtensions.myMenu = Menu.AddMenu("Flowers' ADC Series: " + herosName);

            MyMenuExtensions.ComboMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Combo Settings");

            MyMenuExtensions.HarassMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Harass Settings");

            MyMenuExtensions.LaneClearMenu = MyMenuExtensions.myMenu.AddSubMenu(":: LaneClear Settings");

            MyMenuExtensions.JungleClearMenu = MyMenuExtensions.myMenu.AddSubMenu(":: JungleClear Settings");

            MyMenuExtensions.LastHitMenu = MyMenuExtensions.myMenu.AddSubMenu(":: LastHit Settings");

            MyMenuExtensions.FleeMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Flee Settings");

            MyMenuExtensions.KillStealMenu = MyMenuExtensions.myMenu.AddSubMenu(":: KillSteal Settings");

            MyMenuExtensions.MiscMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Misc Settings");
            MyManaManager.AddSpellFarm(MyMenuExtensions.MiscMenu);

            MyMenuExtensions.DrawMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Drawings Settings");

            switch (ObjectManager.Player.ChampionName)
            {
            case "Ashe":
                Ashe.Init();
                break;

            case "Caitlyn":
                Caitlyn.Init();
                break;

            case "Corki":
                Corki.Init();
                break;

            case "Draven":
                Draven.Init();
                break;

            case "Ezreal":
                Ezreal.Init();
                break;

            case "Graves":
                Graves.Init();
                break;

            case "Jayce":
                Jayce.Init();
                break;

            case "Jhin":
                Jhin.Init();
                break;

            case "Jinx":
                Jinx.Init();
                break;

            case "Kalista":
                Kalista.Init();
                break;

            case "Kindred":
                Kindred.Init();
                break;

            case "KogMaw":
                KogMaw.Init();
                break;

            case "Lucian":
                Lucian.Init();
                break;

            case "MissFortune":
                MissFortune.Init();
                break;

            case "Quinn":
                Quinn.Init();
                break;

            case "Sivir":
                Sivir.Init();
                break;

            case "Teemo":
                Teemo.Init();
                break;

            case "Tristana":
                Tristana.Init();
                break;

            case "TwistedFate":
                TwistedFate.Init();
                break;

            case "Twitch":
                Twitch.Init();
                break;

            case "Urgot":
                Urgot.Init();
                break;

            case "Varus":
                Varus.Init();
                break;

            case "Vayne":
                Vayne.Init();
                break;

            case "Xayah":
                Xayah.Init();
                break;
            }

            Chat.Print("Flowers' ADC Series" + "[" + herosName + "]: Init Successful! Made by NightMoon");
        }
Exemple #5
0
        private static void HasarGostergesi(EventArgs args)
        {
            foreach (var enemy in EntityManager.Heroes.Enemies.Where(x => !x.IsDead && x.IsHPBarRendered && _r.IsReady() && Caitlyn.Distance(x) < 2000 && x.VisibleOnScreen))
            {
                switch (enemy.Hero)
                {
                case Champion.Annie: _dikey = -1.8f; _yatay = -9; break;

                case Champion.Corki: _dikey = -1.8f; _yatay = -9; break;

                case Champion.Jhin: _dikey = -4.8f; _yatay = -9; break;

                case Champion.Darius: _dikey = 9.8f; _yatay = -2; break;

                case Champion.XinZhao: _dikey = 10.8f; _yatay = 2; break;

                default: _dikey = 9.8f; _yatay = 2; break;
                }
                if (!_drawings["RKillStealD"].Cast <CheckBox>().CurrentValue)
                {
                    continue;
                }
                var damage = RDamage(enemy);
                var hasarX = (enemy.TotalShieldHealth() - damage > 0 ? enemy.TotalShieldHealth() - damage : 0) / (enemy.MaxHealth + enemy.AllShield + enemy.AttackShield + enemy.MagicShield);
                var hasarY = enemy.TotalShieldHealth() / (enemy.MaxHealth + enemy.AllShield + enemy.AttackShield + enemy.MagicShield);
                var go     = new Vector2((int)(enemy.HPBarPosition.X + _yatay + hasarX * genislik), (int)enemy.HPBarPosition.Y + _dikey);
                var finish = new Vector2((int)(enemy.HPBarPosition.X + _yatay + hasarY * genislik) + 1, (int)enemy.HPBarPosition.Y + _dikey);
                Drawing.DrawLine(go, finish, yukseklik, Color.FromArgb(180, Color.Green));
            }
        }
Exemple #6
0
        private static void AutoKillR()
        {
            var autoKill = EntityManager.Heroes.Enemies.Where(x => x.IsValidTarget(_r.Range) && !SpellBuff(x) && !SpellShield(x));

            foreach (var autoKillTarget in autoKill.Where(x => TotalHealth(x) < RDamage(x) && !Caitlyn.IsInAutoAttackRange(x) && !(Caitlyn.CountEnemyHeroesInRangeWithPrediction(600, 350) >= 1) && _r.IsReady() && _r.IsInRange(x) && !Caitlyn.IsUnderEnemyturret()))
            {
                _r.Cast(autoKillTarget);
            }
        }
Exemple #7
0
 private static double RDamage(Obj_AI_Base d)
 {
     var damageR = Caitlyn.CalculateDamageOnUnit(d, DamageType.Physical, (float)new double[] { 250, 475, 700 }[_r.Level - 1] +Caitlyn.TotalAttackDamage / 100 * 200); return(damageR);
 }
Exemple #8
0
 private static void JunClear()
 {
     if (_jungleclear["q"].Cast <CheckBox>().CurrentValue&& _q.IsReady() && (Caitlyn.ManaPercent >= _jungleclear["JmanaP"].Cast <Slider>().CurrentValue))
     {
         var farmjungQ = EntityManager.MinionsAndMonsters.GetJungleMonsters(Caitlyn.ServerPosition, Caitlyn.GetAutoAttackRange()).OrderByDescending(x => x.MaxHealth).FirstOrDefault();
         if (farmjungQ != null)
         {
             _q.Cast(farmjungQ.ServerPosition);
         }
     }
     if (!_jungleclear["e"].Cast <CheckBox>().CurrentValue || !_e.IsReady() || (Caitlyn.ManaPercent < _jungleclear["JmanaP"].Cast <Slider>().CurrentValue))
     {
         return;
     }
     {
         var farmjungE = EntityManager.MinionsAndMonsters.Monsters.Where(x => x.IsValidTarget(Caitlyn.GetAutoAttackRange())).ToList();
         if (!farmjungE.Any())
         {
             return;
         }
         string[] monsters = { "SRU_Gromp", "SRU_Blue", "SRU_Red", "SRU_Razorbeak", "SRU_Krug", "SRU_Murkwolf", "SRU_RiftHerald", "SRU_Dragon_Fire", "SRU_Dragon_Earth", "SRU_Dragon_Air", "SRU_Dragon_Elder", "SRU_Dragon_Water", "SRU_Baron" };
         if (farmjungE.Count == 1 && farmjungE.Any(b => monsters.Any(x => x.Contains(b.BaseSkinName))))
         {
             _e.Cast(farmjungE.First());
         }
     }
 }