示例#1
0
        public static void Game_OnGameLoad()
        {
            // Champ validation
            if (player.ChampionName != CHAMP_NAME)
            {
                return;
            }

            // Define spells
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 600);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 700);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, rangeE);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 700);

            // Finetune spells
            Q.SetTargetted(0.25f, 2000);
            W.SetSkillshot(0.5f, 300, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0, 80, speedE, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            EELO = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.E, 525, SkillShotType.Linear, 250, int.MaxValue, 100);
            EELO.AllowedCollisionCount = int.MaxValue;

            // Create menu
            SetupMenu();

            // Register events
            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Orbwalker.OnPreAttack        += OrbwalkingOnBeforeAttack;

            EloBuddy.SDK.Events.Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            EloBuddy.SDK.Events.Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }
示例#2
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = new Menu("AutoKill", "AutoKill", true);
            Menu.AddBool("Ignite", "Cast Ignite");
            Menu.AddBool("Smite", "Cast Smite");
            Menu.AddBool("AA", "Use AutoAttack");

            Menu.AddToMainMenu();

            var igniteSlot = Player.GetSpellSlot("summonerdot");

            if (igniteSlot.IsValid())
            {
                Ignite = new Spell(igniteSlot, 600);
                Ignite.SetTargetted(.172f, 20);
            }

            var smite = Player.Spellbook.Spells.FindAll(h => h.Name.ToLower().Contains("smite")).FirstOrDefault();

            if (smite != null && smite.Slot.IsValid())
            {
                Smite = new Spell(smite.Slot, 760);
                Smite.SetTargetted(.333f, 20);
            }

            Game.OnUpdate += Game_OnGameUpdate;
        }
示例#3
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = MainMenu.AddMenu("Summoners", "Summoners");
            Menu.Add("SmiteManagerEnabled", new CheckBox("Load Smite Manager"));
            Menu.Add("IgniteManagerEnabled", new CheckBox("Load Ignite Manager"));

            var smite = ObjectManager.Player.Spellbook.Spells.FirstOrDefault(h => h.Name.ToLower().Contains("smite"));

            if (smite != null && !smite.Slot.Equals(SpellSlot.Unknown))
            {
                Smite = new LeagueSharp.Common.Spell(smite.Slot, 500);
                Smite.SetTargetted(.333f, 20);

                if (Menu["SmiteManagerEnabled"].Cast<CheckBox>().CurrentValue)
                {
                    SmiteManager.Initialize();
                }
            }

            var igniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot");

            if (!igniteSlot.Equals(SpellSlot.Unknown))
            {
                Ignite = new LeagueSharp.Common.Spell(igniteSlot, 600);
                Ignite.SetTargetted(.172f, 20);

                if (Menu["IgniteManagerEnabled"].Cast<CheckBox>().CurrentValue)
                {
                    IgniteManager.Initialize();
                }
            }
        }
        static SpellManager()
        {
            Q = new Spell(SpellSlot.Q, 340 + 500);
            Q.SetSkillshot(.135f, 80, 1600, false, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 800);
            W.SetSkillshot(.38f, 0, 0, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 500);
            E.SetTargetted(0, 0);

            R = new Spell(SpellSlot.R, 500);
            R.SetTargetted(.672f, 1200);

            var igniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot");

            if (!igniteSlot.Equals(SpellSlot.Unknown))
            {
                Ignite = new Spell(igniteSlot, 600);
                Ignite.SetTargetted(.172f, 20);
            }

            var smite = ObjectManager.Player.Spellbook.Spells.FirstOrDefault(h => h.Name.ToLower().Contains("smite"));

            if (smite != null && !smite.Slot.Equals(SpellSlot.Unknown))
            {
                Smite = new Spell(smite.Slot, 500);
                Smite.SetTargetted(.333f, 20);
                SmiteManager.Initialize();
            }
        }
示例#5
0
 private void SkillSet()
 {
     try
     {
         _Q = new Spell(SpellSlot.Q, 720);
         _Q.SetTargetted(0.5f, 1500f);
         _W = new Spell(SpellSlot.W, 700);
         _W.SetSkillshot(0.6f, 220f, 1450f, false, SkillshotType.SkillshotCircle);
         _E = new Spell(SpellSlot.E, 900);
         _E.SetSkillshot(0.3f, 55f, 1650f, true, SkillshotType.SkillshotLine);
         _R = new Spell(SpellSlot.R, 720);
         {
             SpellList.Add(_Q);
             SpellList.Add(_W);
             SpellList.Add(_E);
             SpellList.Add(_R);
         }
     }
     catch (Exception)
     {
         if (NowTime() > ErrorTime)
         {
             Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 01");
             ErrorTime = TickCount(10000);
         }
     }
 }
示例#6
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (champName != Player.ChampionName) return;
            #region Spells
            Q = new Spell(SpellSlot.Q, 610);
            Q.SetTargetted(0.25f, 2150f);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, 980);
            R = new Spell(SpellSlot.R);
            R.SetSkillshot(0.9f, 100, float.MaxValue, false, SkillshotType.SkillshotCircle);
            Rzone = 500;
            RdeathDaughter = 200;
            Ezone = 340;
            Econnection = 680;
            #endregion

            Game.PrintChat("<b><font color='#8A008A'>Le</font><font color='#FF6600'>plank</font></b> " + version + " loaded - By <font color='#6666FF'>Brikovich</font> & <font color='#6666FF'>Baballev</font>");
            Game.PrintChat("Don't forget to <font color='#00CC00'><b>Upvote</b></font> <b><font color='#8A008A'>Le</font><font color='#FF6600'>plank</font></b> in the Assembly DB if you like it ^_^");
            Menus.MenuIni();
            Updater.Update();

            //Events
            GameObject.OnCreate += BarrelsManager._OnCreate;
            Game.OnUpdate += BarrelsManager._OnDelete;
            //Game.OnUpdate += BarrelsManager._DebugZone;
            Game.OnUpdate += Gangplank._Orbwalking;
            Drawing.OnDraw += Drawings._OnDraw;
        }
示例#7
0
        public static void Game_OnGameLoad()
        {
            // Champ validation
            if (player.ChampionName != CHAMP_NAME)
                return;

            // Define spells
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 600);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 700);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, rangeE);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 700);

            // Finetune spells
            Q.SetTargetted(0.25f, 2000);
            W.SetSkillshot(0.5f, 300, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0, 80, speedE, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            EELO = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.E, 525, SkillShotType.Linear, 250, int.MaxValue, 100);
            EELO.AllowedCollisionCount = int.MaxValue;

            // Create menu
            SetupMenu();

            // Register events
            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Orbwalker.OnPreAttack += OrbwalkingOnBeforeAttack;

            EloBuddy.SDK.Events.Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            EloBuddy.SDK.Events.Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }
