Exemplo n.º 1
0
        public static void SluttyCombo()
        {
            if (Champion.HasBuff("RyzeR") &&
                MenuManager.UltimateMode)
            {
                UltimateMode(GameObjectType.AIHeroClient);
                return;
            }

            var qtarget = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical, false, true);
            var target  = TargetManager.GetChampionTarget(SpellManager.W.Range, DamageType.Magical);

            if (target != null && qtarget != null)
            {
                var bcount = Champion.GetBuffCount("ryzepassivestack");
                if (!Champion.HasBuff("ryzepassivecharged") && bcount > 0)
                {
                    switch (bcount)
                    {
                    case 1:
                        if (MenuManager.ComboUseQ)
                        {
                            SpellManager.CastQ(qtarget);
                        }
                        if (MenuManager.ComboUseE)
                        {
                            SpellManager.CastE(target);
                        }
                        if (MenuManager.ComboUseW)
                        {
                            SpellManager.CastW(target);
                        }
                        if (MenuManager.ComboUseR)
                        {
                            SpellManager.CastR(target);
                        }
                        break;

                    case 2:
                        if (MenuManager.ComboUseQ)
                        {
                            SpellManager.CastQ(qtarget);
                        }
                        if (MenuManager.ComboUseW)
                        {
                            SpellManager.CastW(target);
                        }
                        if (MenuManager.ComboUseE)
                        {
                            SpellManager.CastE(target);
                        }
                        if (MenuManager.ComboUseR)
                        {
                            SpellManager.CastR(target);
                        }
                        break;

                    case 3:
                        if (MenuManager.ComboUseQ)
                        {
                            SpellManager.CastQ(qtarget);
                        }
                        if (MenuManager.ComboUseE)
                        {
                            SpellManager.CastE(target);
                        }
                        if (MenuManager.ComboUseW)
                        {
                            SpellManager.CastW(target);
                        }
                        if (MenuManager.ComboUseR)
                        {
                            SpellManager.CastR(target);
                        }
                        break;

                    case 4:
                        if (MenuManager.ComboUseW)
                        {
                            SpellManager.CastW(target);
                        }
                        if (MenuManager.ComboUseQ)
                        {
                            SpellManager.CastQ(qtarget);
                        }
                        if (MenuManager.ComboUseE)
                        {
                            SpellManager.CastE(target);
                        }
                        if (MenuManager.ComboUseR)
                        {
                            SpellManager.CastR(target);
                        }
                        break;
                    }
                }
                else
                {
                    if (MenuManager.ComboUseW)
                    {
                        SpellManager.CastW(target);
                    }
                    if (MenuManager.ComboUseQ)
                    {
                        SpellManager.CastQ(qtarget);
                    }
                    if (MenuManager.ComboUseE)
                    {
                        SpellManager.CastE(target);
                    }
                    if (MenuManager.ComboUseR)
                    {
                        SpellManager.CastR(target);
                    }
                }

                if (MenuManager.ComboUseR &&
                    (Champion.GetBuffCount("ryzepassivestack") == 4 || Champion.HasBuff("ryzepassivecharged")) &&
                    !SpellManager.Q.IsReady() && !SpellManager.W.IsReady() && !SpellManager.E.IsReady())
                {
                    SpellManager.CastR(target);
                }
            }
        }
Exemplo n.º 2
0
        public static void UltimateMode(GameObjectType type, bool isMonster = false)
        {
            switch (type)
            {
            case GameObjectType.AIHeroClient:
            {
                if (SpellManager.Q.IsReady())
                {
                    var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical, false, true);
                    if (target != null)
                    {
                        SpellManager.CastQ(target);
                    }
                }
                if (SpellManager.W.IsReady())
                {
                    var target = TargetManager.GetChampionTarget(SpellManager.W.Range, DamageType.Magical);
                    if (target != null)
                    {
                        SpellManager.CastW(target);
                    }
                }
                if (SpellManager.E.IsReady())
                {
                    var target = TargetManager.GetChampionTarget(SpellManager.E.Range, DamageType.Magical);
                    if (target != null)
                    {
                        SpellManager.CastE(target);
                    }
                }
                break;
            }

            case GameObjectType.obj_AI_Minion:
            {
                if (isMonster)
                {
                    if (SpellManager.Q.IsReady())
                    {
                        var target = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.Magical, false, true, true);
                        if (target != null)
                        {
                            SpellManager.CastQ(target);
                        }
                    }
                    if (SpellManager.W.IsReady())
                    {
                        var target = TargetManager.GetMinionTarget(SpellManager.W.Range, DamageType.Magical, false, true);
                        if (target != null)
                        {
                            SpellManager.CastW(target);
                        }
                    }
                    if (SpellManager.E.IsReady())
                    {
                        var target = TargetManager.GetMinionTarget(SpellManager.E.Range, DamageType.Magical, false, true);
                        if (target != null)
                        {
                            SpellManager.CastE(target);
                        }
                    }
                }
                else
                {
                    if (SpellManager.Q.IsReady())
                    {
                        var target = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.Magical, false, false, true);
                        if (target != null)
                        {
                            SpellManager.CastQ(target);
                        }
                    }
                    if (SpellManager.W.IsReady())
                    {
                        var target = TargetManager.GetMinionTarget(SpellManager.W.Range, DamageType.Magical);
                        if (target != null)
                        {
                            SpellManager.CastW(target);
                        }
                    }
                    if (SpellManager.E.IsReady())
                    {
                        var target = TargetManager.GetMinionTarget(SpellManager.E.Range, DamageType.Magical);
                        if (target != null)
                        {
                            SpellManager.CastE(target);
                        }
                    }
                }
                break;
            }
            }
        }
Exemplo n.º 3
0
 public static void KsMode()
 {
     if (MenuManager.KsUseQ)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical, false, true, SpellManager.QDamage());
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.KsUseW)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.W.Range, DamageType.Magical, false, false, SpellManager.WDamage());
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.KsUseE)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.E.Range, DamageType.Magical, false, false, SpellManager.EDamage());
         if (target != null)
         {
             SpellManager.CastE(target);
         }
     }
 }
Exemplo n.º 4
0
 public static void LastHitMode()
 {
     if (Champion.HasBuff("RyzeR") &&
         MenuManager.UltimateMode)
     {
         UltimateMode(GameObjectType.obj_AI_Minion);
         return;
     }
     if (Champion.ManaPercent < MenuManager.LastHitMana)
     {
         return;
     }
     if (Orbwalker.CanAutoAttack)
     {
         return;
     }
     if (MenuManager.LastHitUseQ)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.Q.Range, DamageType.Magical, false, false, true, SpellManager.QDamage());
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.LastHitUseW)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.W.Range, DamageType.Magical, false, false, false, SpellManager.WDamage());
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.LastHitUseE)
     {
         var target = TargetManager.GetMinionTarget(SpellManager.E.Range, DamageType.Magical, false, false, false, SpellManager.EDamage());
         if (target != null)
         {
             SpellManager.CastE(target);
         }
     }
 }