Esempio n. 1
0
        public static void OnJungle()
        {
            var source = EntityManager.MinionsAndMonsters.GetJungleMonsters(Player.ServerPosition, Q.Range).OrderByDescending(a => a.MaxHealth).FirstOrDefault();

            if (source == null)
            {
                return;
            }
            if (Q.IsReady() && IllaoiMenu.jungleQ() && source.Distance(Player) <= Q.Range)
            {
                Q.Cast(source.Position);
            }
            if (W.IsReady() && IllaoiMenu.jungleW() && source.Distance(Player) <= W.Range)
            {
                W.Cast();
            }
            if (E.IsReady() && IllaoiMenu.jungleE() && source.Distance(Player) <= E.Range)
            {
                E.Cast(source.Position);
            }
        }