示例#8
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 650f, TargetSelector.DamageType.Magical);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, 700f, TargetSelector.DamageType.Magical);
            R = new Spell(SpellSlot.R, 500f, TargetSelector.DamageType.Physical);

            Q.SetTargetted(0.25f, 1400f);
            E.SetSkillshot(0.25f, 80f * (float)Math.PI / 180, float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.25f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            
            AIO_Menu.Champion.Combo.addUseQ();
            AIO_Menu.Champion.Combo.addUseW();
            AIO_Menu.Champion.Combo.addUseE();
            AIO_Menu.Champion.Combo.addUseR();

            AIO_Menu.Champion.Harass.addUseQ();
            AIO_Menu.Champion.Harass.addUseW();
            AIO_Menu.Champion.Harass.addUseE();
            AIO_Menu.Champion.Harass.addIfMana();

            AIO_Menu.Champion.Lasthit.addUseQ();
            AIO_Menu.Champion.Lasthit.addIfMana();
    
            AIO_Menu.Champion.Laneclear.addUseQ();
            AIO_Menu.Champion.Laneclear.addUseW();
            AIO_Menu.Champion.Laneclear.addUseE();
            AIO_Menu.Champion.Laneclear.addUseR(false);
            AIO_Menu.Champion.Laneclear.addIfMana();

            AIO_Menu.Champion.Jungleclear.addUseQ();
            AIO_Menu.Champion.Jungleclear.addUseW();
            AIO_Menu.Champion.Jungleclear.addUseE();
            AIO_Menu.Champion.Jungleclear.addUseR(false);
            AIO_Menu.Champion.Jungleclear.addIfMana();
            
            AIO_Menu.Champion.Flee.addUseR();
            AIO_Menu.Champion.Flee.addIfMana();

            AIO_Menu.Champion.Misc.addHitchanceSelector();
            AIO_Menu.Champion.Misc.addItem("KillstealQ", true);
            AIO_Menu.Champion.Misc.addItem("KillstealE", true);
            AIO_Menu.Champion.Misc.addItem("KillstealR", false);
            AIO_Menu.Champion.Misc.addUseAntiGapcloser();
            AIO_Menu.Champion.Misc.addUseInterrupter();
            AIO_Menu.Champion.Drawings.addQrange();
            AIO_Menu.Champion.Drawings.addErange();
            AIO_Menu.Champion.Drawings.addRrange();
            AIO_Menu.Champion.Drawings.addItem("R Timer", new Circle(false, Color.LightGreen));
            
            AIO_Menu.Champion.Drawings.addDamageIndicator(getComboDamage);

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Orbwalking.AfterAttack += Orbwalking_AfterAttack;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            
        }
示例#9
0
        public void LoadOKTW()
        {
            Q = new Spell(SpellSlot.Q, 1050);
            Qext = new Spell(SpellSlot.Q, 1650);
            QextCol = new Spell(SpellSlot.Q, 1650);
            Q2 = new Spell(SpellSlot.Q, 600);
            W = new Spell(SpellSlot.W);
            W2 = new Spell(SpellSlot.W, 350);
            E = new Spell(SpellSlot.E, 650);
            E2 = new Spell(SpellSlot.E, 240);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.25f, 80, 1200, true, SkillshotType.SkillshotLine);
            Qext.SetSkillshot(0.25f, 80, 1600, false, SkillshotType.SkillshotLine);
            QextCol.SetSkillshot(0.25f, 80, 1600, true, SkillshotType.SkillshotLine);
            Q2.SetTargetted(0.25f, float.MaxValue);
            E.SetSkillshot(0.1f, 120, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E2.SetTargetted(0.25f, float.MaxValue);

            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("noti", "Show notification", true).SetValue(false));
            foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team))
                Config.SubMenu(Player.ChampionName).SubMenu("Harras").AddItem(new MenuItem("haras" + enemy.ChampionName, enemy.ChampionName).SetValue(true));
            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate += OnUpdate;
            Orbwalking.BeforeAttack += BeforeAttack;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
示例#10
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            Spell = new Spell(SpellSlot.Q, 625);
            Spell.SetTargetted(.25f, 1400f);
        }
