Exemple #1
0
        private static void Game_OnTick()
        {
            Logics.KS();
            Chat.Print(Calculation.getDmgPred(TargetSelector.GetTarget(float.MaxValue), 100, true).ToString());
            switch (OrbWalk.ActiveMode)
            {
            case Orbwalker.OrbwalkingMode.LastHit:
                Logics.LastHit();
                break;

            case Orbwalker.OrbwalkingMode.Harass:
                Logics.Harass();
                break;

            case Orbwalker.OrbwalkingMode.LaneClear:
                Logics.LaneClear();
                break;

            case Orbwalker.OrbwalkingMode.JungleClear:
                Logics.LaneClear();
                break;

            case Orbwalker.OrbwalkingMode.Combo:
                Logics.Combo();
                break;
            }
        }
Exemple #2
0
        public static void IgniteLogic()
        {
            var target = TargetSelector.GetTarget(Ignite.Range, TargetSelector.DamageType.True);

            if (Ignite != null && target != null)
            {
                if (Calculation.getDmgPred(target, (Ignite.Range - target.Distance(Cassio.Player)) / target.MovementSpeed, true) > target.Health)
                {
                    Ignite.Cast(target);
                }
            }
        }
Exemple #3
0
        private static void Rduel(AIHeroClient target)
        {
            var Rpred = R.GetPrediction(target);

            if (!Q.IsReady() && !W.IsReady() && !E.IsReady() && Cassio.Player.HealthPercent < 10) // ult en finisher ?
            {
                R.Cast(target);
            }
            if (!target.IsFacing(Cassio.Player))
            {
                return;
            }
            Console.Write("R dmg pred on " + target.ChampionName + " : " + Calculation.getDmgPred(target, 4, Ignite.IsReady()) + ", sa vie : " + target.Health + "\n");
            if ((Calculation.getDmgPred(target, 4, Ignite.IsReady()) > target.Health) && (Rpred.Hitchance >= HitChance.Medium) && (target.HealthPercent > Cassio.Player.HealthPercent / 3)) // Doesn't ult if enemy % health < your % health / 3
            {
                R.Cast(Rpred.CastPosition);
            }
        }