Esempio n. 1
0
        public override void KillSteal()
        {
            if (IsCastingR)
            {
                return;
            }

            foreach (var spell in SpellList.Where(s => s.IsReady()))
            {
                if (KillStealMenu.checkbox(spell.Slot + "ks") && spell.GetKStarget() != null)
                {
                    if (spell == R && !KillStealMenu.checkbox("DontUlt" + spell.GetKStarget().ID()))
                    {
                        spell.Cast(spell.GetKStarget());
                    }

                    spell.Cast(spell.GetKStarget());
                }

                if (spell != R)
                {
                    if (KillStealMenu.checkbox(spell.Slot + "js") && spell.GetJStarget() != null)
                    {
                        spell.Cast(spell.GetJStarget());
                    }
                }
            }
        }
Esempio n. 2
0
        public override void KillSteal()
        {
            if (KillStealMenu.checkbox(Q.Slot + "ks") && Q.GetKStarget() != null)
            {
                Q.Cast(Q.GetKStarget());
            }

            if (KillStealMenu.checkbox(Q.Slot + "js") && Q.GetJStarget() != null)
            {
                Q.Cast(Q.GetJStarget());
            }
        }
Esempio n. 3
0
        public override void KillSteal()
        {
            foreach (var spell in SpellList.Where(s => s != R))
            {
                if (KillStealMenu.checkbox(spell.Slot + "ks"))
                {
                    if (spell.IsReady() && spell.GetKStarget() != null)
                    {
                        if (spell == Q)
                        {
                            if (!Q.IsCharging)
                            {
                                Q.StartCharging();
                                return;
                            }

                            if (Q.IsCharging && Q.IsInRange(Q.GetKStarget()))
                            {
                                Q.Cast(Q.GetKStarget(), Q.hitchance(Menuini));
                            }
                        }
                        else
                        {
                            spell.Cast(spell.GetKStarget());
                        }
                    }
                }

                if (KillStealMenu.checkbox(spell.Slot + "js"))
                {
                    if (spell.IsReady() && spell.GetJStarget() != null)
                    {
                        if (spell == Q)
                        {
                            if (!Q.IsCharging)
                            {
                                Q.StartCharging();
                                return;
                            }

                            if (Q.IsCharging && Q.IsInRange(Q.GetJStarget()))
                            {
                                Q.Cast(Q.GetJStarget(), Q.hitchance(Menuini));
                            }
                        }
                        else
                        {
                            spell.Cast(spell.GetJStarget());
                        }
                    }
                }
            }
        }
Esempio n. 4
0
File: Azir.cs Progetto: jitart/adc
        public override void KillSteal()
        {
            foreach (var spell in SpellList.Where(s => s != W && s != E))
            {
                if (KillStealMenu.checkbox(spell.Slot + "ks") && spell.GetKStarget() != null)
                {
                    spell.Cast(spell.GetKStarget());
                }

                if (KillStealMenu.checkbox(spell.Slot + "js") && spell.GetJStarget() != null)
                {
                    spell.Cast(spell.GetJStarget());
                }
            }
        }