示例#11
0
        public void LoadOKTW()
        {
            Q = new Spell(SpellSlot.Q, 1000);
            E = new Spell(SpellSlot.E, 700);
            W = new Spell(SpellSlot.W, 2100);
            R = new Spell(SpellSlot.R, 550);

            Q.SetSkillshot(0.25f, 90f, 1550, true, SkillshotType.SkillshotLine);
            E.SetTargetted(0.25f, 2000f);

            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw only ready spells", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("wRange", "W range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("eRange", "E range", true).SetValue(false));

            Config.SubMenu(Player.ChampionName).SubMenu("Q config").AddItem(new MenuItem("autoQ", "Auto Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q config").AddItem(new MenuItem("harrasQ", "Harass Q", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("E config").AddItem(new MenuItem("autoE", "Auto E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("E config").AddItem(new MenuItem("harrasE", "Harass E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("E config").AddItem(new MenuItem("AGC", "AntiGapcloser E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("E config").AddItem(new MenuItem("Int", "Interrupter E", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).AddItem(new MenuItem("autoW", "Auto W", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).AddItem(new MenuItem("autoR", "Auto R in shop", true).SetValue(true));

            Game.OnUpdate += Game_OnGameUpdate;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw += Drawing_OnDraw;
            Orbwalking.AfterAttack += afterAttack;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
        }
示例#12
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            // Validate champ, detuks should do this everywhere :D
            if (player.ChampionName != CHAMP_NAME)
                return;

            // Initialize spells
            Q = new Spell(SpellSlot.Q, 1050);
            W = new Spell(SpellSlot.W, 900);
            E = new Spell(SpellSlot.E, 625);
            R = new Spell(SpellSlot.R, 750);

            // Add to spell list
            spellList.AddRange(new[] { Q, W, E, R });

            // Finetune spells
            Q.SetSkillshot(0.25f, 80, 1200, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(1, 200, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetTargetted(0.25f, float.MaxValue);
            R.SetTargetted(0.25f, 1000);

            // Setup menu
            SetuptMenu();

            // Initialize DamageIndicator
            CustomDamageIndicator.Initialize(GetHPBarComboDamage);
            CustomDamageIndicator.Color = Color.Black;

            // Register event handlers
            Game.OnGameUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = new Menu("Summoners", "Summoners");
            Menu.AddBool("SmiteManagerEnabled", "Load Smite Manager");
            Menu.AddBool("IgniteManagerEnabled", "Load Ignite Manager");
            Bootstrap.Menu.AddSubMenu(Menu);

            var smite = ObjectManager.Player.Spellbook.Spells.FirstOrDefault(h => h.Name.ToLower().Contains("smite"));

            if (smite != null && !smite.Slot.Equals(SpellSlot.Unknown))
            {
                Smite = new Spell(smite.Slot, 500);
                Smite.SetTargetted(.333f, 20);

                if (Menu.Item("SmiteManagerEnabled").IsActive())
                {
                    SmiteManager.Initialize();
                }
            }

            var igniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot");

            if (!igniteSlot.Equals(SpellSlot.Unknown))
            {
                Ignite = new Spell(igniteSlot, 600);
                Ignite.SetTargetted(.172f, 20);

                if (Menu.Item("IgniteManagerEnabled").IsActive())
                {
                    IgniteManager.Initialize();
                }
            }
        }
示例#14
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = MainMenu.AddMenu("Summoners", "Summoners");
            Menu.Add("SmiteManagerEnabled", new CheckBox("Load Smite Manager"));
            Menu.Add("IgniteManagerEnabled", new CheckBox("Load Ignite Manager"));

            var smite = ObjectManager.Player.Spellbook.Spells.FirstOrDefault(h => h.Name.ToLower().Contains("smite"));

            if (smite != null && !smite.Slot.Equals(SpellSlot.Unknown))
            {
                Smite = new LeagueSharp.Common.Spell(smite.Slot, 500);
                Smite.SetTargetted(.333f, 20);

                if (Menu["SmiteManagerEnabled"].Cast <CheckBox>().CurrentValue)
                {
                    SmiteManager.Initialize();
                }
            }

            var igniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot");

            if (!igniteSlot.Equals(SpellSlot.Unknown))
            {
                Ignite = new LeagueSharp.Common.Spell(igniteSlot, 600);
                Ignite.SetTargetted(.172f, 20);

                if (Menu["IgniteManagerEnabled"].Cast <CheckBox>().CurrentValue)
                {
                    IgniteManager.Initialize();
                }
            }
        }
示例#15
0
        static SpellManager()
        {
            Q = new Spell(SpellSlot.Q, 700);
            Q.SetTargetted(.401f, 2000);

            W = new Spell(SpellSlot.W, 600);
            W.SetSkillshot(.5f, 100, 2000, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 950);
            E.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine);

            ER = new Spell(SpellSlot.R, 950);
            ER.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine);

            EPrediction = new Spell(SpellSlot.E, 950);
            EPrediction.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine);

            R = new Spell(SpellSlot.R, 720);
            {
                SpellList.Add(Q);
                SpellList.Add(W);
                SpellList.Add(E);
                SpellList.Add(R);
            }
        }
示例#16
0
        public static void Init()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 720);
            Q.SetTargetted(0.5f, 1500f);

            W = new LeagueSharp.Common.Spell(SpellSlot.W, 600 + 80);
            W.SetSkillshot(0.6f, 140f, 1450f, false, SkillshotType.SkillshotCircle);

            E = new LeagueSharp.Common.Spell(SpellSlot.E, 820);
            E.SetSkillshot(0.3f, 55f, 1650f, true, SkillshotType.SkillshotLine);

            R = new LeagueSharp.Common.Spell(SpellSlot.R);

            Q2 = new LeagueSharp.Common.Spell(SpellSlot.R, 660);
            Q2.SetTargetted(0.5f, 1500f);

            W2 = new LeagueSharp.Common.Spell(SpellSlot.R, 600 + 80);
            W2.SetSkillshot(0.6f, 180f, 1450f, false, SkillshotType.SkillshotCircle);

            E2 = new LeagueSharp.Common.Spell(SpellSlot.R, 820);
            E2.SetSkillshot(0.3f, 55f, 1650f, true, SkillshotType.SkillshotLine);

            SpellList.AddRange(new[] { Q, W, E });

            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
示例#17
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            Spell = new Spell(SpellSlot.R, 3000);
            Spell.SetTargetted(0.7f, 200f);
        }
示例#18
0
        public static void OnLoad(EventArgs args)
        {
            if (Player.ChampionName != "Jayce") return;
            MenuConfig.OnLoad();
            //ranged
            Q = new Spell(SpellSlot.Q, 1500);
            W = new Spell(SpellSlot.W, int.MaxValue);
            E = new Spell(SpellSlot.E, 600);

            //   melee
            Qm = new Spell(SpellSlot.Q, 600);
            Wm = new Spell(SpellSlot.W, int.MaxValue);
            Em = new Spell(SpellSlot.E, 240);
            R = new Spell(SpellSlot.R, int.MaxValue);

            Q.SetSkillshot(0.3f, 80f, 1500, true, SkillshotType.SkillshotLine);
            Qm.SetTargetted(0.25f, float.MaxValue);
            Em.SetTargetted(0.25f, float.MaxValue);
            Game.OnUpdate += OnUpdate;
            Spellbook.OnCastSpell += OnCastSpell;
            Drawing.OnDraw += OnDraw;
            Game.OnUpdate += GeneralOnUpdate;
            Obj_AI_Base.OnDoCast += OnDoCastRange;
            Obj_AI_Base.OnDoCast += OnDoCastMelee;
            Obj_AI_Base.OnDoCast += LaneClear;
            CustomEvents.Unit.OnDash += OnDash;
            AntiGapcloser.OnEnemyGapcloser += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterrupt;
        }
示例#19
0
        public static void OnGameLoad()
        {
            if (Player.ChampionName != "Lucian")
            {
                return;
            }
            Chat.Print("Hoola Lucian - Loaded Successfully, Good Luck! :)");
            Q  = new Spell(SpellSlot.Q, 675);
            Q1 = new Spell(SpellSlot.Q, 1200);
            W  = new Spell(SpellSlot.W, 1200, DamageType.Magical);
            E  = new Spell(SpellSlot.E, 475f);
            R  = new Spell(SpellSlot.R, 1400);

            OnMenuLoad();

            Q.SetTargetted(0.25f, 1400f);
            Q1.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 80f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);

            Spellbook.OnCastSpell   += Spellbook_OnCastSpell;
            Game.OnUpdate           += Game_OnUpdate;
            Drawing.OnEndScene      += Drawing_OnEndScene;
            Obj_AI_Base.OnSpellCast += OnDoCast;
            Drawing.OnDraw          += OnDraw;
            Obj_AI_Base.OnSpellCast += OnDoCastLC;
        }
示例#20
0
 private void SkillSet()
 {
     try
     {
         _Q = new Spell(SpellSlot.Q, 720);
         _Q.SetTargetted(0.5f, 1500f);
         _W = new Spell(SpellSlot.W, 700);
         _W.SetSkillshot(0.6f, 220f, 1450f, false, SkillshotType.SkillshotCircle);
         _E = new Spell(SpellSlot.E, 900);
         _E.SetSkillshot(0.3f, 55f, 1650f, true, SkillshotType.SkillshotLine);
         _R = new Spell(SpellSlot.R, 720);
         {
             SpellList.Add(_Q);
             SpellList.Add(_W);
             SpellList.Add(_E);
             SpellList.Add(_R);
         }
     }
     catch (Exception)
     {
         if (NowTime() > ErrorTime)
         {
             Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 01");
             ErrorTime = TickCount(10000);
         }
     }
 }
示例#21
0
        public static void Game_OnGameLoad()
        {
            // Champ validation
            if (player.ChampionName != CHAMP_NAME)
            {
                return;
            }

            // Define spells
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 600);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 700);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, rangeE);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 700);

            // Finetune spells
            Q.SetTargetted(0.25f, 2000);
            W.SetSkillshot(0.5f, 300, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0, 80, speedE, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            // Create menu
            SetupMenu();

            // Register events
            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
            Orbwalker.OnUnkillableMinion       += Orbwalker_OnUnkillableMinion;
            Orbwalker.OnPreAttack              += OrbwalkingOnBeforeAttack;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
        }
示例#22
0
        static GnarSpells()
        {
            QMini = new Spell(SpellSlot.Q, 1050);
            QnMini = new Spell(SpellSlot.Q, 1050);
            WMini = new Spell(SpellSlot.W);
            EMini = new Spell(SpellSlot.E, 475);
            RMini = new Spell(SpellSlot.R);

            QMega = new Spell(SpellSlot.Q, 1050);
            QnMega = new Spell(SpellSlot.Q, 1050);
            WMega = new Spell(SpellSlot.W, 500);
            EMega = new Spell(SpellSlot.E, 475);

            RMega = new Spell(SpellSlot.R, 420);

            QMini.SetSkillshot(0.25f, 60, 1200, true, SkillshotType.SkillshotLine);
            QnMini.SetSkillshot(0.25f, 60, 1200, false, SkillshotType.SkillshotLine);
            EMini.SetSkillshot(0.5f, 150, float.MaxValue, false, SkillshotType.SkillshotCircle);

            QMega.SetSkillshot(0.25f, 80, 1200, true, SkillshotType.SkillshotLine);
            QnMega.SetSkillshot(0.25f, 80, 1200, false, SkillshotType.SkillshotLine);
            WMega.SetSkillshot(0.25f, 80, float.MaxValue, false, SkillshotType.SkillshotLine);
            EMega.SetSkillshot(0.5f, 150, float.MaxValue, false, SkillshotType.SkillshotCircle);
            RMega.Delay = 0.25f;

            SummonerDot = new Spell(ObjectManager.Player.GetSpellSlot("SummonerDot"), 550);
            SummonerDot.SetTargetted(0.1f, float.MaxValue);

            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
示例#23
0
        static SpellManager()
        {
            Q = new Spell(SpellSlot.Q, 700);
            Q.SetTargetted(.401f, 2000);

            W = new Spell(SpellSlot.W, 600);
            W.SetSkillshot(.5f, 100, 2000, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 950);
            E.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine);

            ER = new Spell(SpellSlot.R, 950);
            ER.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine);

            EPrediction = new Spell(SpellSlot.E, 950);
            EPrediction.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine);

            R = new Spell(SpellSlot.R, 720);
            {
                SpellList.Add(Q);
                SpellList.Add(W);
                SpellList.Add(E);
                SpellList.Add(R);
            }
        }
