Esempio n. 1
0
        public void laneClear()
        {
            var minions = ObjectManager.Get <Obj_AI_Minion>().Where(minion => minion.IsValid() && Player.Instance.IsInAutoAttackRange(minion)).FirstOrDefault();

            if (minions == null)
            {
                return;
            }
            if (KindredSpells.privQ.IsReady() && KindredMenu.useQlc())
            {
                Player.CastSpell(SpellSlot.Q, Game.CursorPos);
            }
            if (KindredSpells.privW.IsReady() && KindredMenu.useWlc())
            {
                KindredSpells.privW.Cast(minions);
            }
            if (KindredSpells.privE.IsReady() && KindredMenu.useElc())
            {
                KindredSpells.privE.Cast(minions);
            }
        }