Пример #1
0
            public static void Active()
            {
                ComboLogics.CastQMultipleBarrels();
                ComboLogics.CastEBetween();

                Functions.castW();

                if (GetCheckBoxValue(MenuTypes.Settings, "rToSaveAlly"))
                {
                    var value = GetSliderValue(MenuTypes.Settings, "rToSaveAllyPercent");
                    ComboLogics.castRSaveAlly(value);
                }

                var targeR = TargetSelector.GetTarget(int.MaxValue, dmgType);

                if (targeR != null && !targeR.IsZombie && !targeR.HasUndyingBuff())
                {
                    if (GetCheckBoxValue(MenuTypes.Settings, "rKS"))
                    {
                        ComboLogics.castRKS(targeR);
                    }
                }


                var target = TargetSelector.GetTarget(highestRange, dmgType);

                if (target != null && !target.IsZombie && !target.HasUndyingBuff())
                {
                    if (GetCheckBoxValue(MenuTypes.Settings, "qKS") && Prediction.Health.GetPrediction(target, Q.CastDelay) <= GetDamage(SpellSlot.Q, target))
                    {
                        ComboLogics.castQAlone(target);
                    }

                    if (GetKeyBindValue(MenuTypes.Harass, "keyAutoHarass"))
                    {
                        if (GetCheckBoxValue(MenuTypes.Harass, "qAutoHarass"))
                        {
                            ComboLogics.castQ(target);
                        }

                        if (GetCheckBoxValue(MenuTypes.Harass, "eAutoHarass"))
                        {
                            ComboLogics.castE(target);
                            ComboLogics.CastEBetween();
                            ComboLogics.CastQMultipleBarrels();
                        }
                    }
                }
            }
Пример #2
0
            public static void Harass()
            {
                var target = TargetSelector.GetTarget(highestRange, dmgType);

                if (target != null && !target.IsZombie && !target.HasUndyingBuff())
                {
                    if (GetCheckBoxValue(MenuTypes.Harass, "qHarass"))
                    {
                        ComboLogics.castQAlone(target);
                    }

                    if (GetCheckBoxValue(MenuTypes.Harass, "eHarass"))
                    {
                        ComboLogics.castE(target);
                    }
                }
            }