Esempio n. 1
0
 static void ManualQE()
 {
     //var Target = TargetSelector.GetTarget(REQ.Range, Q.DamageType, true);
     if (QEM)//&& Target != null
     {
         if (HAMMER)
         {
             R.Cast();
         }
         else if (RQ.IsReady() && RE.IsReady())
         {
             RQ.Cast(Game.CursorPos);
             Utility.DelayAction.Add(
                 (int)(RQ.Delay), () => RE.Cast(getParalelVec(Game.CursorPos)));
             //RE.Cast(getParalelVec(Game.CursorPos));
         }
     }
 }
Esempio n. 2
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            RW.Range = Orbwalking.GetRealAutoAttackRange(Player);

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && AIO_Menu.Champion.Combo.UseE)
            {
                foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
                {
                    if (E.CanCast(target) && AIO_Func.isKillable(target, E) && HAMMER)
                    {
                        E.Cast(target);
                    }
                }
            }
            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed && AIO_Menu.Champion.Harass.UseE)
            {
                foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
                {
                    if (E.CanCast(target) && HAMMER && (R.IsReady() || !Player.HasBuff2("jaycehypercharge") && !Q.IsReady()))
                    {
                        E.Cast(target);
                    }
                }
            }
            if (Orbwalking.CanMove(10))
            {
                if (HAMMER)
                {
                    AIO_Func.SC(Q);
                    AIO_Func.SC(W);
                    if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)
                    {
                        AIO_Func.SC(E);
                    }
                }
                else
                {
                    AIO_Func.SC(RW);
                    if (!E.IsReady())
                    {
                        AIO_Func.SC(RQ, 0f, 0f, 1f, 150f); // 폭발범위 확인필요함.
                    }
                    else
                    {
                        AIO_Func.SC(REQ, 0f, 0f, 1f, 210f);
                    }
                }
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Flee && AIO_Menu.Champion.Flee.UseE)
            {
                if (HAMMER)
                {
                    R.Cast();
                }
                else if (RE.IsReady())
                {
                    RE.Cast(getParalelVec(Game.CursorPos));
                }
            }

            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ"))
            {
                KillstealQ();
            }

            ManualQE();
            AutoRE();
            if (AIO_Menu.Champion.Misc.getBoolValue("AutoR"))
            {
                AutoR();
            }
        }
Esempio n. 3
0
        static void Obj_AI_Hero_OnProcessSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args)
        {
            if (!sender.IsMe || Player.IsDead) //
            {
                return;
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && AIO_Menu.Champion.Combo.UseE || Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed && AIO_Menu.Champion.Harass.UseE)
            {//Player.Spellbook.GetSpell(SpellSlot.Q).Name
                if (args.SData.Name == Player.Spellbook.GetSpell(SpellSlot.Q).Name&& HeroManager.Enemies.Any(x => x.IsValidTarget(REQ.Range)) && RE.IsReady() && !HAMMER)
                {
                    //var Etarget = TargetSelector.GetTarget(REQ.Range, Q.DamageType);
                    //Utility.DelayAction.Add(
                    //        (int)(RQ.Delay), () => RE.Cast(getParalelVec(args.End)));
                    RQTime = Utils.GameTimeTickCount;
                    Utility.DelayAction.Add(
                        (int)(RQ.Delay), () => AIO_Func.sendDebugMsg("제이스 개같은 넘 !!"));
                    //if(Etarget != null)
                }
            }
        }