コード例 #1
0
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("PratikHack LeeSin V1", "LeeSinBuddyMenu");
            menu.AddGroupLabel("Hoşgeldiniz / Welcome");
            menu.AddSeparator();
            menu.AddLabel("Made by PratikHack");
            menu.AddLabel("www.youtube.com/c/PratikHack01");
            menu.AddLabel("www.fb.com/PratikHackOfficial");

            DrawingMenu = menu.AddSubMenu("Drawing Settings", "menuleesin");
            DrawingMenu.Add("drawQ1", new CheckBox("Draw Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Draw Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Draw W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Draw E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Draw E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Draw R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Script yüklendi gene iyisin :).", System.Drawing.Color.BlueViolet);
        }
コード例 #2
0
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("LeeSin - Lolscripts.net", "LeeSin - Lolscripts.net");
            menu.AddGroupLabel("LeeSin - Lolscripts.net");
            menu.AddSeparator();
            menu.AddLabel("Lolscripts.net");
            menu.AddLabel("Lolscripts.net");
            menu.AddLabel("Lolscripts.net");

            DrawingMenu = menu.AddSubMenu("Circulos Config", "Menu");
            DrawingMenu.Add("drawQ1", new CheckBox("Circulo Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Circulo Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Circulo W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Circulo E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Circulo E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Circulo R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Lee Sin - Lolscripts.net cargado.", System.Drawing.Color.BlueViolet);
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: tekintr/Elobuddy
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("Fluxy's LeeSinBuddy", "LeeSinBuddyMenu");
            menu.AddGroupLabel("Fluxy's LeeSinBuddy");
            menu.AddSeparator();
            menu.AddLabel("Yapimci By Fluxy");
            menu.AddLabel("Turkce Ceviri TekinTR");
            menu.AddLabel("Iyi oyunlar :P");

            DrawingMenu = menu.AddSubMenu("Cizim Ayarlari", "menuleesin");
            DrawingMenu.Add("drawQ1", new CheckBox("Goster Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Goster Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Goster W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Goster E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Goster E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Goster R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Fluxy's Lee Sin Buddy Yuklendi Ceviri TekinTR.", System.Drawing.Color.BlueViolet);
        }
コード例 #4
0
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("Fluxy's LeeSinBuddy", "LeeSinBuddyMenu");
            menu.AddGroupLabel("Fluxy's LeeSinBuddy");
            menu.AddSeparator();
            menu.AddLabel("Made By Fluxy");
            menu.AddLabel("fleshlit by finn");
            menu.AddLabel("no jquery here :P");

            DrawingMenu = menu.AddSubMenu("Drawing Settings", "menuleesin");
            DrawingMenu.Add("drawQ1", new CheckBox("Draw Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Draw Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Draw W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Draw E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Draw E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Draw R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Fluxy's Lee Sin Buddy Loaded.", System.Drawing.Color.BlueViolet);
        }
コード例 #5
0
        public static bool SmiteQCast(Obj_AI_Base target)
        {
            if (target == null)
            {
                return(false);
            }

            var pred = Program.Q.GetPrediction(target);

            if (pred.HitChance >= HitChance.High)
            {
                Program.Q.Cast(pred.CastPosition);
                return(true);
            }
            if (pred.CollisionObjects.Count() == 1 && Smiter.Smite.IsReady() && Smiter.SmiteMenu["smiteQ"].Cast <CheckBox>().CurrentValue)
            {
                var unit = pred.CollisionObjects[0];
                if ((unit.IsMinion() || EntityManager.MinionsAndMonsters.CombinedAttackable.Any(a => a.NetworkId == unit.NetworkId)) && unit.Health <= Smiter.GetSmiteDamage() && unit.IsValidTarget(Smiter.Smite.Range))
                {
                    Program.Q.Cast(pred.CastPosition);
                    Core.DelayAction(delegate { Smiter.Smite.Cast(unit); }, 250);
                    return(true);
                }
            }
            return(false);
        }