示例#24
0
        private static void OnLoad()
        {
            AssemblyMenu = new Menu("ExoCondemn - Flash E","dz191.exocondemn", true);

            AssemblyMenu.AddItem(
                new MenuItem("dz191.exocondemn.pushdistance", "Push Distance").SetValue(
                    new Slider(400, 370, 465)));

            AssemblyMenu.AddItem(
                new MenuItem("dz191.exocondemn.execute", "Do Flash Condemn!").SetValue(
                    new KeyBind("Z".ToCharArray()[0], KeyBindType.Press)));

            AssemblyMenu.AddItem(
                new MenuItem("dz191.exocondemn.onlyone", "Only for 1v1").SetValue(true));

            AssemblyMenu.AddToMainMenu();
            

            Condemn = new Spell(SpellSlot.E, 590f);
            LoadFlash();
            Condemn.SetTargetted(0.25f, 2000f);

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += OnDraw;
        }
示例#25
0
文件: Program.cs 项目: Burbb/Portaio
        public static void LoadOKTW()
        {
            Q  = new Spell(SpellSlot.Q, 655f);
            Q1 = new Spell(SpellSlot.Q, 1300f);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 1000f);
            R  = new Spell(SpellSlot.R, 1350f);

            Q1.SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine);
            Q.SetTargetted(0.25f, 1400f);
            E.SetSkillshot(0.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.25f, 100f, 2000f, false, SkillshotType.SkillshotCircle);

            drawMenu = Config.AddSubMenu("Draw");
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells"));
            drawMenu.Add("QRange", new CheckBox("Q range", false));
            drawMenu.Add("ERange", new CheckBox("E range", false));
            drawMenu.Add("RRange", new CheckBox("R range", false));
            drawMenu.Add("noti", new CheckBox("Show notification & line"));

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q"));
            qMenu.AddGroupLabel("Minion Config");
            qMenu.Add("harasQ", new CheckBox("Use Q on minion"));
            qMenu.Add("killQ", new CheckBox("Use Q only if can kill minion", false));
            qMenu.Add("qMinionMove", new CheckBox("Don't use if minions moving"));
            qMenu.Add("qMinionWidth", new Slider("secound Q angle", 40, 0, 90));

            wMenu = Config.AddSubMenu("W Config");
            wMenu.Add("autoW", new CheckBox("Auto W"));
            wMenu.Add("harasW", new CheckBox("Harass W"));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E"));
            eMenu.Add("AGC", new CheckBox("AntiGapcloserE"));

            rMenu = Config.AddSubMenu("R Config");
            rMenu.Add("autoR", new CheckBox("Auto R"));
            rMenu.Add("forceBlockMove", new CheckBox("Force block player"));
            rMenu.Add("useR", new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, 'T'));
            //32 == space
            rMenu.Add("disableBlock", new KeyBind("Disable R key", false, KeyBind.BindTypes.HoldActive, 'R'));
            //32 == space
            rMenu.Add("Rturrent", new CheckBox("Don't R under turret"));

            farmMenu = Config.AddSubMenu("Farm");
            farmMenu.Add("farmQ", new CheckBox("LaneClear Q"));
            farmMenu.Add("farmW", new CheckBox("LaneClear W"));
            farmMenu.Add("farmE", new CheckBox("LaneClear E"));
            farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10));
            farmMenu.Add("Mana", new Slider("LaneClear  Mana", 80, 0, 100));

            Game.OnUpdate                  += Game_OnGameUpdate;
            Drawing.OnDraw                 += Drawing_OnDraw;
            Orbwalker.OnPostAttack         += afterAttack;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            new OktwCommon();
        }
示例#26
0
        public static void LoadOKTW()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1000);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 940);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 625);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 750);

            Q.SetSkillshot(0.25f, 60f, 1600f, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(1.15f, 230f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetTargetted(0.25f, 2000f);

            drawMenu = Config.AddSubMenu("Drawings");
            drawMenu.Add("noti", new CheckBox("Show notification & line", true));
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true));
            drawMenu.Add("qRange", new CheckBox("Q range", false));
            drawMenu.Add("wRange", new CheckBox("W range", false));
            drawMenu.Add("eRange", new CheckBox("E range", false));
            drawMenu.Add("rRange", new CheckBox("R range", false));

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q", true));
            qMenu.Add("QAblazed", new CheckBox("Q only if ablazed", true));
            qMenu.Add("harrasQ", new CheckBox("Harass Q", true));
            qMenu.Add("gapQ", new CheckBox("Gapcloser E + Q", true));
            qMenu.Add("intQ", new CheckBox("Interrupt spells E + Q", true));

            wMenu = Config.AddSubMenu("W Config");
            wMenu.Add("autoW", new CheckBox("Auto W", true));
            wMenu.Add("harrasW", new CheckBox("Harass W", true));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E", true));
            eMenu.Add("harrasE", new CheckBox("Harass E", true));
            eMenu.Add("minionE", new CheckBox("use E on ablazed minion", true));

            rMenu = Config.AddSubMenu("R Config");
            rMenu.Add("autoR", new CheckBox("Auto R", true));
            rMenu.Add("rCount", new Slider("Auto R if can hit x enemies", 3, 0, 5));

            harassMenu = Config.AddSubMenu("Harass");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy))
            {
                harassMenu.Add("harras" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }

            farmMenu = Config.AddSubMenu("Farm");
            farmMenu.Add("farmE", new CheckBox("Lane clear E", true));
            farmMenu.Add("farmW", new CheckBox("Lane clear W", true));
            farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100));
            farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10));
            farmMenu.Add("jungleE", new CheckBox("Jungle clear E", true));
            farmMenu.Add("jungleQ", new CheckBox("Jungle clear Q", true));
            farmMenu.Add("jungleW", new CheckBox("Jungle clear W", true));

            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
        }
示例#27
0
 public Teemo()
 {
     Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 680);
     W = new LeagueSharp.Common.Spell(SpellSlot.W);
     R = new LeagueSharp.Common.Spell(SpellSlot.R, 230);
     Q.SetTargetted(0f, 2000f);
     R.SetSkillshot(0.1f, 75f, float.MaxValue, false, SkillshotType.SkillshotCircle);
 }
示例#28
0
 public Masteryi()
 {
     Q = new Spell(SpellSlot.Q, 600);
     Q.SetTargetted(0.5f, 2000);
     W = new Spell(SpellSlot.W);
     E = new Spell(SpellSlot.E);
     R = new Spell(SpellSlot.R);
 }
