Esempio n. 1
0
 public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (Q.CastCheck(gapcloser.Sender, "Gapcloser.Q"))
     {
         Q.Cast(gapcloser.Sender);
     }
 }
Esempio n. 2
0
 public void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range))
     {
         E.Cast(gapcloser.Sender);
     }
 }
Esempio n. 3
0
 public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (Q.CastCheck(gapcloser.Sender, "Gapcloser.Q"))
     {
         Q.Cast(gapcloser.Sender);
     }
 }
Esempio n. 4
0
File: Draven.cs Progetto: xioa123/CN
 public void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range))
     {
         E.Cast(gapcloser.Sender);
     }
 }
Esempio n. 5
0
 public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (E.CastCheck(gapcloser.Sender, "Gapcloser.E"))
     {
         if (E.Cast(Target) == Spell.CastStates.SuccessfullyCasted)
         {
             CastW(E.GetPrediction(Target).CastPosition);
         }
     }
 }
Esempio n. 6
0
 public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
     if (E.CastCheck(gapcloser.Sender, "Gapcloser.E"))
     {
         if (E.Cast(Target) == Spell.CastStates.SuccessfullyCasted)
         {
             CastW(E.GetPrediction(Target).CastPosition);
         }
     }
 }
Esempio n. 7
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            var unit = gapcloser.Sender;

            if (ConfigValue<bool>("GapcloserQ") && unit.IsValidTarget(Q.Range) && Q.IsReady())
                Q.Cast(unit);

            if (ConfigValue<bool>("GapcloserE") && unit.IsValidTarget(E.Range) && E.IsReady())
                E.Cast(unit);
        }
Esempio n. 8
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (R.CastCheck(gapcloser.Sender, "GapcloserR"))
            {
                R.Cast(Target, true);
            }
        }
Esempio n. 9
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (E.CastCheck(gapcloser.Sender, "GapcloserE"))
            {
                E.Cast(gapcloser.Start);
            }
        }
Esempio n. 10
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (E.CastCheck(gapcloser.Sender, "GapcloserE"))
            {
                E.Cast(gapcloser.Sender);
            }
        }
Esempio n. 11
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (W.CastCheck(gapcloser.Sender, "GapcloserW"))
            {
                W.CastOnUnit(gapcloser.Sender);
            }
        }
Esempio n. 12
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (R.CastCheck(gapcloser.Sender, "GapcloserR"))
            {
                R.Cast(Target, true);
            }
        }
Esempio n. 13
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (W.CastCheck(gapcloser.Sender, "Gapcloser.W"))
            {
                W.CastOnUnit(gapcloser.Sender, UsePackets);
            }
        }
Esempio n. 14
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            var unit = gapcloser.Sender;

            if (ConfigValue <bool>("GapcloserQ") && unit.IsValidTarget(Q.Range) && Q.IsReady())
            {
                Q.Cast(unit);
            }

            if (ConfigValue <bool>("GapcloserE") && unit.IsValidTarget(E.Range) && E.IsReady())
            {
                E.Cast(unit);
            }
        }
Esempio n. 15
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (Q.CastCheck(gapcloser.Sender, "GapcloserQ"))
            {
                if (Q.Cast())
                {
                    Orbwalking.ResetAutoAttackTimer();
                    Player.IssueOrder(GameObjectOrder.AttackUnit, gapcloser.Sender);
                }
            }
        }
Esempio n. 16
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (Q.CastCheck(gapcloser.Sender, "GapcloserQ"))
            {
                if (Q.Cast())
                {
                    Orbwalking.ResetAutoAttackTimer();
                    Player.IssueOrder(GameObjectOrder.AttackUnit, gapcloser.Sender);
                }
            }
        }
Esempio n. 17
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (Q.CastCheck(gapcloser.Sender, "GapcloserQ"))
            {
                Q.Cast(gapcloser.Sender, UsePackets);
            }

            if (R.CastCheck(gapcloser.Sender, "GapcloserR"))
            {
                R.Cast(gapcloser.Sender, UsePackets);
            }
        }
Esempio n. 18
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (E.CastCheck(gapcloser.Sender, "Gapcloser.E"))
            {
                E.CastOnUnit(gapcloser.Sender);

                if (W.IsReady())
                {
                    W.CastOnUnit(Player);
                }
            }
        }
Esempio n. 19
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (E.CastCheck(gapcloser.Sender, "Gapcloser.E"))
            {
                E.CastOnUnit(gapcloser.Sender);

                if (W.IsReady())
                {
                    W.CastOnUnit(Player);
                }
            }
        }
Esempio n. 20
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (Q.CastCheck(gapcloser.Sender, "GapcloserQ"))
            {
            }

            if (W.CastCheck(gapcloser.Sender, "GapcloserW"))
            {
            }

            if (E.CastCheck(gapcloser.Sender, "GapcloserE"))
            {
            }

            if (R.CastCheck(gapcloser.Sender, "GapcloserR"))
            {
            }
        }
Esempio n. 21
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (Q.CastCheck(gapcloser.Sender, "Gapcloser.Q"))
            {
                var pred = Q.GetPrediction(gapcloser.Sender);
                if (pred.Hitchance >= HitChance.Medium)
                {
                    Q.Cast(pred.CastPosition);
                    Q.Cast();
                }
            }

            if (W.CastCheck(gapcloser.Sender, "Gapcloser.W"))
            {
                W.CastOnUnit(gapcloser.Sender);
            }
        }
Esempio n. 22
0
 public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) 
 {
     if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range))
         E.CastOnUnit(gapcloser.Sender);
 }
Esempio n. 23
0
 /// <summary>
 ///     OnEnemyGapcloser
 /// </summary>
 /// <remarks>
 ///     override to Implement AntiGapcloser logic
 /// </remarks>
 /// <param name="gapcloser">ActiveGapcloser</param>
 public virtual void OnEnemyGapcloser(ActiveGapcloser gapcloser)
 {
 }
Esempio n. 24
0
        public override void OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (gapcloser.Sender.IsAlly)
            {
                return;
            }

            if (Q.CastCheck(gapcloser.Sender, "Gapcloser.Q"))
            {
                var pred = Q.GetPrediction(gapcloser.Sender);
                if (pred.Hitchance >= HitChance.Medium)
                {
                    Q.Cast(pred.CastPosition);
                    Q.Cast();
                }
            }

            if (W.CastCheck(gapcloser.Sender, "Gapcloser.W"))
            {
                W.CastOnUnit(gapcloser.Sender);
            }
        }