Beispiel #1
0
 public static void CounterCombo()
 {
     if (Champion.HasBuff("RyzeR") &&
         MenuManager.UltimateMode)
     {
         UltimateMode(GameObjectType.AIHeroClient);
         return;
     }
     if (MenuManager.ComboUseW)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.W.Range, DamageType.Magical);
         if (target != null)
         {
             SpellManager.CastW(target);
         }
     }
     if (MenuManager.ComboUseQ)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical, false, true);
         if (target != null)
         {
             SpellManager.CastQ(target);
         }
     }
     if (MenuManager.ComboUseE)
     {
         var target = TargetManager.GetChampionTarget(SpellManager.E.Range, DamageType.Magical);
         if (target != null)
         {
             SpellManager.CastE(target);
         }
     }
     if (MenuManager.ComboUseR)
     {
         if (Champion.HasBuff("ryzepassivecharged") ||
             Champion.GetBuffCount("ryzepassivestack") >= MenuManager.ComboStacks)
         {
             var target = TargetManager.GetChampionTarget(SpellManager.Q.Range, DamageType.Magical);
             if (target != null)
             {
                 SpellManager.CastR(target);
             }
         }
     }
 }
Beispiel #2
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);
                }
            }
        }