示例#29
0
        public static Spell Q, W, R; // Don't need E

        #endregion Fields

        #region Methods

        public static void SpellHandlerLoad()
        {
            Q = new Spell(SpellSlot.Q, 580);
            W = new Spell(SpellSlot.W);
            R = new Spell(SpellSlot.R, 230);
            Q.SetTargetted(0f, 2000f);
            R.SetSkillshot(0.1f, 75f, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
示例#30
0
		public Teemo()
		{
			Q = new Spell(SpellSlot.Q, 680);
			W = new Spell(SpellSlot.W);
			R = new Spell(SpellSlot.R, 230);
			Q.SetTargetted(0f, 2000f);
			R.SetSkillshot(0.1f, 75f, float.MaxValue, false, SkillshotType.SkillshotCircle);
		}
示例#31
0
 private void InitWukong()
 {
     Q = new Spell(SpellSlot.Q, 375f);
     W = new Spell(SpellSlot.W);
     E = new Spell(SpellSlot.E, 625f);
     E.SetTargetted(0.5f, 2000f);
     R = new Spell(SpellSlot.R, 325f);
 }
示例#32
0
 public Masteryi()
 {
     Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 600);
     Q.SetTargetted(0.5f, 2000);
     W = new LeagueSharp.Common.Spell(SpellSlot.W);
     E = new LeagueSharp.Common.Spell(SpellSlot.E);
     R = new LeagueSharp.Common.Spell(SpellSlot.R);
 }
示例#33
0
        public Teemo()
        {
            Utils.PrintMessage("Teemo loaded.");

            Q = new Spell(SpellSlot.Q, 680);
            R = new Spell(SpellSlot.R, 230);
            Q.SetTargetted(0f, 2000f);
            R.SetSkillshot(0.1f, 75f, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
示例#34
0
 static Orbwalking()
 {
     AutoAttack = new Spell(SpellSlot.Unknown, GetAutoAttackRange());
     AutoAttack.SetTargetted(player.BasicAttack.SpellCastTime, player.BasicAttack.MissileSpeed);
     Player = ObjectManager.Player;
     Obj_AI_Base.OnProcessSpellCast += OnProcessSpell;
     Spellbook.OnStopCast += SpellbookOnStopCast;
     MissileClient.OnCreate += MissileClient_OnCreate;
 }
示例#35
0
        public static void LoadOKTW()
        {
            Q  = new Spell(SpellSlot.Q, 675f);
            Q1 = new Spell(SpellSlot.Q, 900f);
            W  = new Spell(SpellSlot.W, 1100);
            E  = new Spell(SpellSlot.E, 475f);
            R  = new Spell(SpellSlot.R, 1200f);
            R1 = new Spell(SpellSlot.R, 1200f);

            Q1.SetSkillshot(0.40f, 10f, float.MaxValue, true, SkillshotType.SkillshotLine);
            Q.SetTargetted(0.25f, 1400f);
            W.SetSkillshot(0.30f, 80f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.1f, 110, 2800, true, SkillshotType.SkillshotLine);
            R1.SetSkillshot(0.1f, 110, 2800, false, SkillshotType.SkillshotLine);

            drawMenu = Config.AddSubMenu("Drawings");
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true));
            drawMenu.Add("qRange", new CheckBox("Q range", false));
            drawMenu.Add("wRange", new CheckBox("W range", false));
            drawMenu.Add("eRange", new CheckBox("E range", false));
            drawMenu.Add("rRange", new CheckBox("R range", false));

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q", true));
            qMenu.Add("harasQ", new CheckBox("Use Q on minion", true));

            wMenu = Config.AddSubMenu("W Config");
            wMenu.Add("autoW", new CheckBox("Auto W", true));
            wMenu.Add("ignoreCol", new CheckBox("Ignore collision", true));
            wMenu.Add("wInAaRange", new CheckBox("Cast only in AA range", true));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E", true));
            eMenu.Add("slowE", new CheckBox("Auto SlowBuff E", true));
            Dash = new Core.OKTWdash(E);

            rMenu = Config.AddSubMenu("R Config");
            rMenu.Add("autoR", new CheckBox("Auto R", true));
            rMenu.Add("useR", new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, 'T'));

            harassMenu = Config.AddSubMenu("Harass");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy))
            {
                harassMenu.Add("harras" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }

            farmMenu = Config.AddSubMenu("Farm");
            farmMenu.Add("farmQ", new CheckBox("LaneClear Q", true));
            farmMenu.Add("farmW", new CheckBox("LaneClear W", true));
            farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 100, 30));

            Game.OnUpdate                  += Game_OnGameUpdate;
            Drawing.OnDraw                 += Drawing_OnDraw;
            Orbwalker.OnPostAttack         += afterAttack;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Spellbook.OnCastSpell          += Spellbook_OnCastSpell;
        }
示例#36
0
        public static void LoadOKTW()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1000);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 940);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 625);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 750);

            Q.SetSkillshot(0.25f, 60f, 1600f, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(1.15f, 230f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetTargetted(0.25f, 2000f);

            drawMenu = Config.AddSubMenu("Drawings");
            drawMenu.Add("noti", new CheckBox("Show notification & line", true));
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true));
            drawMenu.Add("qRange", new CheckBox("Q range", false));
            drawMenu.Add("wRange", new CheckBox("W range", false));
            drawMenu.Add("eRange", new CheckBox("E range", false));
            drawMenu.Add("rRange", new CheckBox("R range", false));

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q", true));
            qMenu.Add("QAblazed", new CheckBox("Q only if ablazed", true));
            qMenu.Add("harrasQ", new CheckBox("Harass Q", true));
            qMenu.Add("gapQ", new CheckBox("Gapcloser E + Q", true));
            qMenu.Add("intQ", new CheckBox("Interrupt spells E + Q", true));

            wMenu = Config.AddSubMenu("W Config");
            wMenu.Add("autoW", new CheckBox("Auto W", true));
            wMenu.Add("harrasW", new CheckBox("Harass W", true));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E", true));
            eMenu.Add("harrasE", new CheckBox("Harass E", true));
            eMenu.Add("minionE", new CheckBox("use E on ablazed minion", true));

            rMenu = Config.AddSubMenu("R Config");
            rMenu.Add("autoR", new CheckBox("Auto R", true));
            rMenu.Add("rCount", new Slider("Auto R if can hit x enemies", 3, 0, 5));

            harassMenu = Config.AddSubMenu("Harass");
            foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(enemy => enemy.IsEnemy))
                harassMenu.Add("harras" + enemy.ChampionName, new CheckBox(enemy.ChampionName));

            farmMenu = Config.AddSubMenu("Farm");
            farmMenu.Add("farmE", new CheckBox("Lane clear E", true));
            farmMenu.Add("farmW", new CheckBox("Lane clear W", true));
            farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100));
            farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10));
            farmMenu.Add("jungleE", new CheckBox("Jungle clear E", true));
            farmMenu.Add("jungleQ", new CheckBox("Jungle clear Q", true));
            farmMenu.Add("jungleW", new CheckBox("Jungle clear W", true));

            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
        }
