Example #1
0
 private static void Combo()
 {
     if (Q.IsReady() && Utilities.Enabled("qCombo"))
     {
         KalistaLogics.PierceCombo();
     }
     if (E.IsReady() && Utilities.Enabled("eCombo"))
     {
         KalistaLogics.RendCombo();
     }
 }
Example #2
0
        private static void Clear()
        {
            if (ObjectManager.Player.ManaPercent < Utilities.Slider("manaClear"))
            {
                return;
            }


            if (E.IsReady() && Utilities.Enabled("eClear"))
            {
                KalistaLogics.RendClear(Utilities.Slider("eClearCount"));
            }
        }
Example #3
0
 private static void Harass()
 {
     if (ObjectManager.Player.ManaPercent < Utilities.Slider("manaHarass"))
     {
         return;
     }
     if (Q.IsReady() && Utilities.Enabled("qHarass"))
     {
         KalistaLogics.PierceCombo();
     }
     if (E.IsReady() && Utilities.Enabled("eHarass"))
     {
         KalistaLogics.RendHarass(Utilities.Slider("eSpearCount"));
     }
 }
Example #4
0
        private static void Jungle()
        {
            if (ObjectManager.Player.ManaPercent < Utilities.Slider("manaJungle"))
            {
                return;
            }

            if (Q.IsReady() && Utilities.Enabled("qJungle"))
            {
                KalistaLogics.PierceJungleClear(Q);
            }
            if (E.IsReady() && Utilities.Enabled("eJungle"))
            {
                KalistaLogics.RendJungleClear();
            }
        }
Example #5
0
        private void KalistaOnUpdate(EventArgs args)
        {
            switch (Initializer.Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Harass();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                Clear();
                Jungle();
                break;
            }
            if (Utilities.Enabled("use.balista"))
            {
                KalistaLogics.Balista(Utilities.Slider("balista.minrange"), Utilities.Slider("balista.maxrange"), R);
            }
            if (Utilities.Enabled("use.skalista"))
            {
                KalistaLogics.SKalista(Utilities.Slider("skalista.minrange"), Utilities.Slider("skalista.maxrange"), R);
            }
            if (Utilities.Enabled("qKS"))
            {
                KalistaLogics.KillStealWithPierce();
            }
            if (Utilities.Enabled("eKS"))
            {
                KalistaLogics.KillStealWithRend();
            }
            if (Utilities.Enabled("qImmobile"))
            {
                KalistaLogics.ImmobilePierce();
            }
            if (Utilities.Enabled("saveSupport"))
            {
                KalistaLogics.SupportProtector(R);
            }
        }