Exemplo n.º 1
0
        private static void Interrupter_OnInterruptableSpell(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs e)
        {
            if (sender.IsEnemy && sender.IsValid)
            {
                if (NamiMenu.CheckBox(NamiMenu.Misc, "Interrupter"))
                {
                    if (sender.IsValidTarget(Q.Range))
                    {
                        var QPred = Q.GetPrediction(sender);

                        if (QPred.HitChancePercent >= NamiMenu.Slider(NamiMenu.Principal, "QPred"))
                        {
                            Q.Cast(QPred.UnitPosition);
                        }
                    }

                    if (e.DangerLevel == DangerLevel.High)
                    {
                        if (sender.IsValidTarget(R.Range))
                        {
                            var RPred = R.GetPrediction(sender);

                            if (RPred.HitChancePercent >= NamiMenu.Slider(NamiMenu.Principal, "RPred"))
                            {
                                R.Cast(RPred.UnitPosition);
                            }
                        }
                    }
                }
            }
        }
Exemplo n.º 2
0
        public static void Init()
        {
            if (NamiMenu.CheckBox(NamiMenu.Misc, "SkinHack"))
            {
                Player.Instance.SetSkinId(NamiMenu.Slider(NamiMenu.Misc, "SkinID"));
            }

            if (NamiMenu.Keybind(NamiMenu.Misc, "Reset"))
            {
                Player.Instance.SetModel(Player.Instance.ChampionName);
            }
        }
Exemplo n.º 3
0
 public static void Init()
 {
     foreach (var Ally in EntityManager.Heroes.Allies.Where(x => x.Distance(Player.Instance) <= Nami.W.Range))
     {
         if (NamiMenu.CheckBox(NamiMenu.Ally, Ally.ChampionName + "/W"))
         {
             if (Ally.HealthPercent <= NamiMenu.Slider(NamiMenu.Ally, "Min"))
             {
                 Nami.W.Cast(Ally);
             }
         }
     }
 }
Exemplo n.º 4
0
        private static void Gapcloser_OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e)
        {
            if (sender.IsEnemy && sender.IsValid)
            {
                if (NamiMenu.CheckBox(NamiMenu.Misc, "Gapcloser"))
                {
                    if (sender.IsValidTarget(Q.Range))
                    {
                        var QPred = Q.GetPrediction(sender);

                        if (QPred.HitChancePercent >= NamiMenu.Slider(NamiMenu.Principal, "QPred"))
                        {
                            Q.Cast(QPred.UnitPosition);
                        }
                    }
                }
            }
        }