示例#37
0
        public static void LoadOKTW()
        {
            Q  = new Spell(SpellSlot.Q, 655f);
            Q1 = new Spell(SpellSlot.Q, 1300f);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 1000f);
            R  = new Spell(SpellSlot.R, 1350f);

            Q1.SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine);
            Q.SetTargetted(0.25f, 1400f);
            E.SetSkillshot(0.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.25f, 100f, 2000f, false, SkillshotType.SkillshotCircle);

            drawMenu = Config.AddSubMenu("线圈");
            drawMenu.Add("onlyRdy", new CheckBox("只显示无冷却技能"));
            drawMenu.Add("QRange", new CheckBox("Q 范围", false));
            drawMenu.Add("ERange", new CheckBox("E 范围", false));
            drawMenu.Add("RRange", new CheckBox("R 范围", false));
            drawMenu.Add("noti", new CheckBox("显示提示"));

            qMenu = Config.AddSubMenu("Q 设置");
            qMenu.Add("autoQ", new CheckBox("自动 Q"));
            qMenu.AddGroupLabel("小兵设置");
            qMenu.Add("harasQ", new CheckBox("Q 小兵"));
            qMenu.Add("killQ", new CheckBox("可击杀小兵时才 Q", false));
            qMenu.Add("qMinionMove", new CheckBox("小兵移动时不 Q"));
            qMenu.Add("qMinionWidth", new Slider("体积碰撞宽度计算", 70, 0, 200));

            wMenu = Config.AddSubMenu("W 设置");
            wMenu.Add("autoW", new CheckBox("自动 W"));
            wMenu.Add("harasW", new CheckBox("骚扰 W"));

            eMenu = Config.AddSubMenu("E 设置");
            eMenu.Add("autoE", new CheckBox("自动 E"));
            eMenu.Add("AGC", new CheckBox("防突进 E"));

            rMenu = Config.AddSubMenu("R 设置");
            rMenu.Add("autoR", new CheckBox("自动 R"));
            rMenu.Add("forceBlockMove", new CheckBox("屏蔽移动"));
            rMenu.Add("useR", new KeyBind("半自动 R 按键", false, KeyBind.BindTypes.HoldActive, 'T'));
            //32 == space
            rMenu.Add("disableBlock", new KeyBind("屏蔽 R 按键", false, KeyBind.BindTypes.HoldActive, 'R'));
            //32 == space
            rMenu.Add("Rturrent", new CheckBox("塔下不 R"));

            farmMenu = Config.AddSubMenu("农兵");
            farmMenu.Add("jungleE", new CheckBox("清野 E"));
            farmMenu.Add("jungleQ", new CheckBox("Q 抢野"));
            farmMenu.Add("jungleW", new CheckBox("清野 W"));

            Game.OnUpdate                  += Game_OnGameUpdate;
            Drawing.OnDraw                 += Drawing_OnDraw;
            Orbwalker.OnPostAttack         += afterAttack;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            new OktwCommon();
        }
示例#38
0
        public Alistar()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 365);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 650);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 575);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 0);

            W.SetTargetted(0.5f, float.MaxValue);
        }
示例#39
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 950f, TargetSelector.DamageType.Magical);
            W = new Spell(SpellSlot.W, 900f, TargetSelector.DamageType.Magical);
            E = new Spell(SpellSlot.E, 1040f);
            R = new Spell(SpellSlot.R, 650f, TargetSelector.DamageType.Magical);

            
            Q.SetSkillshot(0.25f, 70f, 2000f, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(1.25f, 112.5f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.75f, 340f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetTargetted(0.25f, 1400f);
            
            AIO_Menu.Champion.Combo.addUseQ();
            AIO_Menu.Champion.Combo.addUseW();
            AIO_Menu.Champion.Combo.addUseE();
            AIO_Menu.Champion.Combo.addUseR();

            AIO_Menu.Champion.Harass.addUseQ();
            AIO_Menu.Champion.Harass.addUseW(false);
            AIO_Menu.Champion.Harass.addUseE(false);
            AIO_Menu.Champion.Harass.addIfMana();

            AIO_Menu.Champion.Lasthit.addUseQ();
            AIO_Menu.Champion.Lasthit.addIfMana(20);
            
            AIO_Menu.Champion.Laneclear.addUseQ();
            AIO_Menu.Champion.Laneclear.addUseW(false);
            AIO_Menu.Champion.Laneclear.addIfMana();

            AIO_Menu.Champion.Jungleclear.addUseQ();
            AIO_Menu.Champion.Jungleclear.addUseW(false);
            AIO_Menu.Champion.Jungleclear.addIfMana();
            

            AIO_Menu.Champion.Misc.addHitchanceSelector();

            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Qtg", "Additional Range")).SetValue(new Slider(25, 0, 150));
            AIO_Menu.Champion.Misc.addItem("KillstealQ", true);
            AIO_Menu.Champion.Misc.addItem("KillstealR", true);
            AIO_Menu.Champion.Misc.addItem("W on stuned target", true);
            AIO_Menu.Champion.Misc.addUseAntiGapcloser();
            AIO_Menu.Champion.Misc.addUseInterrupter();

            AIO_Menu.Champion.Drawings.addQrange();
            AIO_Menu.Champion.Drawings.addWrange();
            AIO_Menu.Champion.Drawings.addErange(false);
            AIO_Menu.Champion.Drawings.addItem("E Real Range", new Circle(true, Color.Green));
            AIO_Menu.Champion.Drawings.addRrange();

            AIO_Menu.Champion.Drawings.addDamageIndicator(getComboDamage);

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
        }
示例#40
0
        public Alistar()
        {
            Q = new Spell(SpellSlot.Q, 365);
            W = new Spell(SpellSlot.W, 650);
            E = new Spell(SpellSlot.E, 575);
            R = new Spell(SpellSlot.R, 0);

            W.SetTargetted(0.5f, float.MaxValue);
        }
示例#41
0
        public Cassiopeia()
        {
            Q = new Spell(SpellSlot.Q, 887f, TargetSelector.DamageType.Magical);
            W = new Spell(SpellSlot.W, 900f, TargetSelector.DamageType.Magical);
            E = new Spell(SpellSlot.E, 700f, TargetSelector.DamageType.Magical);
            R = new Spell(SpellSlot.R, 850f, TargetSelector.DamageType.Magical);

            Q.SetSkillshot(.75f, 75f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            W.SetSkillshot(.5f, 100f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetTargetted(0f, float.MaxValue);
            R.SetSkillshot(.3f, (float)(90f + Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone);

            MenuProvider.Champion.Combo.addUseQ();
            MenuProvider.Champion.Combo.addUseW();
            MenuProvider.Champion.Combo.addUseE();
            MenuProvider.Champion.Combo.addUseR();
            //MenuProvider.Champion.Combo.addItem("UltMinHitFacing", new Slider(1,1,5));
            MenuProvider.Champion.Combo.addItem(("R + Flash"), new KeyBind('T', KeyBindType.Press));
            MenuProvider.Champion.Combo.addItem(("Auto Harass Use Q"), new KeyBind('H', KeyBindType.Toggle));
            MenuProvider.Champion.Combo.addItem("UltMinEnemiesHit", new Slider(1, 1, 5));

            MenuProvider.Champion.Harass.addUseQ();
            MenuProvider.Champion.Harass.addUseW();
            MenuProvider.Champion.Harass.addUseE();
            MenuProvider.Champion.Harass.addIfMana(60);

            MenuProvider.Champion.Lasthit.addUseE();
            MenuProvider.Champion.Lasthit.addIfMana(60);

            MenuProvider.Champion.Laneclear.addUseQ();
            MenuProvider.Champion.Laneclear.addUseW();
            MenuProvider.Champion.Laneclear.addUseE();
            MenuProvider.Champion.Laneclear.addIfMana(60);

            MenuProvider.Champion.Jungleclear.addUseQ();
            MenuProvider.Champion.Jungleclear.addUseW();
            MenuProvider.Champion.Jungleclear.addUseE();
            MenuProvider.Champion.Jungleclear.addIfMana(60);

            MenuProvider.Champion.Misc.addHitchanceSelector();
            MenuProvider.Champion.Misc.addItem("UseRAntiGapcloser",true);
            MenuProvider.Champion.Misc.addItem("UseInterrupter",true);

            MenuProvider.Champion.Drawings.addDrawQrange(Color.Green, true);
            MenuProvider.Champion.Drawings.addDrawWrange(Color.Green, true);
            MenuProvider.Champion.Drawings.addDrawErange(Color.Green, true);
            MenuProvider.Champion.Drawings.addDrawRrange(Color.Green, true);
            MenuProvider.Champion.Drawings.addDamageIndicator(getComboDamage);
            MenuProvider.Champion.Drawings.addItem("DrawR + FlashRange", new Circle(true, Color.Green, 3));

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Orbwalking.BeforeAttack += Orbwalking_BeforeAttack;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
        }
示例#42
0
文件: Jayce.cs 项目: volder1/PortAIO
        public static void OnLoad()
        {
            if (Player.ChampionName != "Jayce")
            {
                return;
            }
            MenuConfig.OnLoad();
            //ranged
            Q  = new LeagueSharp.Common.Spell(SpellSlot.Q, 1050);
            Qe = new LeagueSharp.Common.Spell(SpellSlot.Q, 1470);
            W  = new LeagueSharp.Common.Spell(SpellSlot.W, int.MaxValue);
            E  = new LeagueSharp.Common.Spell(SpellSlot.E, 650);

            //   melee
            Qm    = new LeagueSharp.Common.Spell(SpellSlot.Q, 600);
            Wm    = new LeagueSharp.Common.Spell(SpellSlot.W, int.MaxValue);
            Em    = new LeagueSharp.Common.Spell(SpellSlot.E, 240);
            R     = new LeagueSharp.Common.Spell(SpellSlot.R, int.MaxValue);
            qpred = new PredictionInput
            {
                Aoe       = false,
                Collision = false,
                Speed     = Qe.Speed,
                Delay     = Qe.Delay,
                Range     = Qe.Range,
                Radius    = Qe.Width,
                Type      = SkillshotType.SkillshotLine
            };

            qpred1 = new PredictionInput
            {
                Aoe       = false,
                Collision = false,
                Speed     = Q.Speed,
                Delay     = Q.Delay,
                Range     = Q.Range,
                Radius    = Q.Width,
                Type      = SkillshotType.SkillshotLine
            };

            Q.SetSkillshot(0.3f, 70f, 1500, true, LeagueSharp.Common.SkillshotType.SkillshotLine);
            Qe.SetSkillshot(0.3f, 70f, 2180, true, LeagueSharp.Common.SkillshotType.SkillshotLine);
            Qm.SetTargetted(0f, float.MaxValue);
            Em.SetTargetted(0f, float.MaxValue);
            Game.OnUpdate                      += OnUpdate;
            Spellbook.OnCastSpell              += OnCastSpell;
            Drawing.OnDraw                     += OnDraw;
            Game.OnUpdate                      += GeneralOnUpdate;
            Obj_AI_Base.OnSpellCast            += OnDoCastRange;
            Obj_AI_Base.OnSpellCast            += OnDoCastMelee;
            Obj_AI_Base.OnSpellCast            += LaneClear;
            CustomEvents.Unit.OnDash           += OnDash;
            AntiGapcloser.OnEnemyGapcloser     += OnGapClose;
            Interrupter2.OnInterruptableTarget += OnInterrupt;
            EloBuddy.Player.OnIssueOrder       += OnOrder;
        }
示例#43
0
文件: Quinn.cs 项目: Burbb/Portaio
        public static void LoadOKTW()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1000);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 700);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 2100);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 550);

            Q.SetSkillshot(0.25f, 90f, 1550, true, SkillshotType.SkillshotLine);
            E.SetTargetted(0.25f, 2000f);

            drawMenu = Config.AddSubMenu("Drawings");
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true));
            drawMenu.Add("qRange", new CheckBox("Q range", false));
            drawMenu.Add("wRange", new CheckBox("W range", false));
            drawMenu.Add("eRange", new CheckBox("E range", false));

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q", true));
            qMenu.Add("harrasQ", new CheckBox("Harass Q", true));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E", true));
            eMenu.Add("harrasE", new CheckBox("Harass E", true));
            eMenu.Add("AGC", new CheckBox("AntiGapcloser E", true));
            eMenu.Add("Int", new CheckBox("Interrupter E", true));
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                eMenu.Add("gap" + enemy.ChampionName, new CheckBox("GapClose : " + enemy.ChampionName, true));
            }

            miscMenu = Config.AddSubMenu("Misc");
            miscMenu.Add("autoW", new CheckBox("Auto W", true));
            miscMenu.Add("autoR", new CheckBox("Auto R in shop", true));
            miscMenu.Add("focusP", new CheckBox("Focus marked enemy", true));

            harassMenu = Config.AddSubMenu("Harass");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy))
            {
                harassMenu.Add("harras" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }

            farmMenu = Config.AddSubMenu("Farm");
            farmMenu.Add("farmP", new CheckBox("Attack marked minion first", true));
            farmMenu.Add("farmQ", new CheckBox("Farm Q", true));
            farmMenu.Add("jungleE", new CheckBox("Jungle clear E", true));
            farmMenu.Add("jungleQ", new CheckBox("Jungle clear Q", true));
            farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100));
            farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10));

            Game.OnUpdate += Game_OnGameUpdate;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            Drawing.OnDraw                     += Drawing_OnDraw;
            Orbwalker.OnPostAttack             += afterAttack;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            Orbwalker.OnPreAttack              += Orbwalking_BeforeAttack;
        }
示例#44
0
        public Jax()
        {
            //spelldata from Mechanics-StackOverflow Galio
            Q = new Spell(SpellSlot.Q, 680f);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, 190f);
            R = new Spell(SpellSlot.R);

            Q.SetTargetted(0.50f, 75f);
        }
示例#45
0
 private static void InitGangPlank()
 {
     Q = new Spell(SpellSlot.Q, 590f); //2600f
     Q.SetTargetted(0.25f, 2200f);
     W = new Spell(SpellSlot.W);
     E = new Spell(SpellSlot.E, 950);
     E.SetSkillshot(0.8f, 50, float.MaxValue, false, SkillshotType.SkillshotCircle);
     R = new Spell(SpellSlot.R);
     R.SetSkillshot(1f, 100, float.MaxValue, false, SkillshotType.SkillshotCircle);
 }
示例#46
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, (DeafaltRange + 300));
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, DeafaltRange);

            E.SetTargetted(0.25f, 2400f);

            Game.OnUpdate += Game_OnUpdate;
        }
        static SpellManager()
        {
            Q = new Spell(SpellSlot.Q, 675);
            W = new Spell(SpellSlot.W, 375);
            E = new Spell(SpellSlot.E, 700);
            R = new Spell(SpellSlot.R, 550);

            Q.SetTargetted(400, 1400);
            E.SetTargetted(400, 1500);
        }
示例#48
0
        public Katarina()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 675);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 375);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 700);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 550);

            Q.SetTargetted(400, 1400);
            R.SetCharged("KatarinaR", "KatarinaR", 550, 550, 1.0f);
        }
示例#49
0
        public Jax()
        {
            //spelldata from Mechanics-StackOverflow Galio
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 680f);
            W = new LeagueSharp.Common.Spell(SpellSlot.W);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 190f);
            R = new LeagueSharp.Common.Spell(SpellSlot.R);

            Q.SetTargetted(0.50f, 75f);
        }
示例#50
0
        public Katarina()
        {
            Q = new Spell(SpellSlot.Q, 675);
            W = new Spell(SpellSlot.W, 375);
            E = new Spell(SpellSlot.E, 700);
            R = new Spell(SpellSlot.R, 550);

            Q.SetTargetted(400, 1400);
            R.SetCharged("KatarinaR", "KatarinaR", 550, 550, 1.0f);
        }
示例#51
0
文件: Brand.cs 项目: yashine59fr/Port
        public void LoadOKTW()
        {
            Q = new Spell(SpellSlot.Q, 1000);
            W = new Spell(SpellSlot.W, 940);
            E = new Spell(SpellSlot.E, 625);
            R = new Spell(SpellSlot.R, 750);

            Q.SetSkillshot(0.25f, 60f, 1600f, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(1.15f, 230f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetTargetted(0.25f, 2000f);

            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("noti", "Show notification & line", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw only ready spells", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("wRange", "W range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("eRange", "E range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("rRange", "R range", true).SetValue(false));

            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("autoQ", "Auto Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("QAblazed", "Q only if ablazed", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("harrasQ", "Harass Q", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("gapQ", "Gapcloser E + Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("intQ", "Interrupt spells E + Q", true).SetValue(true));


            Config.SubMenu(Player.ChampionName).SubMenu("W Config").AddItem(new MenuItem("autoW", "Auto W", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("W Config").AddItem(new MenuItem("harrasW", "Harass W", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("autoE", "Auto E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("harrasE", "Harass E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("minionE", "use E on ablazed minion", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("autoR", "Auto R", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("rCount", "Auto R if can hit x enemies", true).SetValue(new Slider(3, 0, 5)));

            foreach (var enemy in HeroManager.Enemies)
            {
                Config.SubMenu(Player.ChampionName).SubMenu("Harass").AddItem(new MenuItem("harras" + enemy.ChampionName, enemy.ChampionName).SetValue(true));
            }

            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("farmE", "Lane clear E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("farmW", "Lane clear W", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("Mana", "LaneClear Mana", true).SetValue(new Slider(80, 100, 0)));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("LCminions", "LaneClear minimum minions", true).SetValue(new Slider(2, 10, 0)));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleE", "Jungle clear E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleQ", "Jungle clear Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleW", "Jungle clear W", true).SetValue(true));

            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
        }
示例#52
0
        public Annie()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 650);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 625);
            E = new LeagueSharp.Common.Spell(SpellSlot.E);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 600);

            Q.SetTargetted(250, 1400);
            W.SetSkillshot(600, (float)(50 * Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(250, 200, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
示例#53
0
        public void LoadOKTW()
        {
            Q  = new Spell(SpellSlot.Q, 655f);
            Q1 = new Spell(SpellSlot.Q, 1300f);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 1000f);
            R  = new Spell(SpellSlot.R, 1350f);

            Q1.SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotLine);
            Q.SetTargetted(0.25f, 1400f);
            E.SetSkillshot(0.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.25f, 50f, 3000f, false, SkillshotType.SkillshotCircle);

            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw only ready spells", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("QRange", "Q range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("ERange", "E range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("RRange", "R range", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("noti", "Show notification & line", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("autoQ", "Auto Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").SubMenu("Minion config").AddItem(new MenuItem("harasQ", "Use Q on minion", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").SubMenu("Minion config").AddItem(new MenuItem("killQ", "Use Q only if can kill minion", true).SetValue(false));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").SubMenu("Minion config").AddItem(new MenuItem("qMinionMove", "Don't use if minions moving", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Q Config").SubMenu("Minion config").AddItem(new MenuItem("qMinionWidth", "secound Q angle", true).SetValue(new Slider(80, 100, 0)));

            Config.SubMenu(Player.ChampionName).SubMenu("W Config").AddItem(new MenuItem("autoW", "Auto W", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("W Config").AddItem(new MenuItem("harasW", "Harass W", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("autoE", "Auto E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("AGC", "AntiGapcloserE", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("autoR", "Auto R", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("forceBlockMove", "Force block player", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("useR", "Semi-manual cast R key", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); //32 == space
            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("disableBlock", "Disable R key", true).SetValue(new KeyBind("R".ToCharArray()[0], KeyBindType.Press)));  //32 == space
            Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("Rturrent", "Don't R under turret", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).AddItem(new MenuItem("newTarget", "Try change focus after attack ", true).SetValue(true));

            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("farmQ", "LaneClear Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("farmW", "LaneClear W", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("farmE", "LaneClear E", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("LCminions", "LaneClear minimum minions", true).SetValue(new Slider(2, 10, 0)));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("Mana", "LaneClear  Mana", true).SetValue(new Slider(80, 100, 0)));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleQ", "Jungle clear Q", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleW", "Jungle clear W", true).SetValue(true));
            Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleE", "Jungle clear E", true).SetValue(true));


            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            LeagueSharp.Common.Orbwalking.AfterAttack += afterAttack;
            Obj_AI_Base.OnProcessSpellCast            += Obj_AI_Base_OnProcessSpellCast;
        }
示例#54
0
        public Ryze()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 630);
            Q.SetTargetted(0.2f, float.MaxValue);

            W = new LeagueSharp.Common.Spell(SpellSlot.W, 600);

            E = new LeagueSharp.Common.Spell(SpellSlot.E, 600);
            E.SetTargetted(0.2f, float.MaxValue);

            R = new LeagueSharp.Common.Spell(SpellSlot.R);
        }
示例#55
0
        public Lucian()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 500);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 1000);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 445);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.5f, float.MaxValue);
            W.SetSkillshot(300, 80, 1600, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(250, 1, float.MaxValue, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(10, 110, 2800, true, SkillshotType.SkillshotLine);
        }
示例#56
0
        public Brand()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1100);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 900);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 625);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 750);

            SpellList.AddRange(new[] { Q, W, E, R });
            Q.SetSkillshot(0.25f, 60, 1600, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(1, 240, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetTargetted(0.25f, float.MaxValue);
            R.SetTargetted(0.25f, 1000);
        }
示例#57
0
        public MissFortune()
        {
            Q = new Spell(SpellSlot.Q, 650);
            Q.SetTargetted(0.29f, 1400f);

            W = new Spell(SpellSlot.W);

            E = new Spell(SpellSlot.E, 800);
            E.SetSkillshot(0.5f, 100f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Utils.Utils.PrintMessage("MissFortune loaded.");
        }
示例#58
0
文件: Quinn.cs 项目: geramz/PortAIO
        public Quinn()
        {
            Utils.Utils.PrintMessage("Quinn loaded.");

            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1010);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 800);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 550);

            Q.SetSkillshot(0.25f, 160f, 1150, true, SkillshotType.SkillshotLine);
            E.SetTargetted(0.25f, 2000f);

            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
        }
示例#59
0
文件: Vayne.cs 项目: geramz/PortAIO
        public Vayne()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 300f);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 650f);
            R = new LeagueSharp.Common.Spell(SpellSlot.R);

            E.SetTargetted(0.25f, 2200f);

            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;

            Utils.Utils.PrintMessage("Vayne loaded");
        }
示例#60
0
        public Leblanc()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 720);
            Q.SetTargetted(0.5f, 1500f);

            W = new LeagueSharp.Common.Spell(SpellSlot.W, 670);
            W.SetSkillshot(0.6f, 220f, 1900f, false, SkillshotType.SkillshotCircle);

            E = new LeagueSharp.Common.Spell(SpellSlot.E, 900);
            E.SetSkillshot(0.3f, 80f, 1650f, true, SkillshotType.SkillshotLine);

            R = new LeagueSharp.Common.Spell(SpellSlot.R, 720);
        }