예제 #1
0
        private static void OnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Ryze")
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0.25f, 70f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);
            QShort = new Spell(SpellSlot.Q, 600f);
            QShort.SetSkillshot(0.25f, 90f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);
            W = new Spell(SpellSlot.W, 600f);
            E = new Spell(SpellSlot.E, 600f);

            s_Menu = new Menu("ryze.root", "Ryze", true);
            Menu laneclear = new Menu("ryze.laneclear", "LaneClear");

            laneclear.Add(new MenuKeyBind("enable", "Enable LaneClear", System.Windows.Forms.Keys.L, KeyBindType.Toggle, ObjectManager.Player.ChampionName));

            Menu lasthit = new Menu("ryze.lasthit", "Last Hit");

            lasthit.Add(new MenuBool("useq", "Use Q", true, ObjectManager.Player.ChampionName));

            s_Menu.Add(new MenuSeparator("combo.info", "Combo Notation > (Q)>E>Q>W>E>Q", ObjectManager.Player.ChampionName));
            s_Menu.Add(laneclear);
            s_Menu.Add(lasthit);
            s_Menu.Attach();
            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
예제 #2
0
 public CardShot()
 {
     SpellQ = new Spell(SpellSlot.Q, 1450);
     SpellQ.SetSkillshot(250, 50, 1000, true, SkillshotType.SkillshotLine);
     SpellQ.MinHitChance = HitChance.Medium;
     Game.OnUpdate      += Game_OnUpdate;
 }
예제 #3
0
        public static void Game_OnGameLoad()
        {
            // Champ validation
            player = ObjectManager.Player;
            if (player.ChampionName != CHAMP_NAME)
            {
                return;
            }

            // Define spells
            Q = new Spell(SpellSlot.Q, 600);
            W = new Spell(SpellSlot.W, 700);
            E = new Spell(SpellSlot.E, rangeE);
            R = new 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, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            // Create menu
            SetupMenu();

            // Register events
            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;

            Events.OnGapCloser           += AntiGapcloser_OnEnemyGapcloser;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
            Events.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            Drawing.OnEndScene           += DrawDmg;
        }
예제 #4
0
        public static void OnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
            {
                return;
            }

            main_menu = MainMenu.AddMenu("Taliyah", "taliyah");

            comboMenu = main_menu.AddSubMenu("Combo", "taliyah.combo");
            comboMenu.Add("taliyah.combo.useq", new CheckBox("Use Q"));
            comboMenu.Add("taliyah.combo.usew", new CheckBox("Use W"));
            comboMenu.Add("taliyah.combo.usee", new CheckBox("Use E"));

            harassMenu = main_menu.AddSubMenu("Harass", "taliyah.harass");
            harassMenu.Add("taliyah.harass.useq", new CheckBox("Use Q"));
            harassMenu.Add("taliyah.harass.manaperc", new Slider("Min. Mana", 40, 0, 100));

            laneclearMenu = main_menu.AddSubMenu("LaneClear", "taliyah.laneclear");
            laneclearMenu.Add("taliyah.laneclear.useq", new CheckBox("Use Q"));
            laneclearMenu.Add("taliyah.laneclear.useew", new CheckBox("Use EW", false));
            laneclearMenu.Add("taliyah.laneclear.minq", new Slider("Min. Q Hit", 3, 1, 6));
            laneclearMenu.Add("taliyah.laneclear.minew", new Slider("Min. EW Hit", 5, 1, 6));
            laneclearMenu.Add("taliyah.laneclear.manaperc", new Slider("Min. Mana", 40));

            drawing = main_menu.AddSubMenu("Drawings", "taliyah.drawing");
            drawing.Add("taliyah.drawing.drawq", new CheckBox("Draw Q", true));
            drawing.Add("taliyah.drawing.draww", new CheckBox("Draw W", true));
            drawing.Add("taliyah.drawing.drawe", new CheckBox("Draw E", true));
            drawing.Add("taliyah.drawing.drawr", new CheckBox("Draw R Minimap", true));

            main_menu.Add("taliyah.onlyq5", new CheckBox("Only cast 5x Q", false));
            main_menu.Add("taliyah.antigap", new CheckBox("Auto E to Gapclosers"));
            main_menu.Add("taliyah.interrupt", new CheckBox("Auto W to interrupt spells"));
            main_menu.Add("taliyah.pullenemy", new KeyBind("Pull Selected Target", false, KeyBind.BindTypes.HoldActive, 'T'));
            main_menu.Add("taliyah.pushenemy", new KeyBind("Push Selected Target", false, KeyBind.BindTypes.HoldActive, 'G'));


            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, 2000f, true, SkillshotType.SkillshotLine);

            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 800f);
            W.SetSkillshot(0.5f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnWndProc += Game_OnWndProc;
            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser             += Events_OnGapCloser;
            Events.OnInterruptableTarget   += Events_OnInterruptableTarget;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
            Drawing.OnEndScene             += Drawing_OnEndScene;
        }
예제 #5
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 1050);
            W = new Spell(SpellSlot.W, 700);
            E = new Spell(SpellSlot.E, 800);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.25f, 60f, 1700f, true, SkillshotType.SkillshotLine);
        }
예제 #6
0
파일: Spells.cs 프로젝트: riwalry1/AIO
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 1050);
            W = new Spell(SpellSlot.W, 700);
            E = new Spell(SpellSlot.E, 800);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.25f, 60f, 1700f, true, SkillshotType.SkillshotLine);
        }
예제 #7
0
 public static void init()
 {
     Q = new Spell(SpellSlot.Q, 1060f);
     Q.SetSkillshot(0.25f, 70f, 1800f, true, SkillshotType.SkillshotLine);
     W = new Spell(SpellSlot.W, 670f);
     E = new Spell(SpellSlot.E, 430f);
     E.SetSkillshot(0.25f, 350f, 0.25f, false, SkillshotType.SkillshotCircle);
     R = new Spell(SpellSlot.R, 375f);
 }
예제 #8
0
파일: Program.cs 프로젝트: sadnecc/CHportcn
 private static void InitSpells()
 {
     Q = new LeagueSharp.SDK.Spell(SpellSlot.Q);
     W = new LeagueSharp.SDK.Spell(SpellSlot.W);
     E = new LeagueSharp.SDK.Spell(SpellSlot.E, 1050);
     E.SetSkillshot(0.25f, 130, 1400, false, SkillshotType.SkillshotLine);
     R = new LeagueSharp.SDK.Spell(SpellSlot.R, 3000);
     R.SetSkillshot(0.25f, 160f, 2000f, false, SkillshotType.SkillshotLine);
 }
예제 #9
0
파일: Core.cs 프로젝트: yashine59fr/PortAIO
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q);
                W = new Spell(SpellSlot.W, 300);
                E = new Spell(SpellSlot.E, 1000f);
                E.SetSkillshot(0.25f, 70, 1500f, true, SkillshotType.SkillshotLine);
                R = new Spell(SpellSlot.R);

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
예제 #10
0
파일: Core.cs 프로젝트: Burbb/Portaio
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q);
                W = new Spell(SpellSlot.W, 300);
                E = new Spell(SpellSlot.E, 1000f);
                E.SetSkillshot(0.25f, 70, 1500f, true, SkillshotType.SkillshotLine);
                R = new Spell(SpellSlot.R);

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
예제 #11
0
        public override void Init()
        {
            Q = new Spell(SpellSlot.Q, 600);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, 950);
            R = new Spell(SpellSlot.R, 1200);

            E.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.425f, 200f, 1600f, true, SkillshotType.SkillshotLine);
        }
예제 #12
0
파일: Core.cs 프로젝트: Burbb/Portaio
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q, 865);
                W = new Spell(SpellSlot.W, 585);
                E = new Spell(SpellSlot.E, 585);
                R = new Spell(SpellSlot.R);

                if (RyzeR)
                {
                    Q.SetSkillshot(0.25f, 50f, 1700f, false, SkillshotType.SkillshotLine);
                }
                else
                {
                    Q.SetSkillshot(0.25f, 50f, 1700f, true, SkillshotType.SkillshotLine);
                }


                Ignite = Player.GetSpellSlot("SummonerDot");
            }
예제 #13
0
        //Summs
        public Evelynn()
        {
            Q = new Spell(SpellSlot.Q, 500);
            W = new Spell(SpellSlot.W, Q.Range);
            E = new Spell(SpellSlot.E, 225f + 2 * 65f);
            R = new Spell(SpellSlot.R, 650f);

            R.SetSkillshot(0.25f, 350f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            var Key = Menu.Add(new Menu("Key", "Key"));
            {
                Key.Add(new MenuKeyBind("Combo", "Combo", System.Windows.Forms.Keys.Space, KeyBindType.Press));
                Key.Add(new MenuKeyBind("Harass", "Harass", System.Windows.Forms.Keys.C, KeyBindType.Press));
                Key.Add(new MenuKeyBind("LaneClear", "LaneClear", System.Windows.Forms.Keys.V, KeyBindType.Press));
            }

            var Combo = Menu.Add(new Menu("Combo", "Combo"));
            {

                Combo.Add(new MenuBool("UseQCombo", "Use Q", true));

                Combo.Add(new MenuBool("UseWCombo", "Use W ", true));

                Combo.Add(new MenuBool("UseECombo", "Use E", true));

                Combo.Add(new MenuBool("UseRCombo", "Use R", true));
            }

            var Harass = Menu.Add(new Menu("Harass", "Harass"));
            {
                Harass.Add(new MenuBool("HarassUseQ", "Use Q", true));
                Harass.Add(new MenuSlider("HarassQMana", comb + "Min Mana Percent", 40, 0, 100));
            }

            var LaneClear = Menu.Add(new Menu("LaneClear", "LaneClear"));
            {
                LaneClear.Add(new MenuSlider("lanejungleclearQmana", "LaneClear Min Mana", 40));
                LaneClear.Add(new MenuBool("useqlc", "Use Q to laneclear + to JungleClear!", true));
                LaneClear.Add(new MenuSlider("lanejungleclearEmana", "LaneClear Min Mana", 40));
                LaneClear.Add(new MenuBool("useelc", "Use E to laneclear + to JungleClear!", true));
            }

            var Draw = Menu.Add(new Menu("Draw", "Draw"));
            {
                Draw.Add(new MenuBool("DrawQ", "Draw Q Range"));
                Draw.Add(new MenuBool("DrawW", "Draw W Range"));
                Draw.Add(new MenuBool("DrawE", "Draw E Range"));
                Draw.Add(new MenuBool("DrawR", "Draw R Range"));
            }

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
        }
예제 #14
0
파일: Spells.cs 프로젝트: Burbb/Portaio
        /// <summary>
        /// Initialize all spells
        /// </summary>
        public static void Initialize()
        {
            Q = new Spell(SpellSlot.Q, 550);
            W = new Spell(SpellSlot.W, 2500);
            E = new Spell(SpellSlot.E, 750);
            R = new Spell(SpellSlot.R, 3500);

            W.SetSkillshot(0.75f, 40, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.23f, 120, 1600, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.21f, 80, 5000, false, SkillshotType.SkillshotLine);
        }
예제 #15
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 950);
            E = new Spell(SpellSlot.E, 1200);
            R = new Spell(SpellSlot.R, 900);

            W.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle);

            Ignite = GameObjects.Player.GetSpellSlot("summonerDot");
        }
예제 #16
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 950);
            E = new Spell(SpellSlot.E, 1200);
            R = new Spell(SpellSlot.R, 900);

            W.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle);

            Ignite = GameObjects.Player.GetSpellSlot("summonerDot");
        }
예제 #17
0
        public static void OnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
                return;

            main_menu = MainMenu.AddMenu("Taliyah", "taliyah");

            comboMenu = main_menu.AddSubMenu("Combo", "taliyah.combo");
            comboMenu.Add("taliyah.combo.useq", new CheckBox("Use Q"));
            comboMenu.Add("taliyah.combo.usew", new CheckBox("Use W"));
            comboMenu.Add("taliyah.combo.usee", new CheckBox("Use E"));

            harassMenu = main_menu.AddSubMenu("Harass", "taliyah.harass");
            harassMenu.Add("taliyah.harass.useq", new CheckBox("Use Q"));
            harassMenu.Add("taliyah.harass.manaperc", new Slider("Min. Mana", 40, 0, 100));

            laneclearMenu = main_menu.AddSubMenu("LaneClear", "taliyah.laneclear");
            laneclearMenu.Add("taliyah.laneclear.useq", new CheckBox("Use Q"));
            laneclearMenu.Add("taliyah.laneclear.useew", new CheckBox("Use EW", false));
            laneclearMenu.Add("taliyah.laneclear.minq", new Slider("Min. Q Hit", 3, 1, 6));
            laneclearMenu.Add("taliyah.laneclear.minew", new Slider("Min. EW Hit", 5, 1, 6));
            laneclearMenu.Add("taliyah.laneclear.manaperc", new Slider("Min. Mana", 40));

            drawing = main_menu.AddSubMenu("Drawings", "taliyah.drawing");
            drawing.Add("taliyah.drawing.drawq", new CheckBox("Draw Q", true));
            drawing.Add("taliyah.drawing.draww", new CheckBox("Draw W", true));
            drawing.Add("taliyah.drawing.drawe", new CheckBox("Draw E", true));
            drawing.Add("taliyah.drawing.drawr", new CheckBox("Draw R Minimap", true));

            main_menu.Add("taliyah.onlyq5", new CheckBox("Only cast 5x Q", false));
            main_menu.Add("taliyah.antigap", new CheckBox("Auto E to Gapclosers"));
            main_menu.Add("taliyah.interrupt", new CheckBox("Auto W to interrupt spells"));
            main_menu.Add("taliyah.pullenemy", new KeyBind("Pull Selected Target", false, KeyBind.BindTypes.HoldActive, 'T'));
            main_menu.Add("taliyah.pushenemy", new KeyBind("Push Selected Target", false, KeyBind.BindTypes.HoldActive, 'G'));

            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, 2000f, true, SkillshotType.SkillshotLine);

            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 800f);
            W.SetSkillshot(0.5f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnWndProc += Game_OnWndProc;
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser += Events_OnGapCloser;
            Events.OnInterruptableTarget += Events_OnInterruptableTarget;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnEndScene += Drawing_OnEndScene;
        }
예제 #18
0
파일: Anivia.cs 프로젝트: riwalry1/AIO
        public override void Init()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1100);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 1000);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 600);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 750);

            Q.SetSkillshot(0.25f, 200f, 850f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            ObjManager.Load();
        }
예제 #19
0
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q, 680);
                W = new Spell(SpellSlot.W);
                E = new Spell(SpellSlot.E);
                R = new Spell(SpellSlot.R, 300);

                Q.SetTargetted(0.5f, 1500f);
                R.SetSkillshot(0.5f, 120f, 1000f, false, SkillshotType.SkillshotCircle);

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
예제 #20
0
파일: Program.cs 프로젝트: volder1/PortAIO
        private static void LoadSpell()
        {
            Q = new Spell(SpellSlot.Q, 800f);
            W = new Spell(SpellSlot.W, 400f);
            E = new Spell(SpellSlot.E, 900f);
            R = new Spell(SpellSlot.R, 450f);

            Q.SetSkillshot(0.75f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.066f, 50f, 1900f, true, SkillshotType.SkillshotLine);

            Ignite = Me.GetSpellSlot("SummonerDot");
        }
예제 #21
0
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q, 680);
                W = new Spell(SpellSlot.W);
                E = new Spell(SpellSlot.E);
                R = new Spell(SpellSlot.R, 300);

                Q.SetTargetted(0.5f, 1500f);
                R.SetSkillshot(0.5f, 120f, 1000f, false, SkillshotType.SkillshotCircle);

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
예제 #22
0
        public override void Init()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 850);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 350);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 950);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 500);

            Q.SetSkillshot(0.75f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 50f, 1900f, true, SkillshotType.SkillshotLine);

            LeagueSharp.Common.LSEvents.AfterAttack += Orbwalker_OnPostAttack;
        }
예제 #23
0
        public override void Init()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 850);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 350);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 950);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 500);

            Q.SetSkillshot(0.75f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 50f, 1900f, true, SkillshotType.SkillshotLine);

            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
        }
예제 #24
0
        public override void Init()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1100);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 1000);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 600);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 750);

            Q.SetSkillshot(0.25f, 200f, 850f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            ObjManager.Load();
        }
예제 #25
0
파일: Spells.cs 프로젝트: soulcrash/PortAIO
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 650);
            W = new Spell(SpellSlot.W, 200);
            E = new Spell(SpellSlot.E, 700);
            R = new Spell(SpellSlot.R, 500);

            Q.SetTargetted(0.5f, 1400);
            E.SetSkillshot(0.5f, 10f, float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.5f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Ignite = GameObjects.Player.GetSpellSlot("summonerDot");
        }
예제 #26
0
        public static void Load()
        {
            Q = new Spell(SpellSlot.Q, 650);
            W = new Spell(SpellSlot.W, 200);
            E = new Spell(SpellSlot.E, 700);
            R = new Spell(SpellSlot.R, 500);

            Q.SetTargetted(0.5f, 1400);
            E.SetSkillshot(0.5f, 10f, float.MaxValue, false, SkillshotType.SkillshotCone);
            R.SetSkillshot(0.5f, 150f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Ignite = GameObjects.Player.GetSpellSlot("summonerDot");
        }
예제 #27
0
        public static void OnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
            {
                return;
            }

            main_menu = MainMenu.AddMenu("Taliyah", "taliyah");

            comboMenu = main_menu.AddSubMenu("Combo", "taliyah.combo");
            comboMenu.Add("useq", new CheckBox("Use Q"));
            comboMenu.Add("usew", new CheckBox("Use W"));
            comboMenu.Add("usee", new CheckBox("Use E"));

            harassMenu = main_menu.AddSubMenu("Harass", "taliyah.harass");
            harassMenu.Add("taliyah.harass.useq", new CheckBox("Use Q"));
            harassMenu.Add("taliyah.harass.manaperc", new Slider("Min. Mana", 40, 0, 100));

            laneclearMenu = main_menu.AddSubMenu("LaneClear", "taliyah.laneclear");
            laneclearMenu.Add("taliyah.laneclear.useq", new CheckBox("Use Q"));
            laneclearMenu.Add("taliyah.laneclear.useew", new CheckBox("Use EW", false));
            laneclearMenu.Add("taliyah.laneclear.minq", new Slider("Min. Q Hit", 3, 1, 6));
            laneclearMenu.Add("taliyah.laneclear.minew", new Slider("Min. EW Hit", 5, 1, 6));
            laneclearMenu.Add("taliyah.laneclear.manaperc", new Slider("Min. Mana", 40));


            main_menu.Add("taliyah.onlyq5", new CheckBox("Only cast 5x Q", false));
            main_menu.Add("taliyah.antigap", new CheckBox("Auto E to Gapclosers"));
            main_menu.Add("taliyah.interrupt", new CheckBox("Auto W to interrupt spells"));



            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 800f);
            W.SetSkillshot(0.5f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser             += Events_OnGapCloser;
            Events.OnInterruptableTarget   += Events_OnInterruptableTarget;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
        }
예제 #28
0
        public static Spell CreateSpell(this SpellDatabaseEntry entry)
        {
            try
            {
                var s = new Spell(entry.Slot, entry.Range);
                var collision = entry.CollisionObjects.Length > 1;
                var type = entry.SpellType.GetSkillshotType();

                s.SetSkillshot(entry.Delay, entry.Width, entry.MissileSpeed, collision, type);
                return s;
            }
            catch
            {
                return new Spell(SpellSlot.Unknown);
            }
        }
예제 #29
0
 public Kalista()
 {
     Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1150f);
     W = new LeagueSharp.SDK.Spell(SpellSlot.W, 5000);
     E = new LeagueSharp.SDK.Spell(SpellSlot.E, 1000f);
     R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400f);
     Q.SetSkillshot(0.25f, 40f, 1200f, true, SkillshotType.SkillshotLine);
     InitMenu();
     DelayedOnUpdate                += OnUpdate;
     Drawing.OnDraw                 += HpBarDamageIndicator.Drawing_OnDraw;
     Drawing.OnDraw                 += OnDraw;
     Orbwalker.OnPostAttack         += Orbwalker_OnPostAttack;
     Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
     Obj_AI_Base.OnProcessSpellCast += UltLogic_OnSpellcast;
     Game.OnUpdate += UltLogic_OnUpdate;
 }
예제 #30
0
 public KogMaw()
 {
     Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1175);
     Q.SetSkillshot(0.25f, 70f, 1650f, true, SkillshotType.SkillshotLine);
     W = new LeagueSharp.SDK.Spell(SpellSlot.W, 630);
     E = new LeagueSharp.SDK.Spell(SpellSlot.E, 1250);
     E.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotLine);
     R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1200);
     R.SetSkillshot(1.2f, 75f, 12000f, false, SkillshotType.SkillshotCircle);
     InitializeMenu();
     DelayedOnUpdate          += OnUpdate;
     Drawing.OnDraw           += OnDraw;
     Orbwalker.OnPostAttack   += OnAction;
     AIHeroClient.OnSpellCast += OnDoCast;
     _rand = new Random();
 }
예제 #31
0
        public static Spell CreateSpell(this SpellDatabaseEntry entry)
        {
            try
            {
                var s         = new Spell(entry.Slot, entry.Range);
                var collision = entry.CollisionObjects.Length > 1;
                var type      = entry.SpellType.GetSkillshotType();

                s.SetSkillshot(entry.Delay, entry.Width, entry.MissileSpeed, collision, type);
                return(s);
            }
            catch
            {
                return(new Spell(SpellSlot.Unknown));
            }
        }
예제 #32
0
파일: Yasuo.cs 프로젝트: geramz/PortAIO
        public override void Init()
        {
            HasMana = false;

            Q  = new LeagueSharp.SDK.Spell(SpellSlot.Q, 475);
            Q3 = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1100);
            W  = new LeagueSharp.SDK.Spell(SpellSlot.W, 400);
            E  = new LeagueSharp.SDK.Spell(SpellSlot.E, 475);
            R  = new LeagueSharp.SDK.Spell(SpellSlot.R, 1200);

            Q.SetSkillshot(0.325f, 55f, float.MaxValue, false, SkillshotType.SkillshotLine);
            Q3.SetSkillshot(0.3f, 90f, 1200f, false, SkillshotType.SkillshotLine);

            DashManager.Load();

            Events.OnGapCloser += Events_OnGapCloser;
        }
예제 #33
0
파일: Ashe.cs 프로젝트: Xelamats/PortAIO
        public Ashe()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 1100);
            W.SetSkillshot(250f, 75f, 1500f, true, SkillshotType.SkillshotLine);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 25000);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400);

            R.SetSkillshot(250f, 100f, 1600f, false, SkillshotType.SkillshotLine);
            InitMenu();
            AIHeroClient.OnSpellCast += OnDoCast;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            DelayedOnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
        }
예제 #34
0
        public override void Init()
        {
            HasMana = false;

            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 475);
            Q3 = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1100);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 400);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 475);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1200);

            Q.SetSkillshot(0.325f, 55f, float.MaxValue, false, SkillshotType.SkillshotLine);
            Q3.SetSkillshot(0.3f, 90f, 1200f, false, SkillshotType.SkillshotLine);

            DashManager.Load();

            Events.OnGapCloser += Events_OnGapCloser;
        }
예제 #35
0
        public Ashe()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 1100);
            W.SetSkillshot(250f, 75f, 1500f, true, SkillshotType.SkillshotLine);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 25000);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400);

            R.SetSkillshot(0.25f, 100f, 1600f, false, SkillshotType.SkillshotLine);
            InitMenu();
            AIHeroClient.OnSpellCast     += OnDoCast;
            Orbwalker.OnPreAttack        += Orbwalker_OnPreAttack;
            DelayedOnUpdate              += OnUpdate;
            Drawing.OnDraw               += OnDraw;
            Events.OnGapCloser           += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
        }
예제 #36
0
            public static void Load()
            {
                Q = new Spell(SpellSlot.Q, 865);
                W = new Spell(SpellSlot.W, 585);
                E = new Spell(SpellSlot.E, 585);
                R = new Spell(SpellSlot.R);

                if(RyzeR)
                {
                    Q.SetSkillshot(0.25f, 50f, 1700f, false, SkillshotType.SkillshotLine);
                }
                else
                {
                    Q.SetSkillshot(0.25f, 50f, 1700f, true, SkillshotType.SkillshotLine);
                }

                Ignite = Player.GetSpellSlot("SummonerDot");
            }
예제 #37
0
파일: Kalista.cs 프로젝트: Xelamats/PortAIO
        public Kalista()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1150f);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 5000);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 1000f);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400f);

            ELS = new LeagueSharp.Common.Spell(SpellSlot.E, 950);

            Q.SetSkillshot(0.25f, 40f, 1200f, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate += OnUpdate;
            Drawing.OnDraw += HpBarDamageIndicator.Drawing_OnDraw;
            Drawing.OnDraw += OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Obj_AI_Base.OnProcessSpellCast += UltLogic_OnSpellcast;
            Game.OnUpdate += UltLogic_OnUpdate;
        }
예제 #38
0
        public Lucian()
        {
            Q = new Spell(SpellSlot.Q, 675);
            Q2 = new Spell(SpellSlot.Q, 1200);
            W = new Spell(SpellSlot.W, 1200f);
            E = new Spell(SpellSlot.E, 475f);
            R = new Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.25f, 1400f);
            Q2.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 70f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate += OnUpdate;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            Orbwalker.OnAction += OnAction;
            Spellbook.OnCastSpell += OnCastSpell;
        }
예제 #39
0
        public Xerath()
        {
            Q = new Spell(SpellSlot.Q, 1550);
            W = new Spell(SpellSlot.W, 1000);
            E = new Spell(SpellSlot.E, 1150);
            R = new Spell(SpellSlot.R, 675);

            Q.SetSkillshot(0.6f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.7f, 125f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 60f, 1400f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.7f, 120f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            InitMenu();
            Obj_AI_Hero.OnDoCast += OnDoCast;
            Orbwalker.OnAction += OnAction;
            Game.OnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            Obj_AI_Base.OnIssueOrder += OnIssueOrder;
        }
예제 #40
0
        public Caitlyn()
        {
            Q = new Spell(SpellSlot.Q, 1200);
            W = new Spell(SpellSlot.W, 820);
            E = new Spell(SpellSlot.E, 770);
            R = new Spell(SpellSlot.R, 2000);

            Q.SetSkillshot(0.25f, 60f, 2000f, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(1.00f, 100f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 80f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(3.00f, 50f, 1000f, false, SkillshotType.SkillshotLine);
            InitMenu();
            Orbwalker.OnAction += OnAction;
            DelayedOnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Obj_AI_Base.OnPlayAnimation += OnPlayAnimation;
            Events.OnGapCloser += OnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
        }
예제 #41
0
        public Lucian()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 675);
            Q2 = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1100);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 1100);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 475f);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.25f, 1400f);
            Q2.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 70f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate += OnUpdate;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            LeagueSharp.Common.LSEvents.AfterAttack += Orbwalker_OnPostAttack;
            LeagueSharp.Common.LSEvents.BeforeAttack += Orbwalker_OnPreAttack;
            Spellbook.OnCastSpell += OnCastSpell;
        }
예제 #42
0
        public Lucian()
        {
            Q  = new LeagueSharp.SDK.Spell(SpellSlot.Q, 675);
            Q2 = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1200);
            W  = new LeagueSharp.SDK.Spell(SpellSlot.W, 1200f);
            E  = new LeagueSharp.SDK.Spell(SpellSlot.E, 475f);
            R  = new LeagueSharp.SDK.Spell(SpellSlot.R, 1400);

            Q.SetTargetted(0.25f, 1400f);
            Q2.SetSkillshot(0.5f, 50, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.30f, 70f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.2f, 110f, 2500, true, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate              += OnUpdate;
            Events.OnGapCloser           += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            Orbwalker.OnPostAttack       += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack        += Orbwalker_OnPreAttack;
            Spellbook.OnCastSpell        += OnCastSpell;
        }
예제 #43
0
파일: Caitlyn.cs 프로젝트: sadnecc/CHportcn
        public Caitlyn()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1200);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 820);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 770);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 2000);

            Q.SetSkillshot(0.40f, 60f, 2200f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 80f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(3000f, 50f, 1000f, false, SkillshotType.SkillshotLine);
            InitMenu();
            Orbwalker.OnPostAttack         += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            DelayedOnUpdate                += OnUpdate;
            Drawing.OnDraw                 += OnDraw;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Obj_AI_Base.OnPlayAnimation    += OnPlayAnimation;
            Events.OnGapCloser             += EventsOnGapCloser;
            Events.OnInterruptableTarget   += OnInterruptableTarget;
        }
예제 #44
0
        public Jinx()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1500f);
            E = new Spell(SpellSlot.E, 920f);
            R = new Spell(SpellSlot.R, 3000f);
            W.SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(1.2f, 100f, 1750f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine);

            MenuHero = MainMenu.Add(new Menu("MenuHero", Player.ChampionName));
                MenuDraw = MenuHero.Add(new Menu("MenuDraw", "Draw"));
                    MenuDraw.Add(new MenuBool("Q", "Q range", true));
                    MenuDraw.Add(new MenuBool("W", "W range", true));
                    MenuDraw.Add(new MenuBool("E", "E range", true));
                    MenuDraw.Add(new MenuBool("R", "R range", true));

                MenuQ = MenuHero.Add(new Menu("MenuQ", "Q Config"));
                    MenuQ.Add(new MenuBool("Auto", "Auto", true));
                    MenuQ.Add(new MenuBool("Mix", "Mix", true));

                MenuW = MenuHero.Add(new Menu("MenuW", "W Config"));
                    MenuW.Add(new MenuBool("Auto", "Auto", true));
                    MenuW.Add(new MenuBool("Mix", "Mix", true));
                MenuE = MenuHero.Add(new Menu("MenuE", "E Config"));
                    MenuE.Add(new MenuBool("Auto", "Auto", true));
                    MenuE.Add(new MenuBool("telE", "Auto E on teleport", true));
                    MenuE.Add(new MenuBool("comboE", "Auto E combo logic", true));

                MenuR = MenuHero.Add(new Menu("MenuR", "R Config"));
                MenuR.Add(new MenuBool("Auto", "Auto", true));
                MenuR.Add(new MenuBool("Rturrent", "Don't R under turret", true));
                MenuR.Add(new MenuKeyBind("cast", "Lane Clear", System.Windows.Forms.Keys.T, KeyBindType.Toggle));

            MenuFarm = MenuHero.Add(new Menu("MenuFarm", "Farm"));
                    MenuFarm.Add(new MenuSlider("Mana", "LaneClear mana ", 50));
                    MenuFarm.Add(new MenuBool("Q", "Farm Q", true));

            Orbwalker.OnAction += OnAction;
            Game.OnUpdate += Game_OnUpdate;
        }
예제 #45
0
        public Soraka()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 750);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 550);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 900);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R);

            Q.SetSkillshot(0.30f, 125, 1600, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.4f, 70f, 1750, false, SkillshotType.SkillshotCircle);

            InitializeMenu();

            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            DelayedOnUpdate                += OnUpdate;
            Drawing.OnDraw                 += OnDraw;
            GameObject.OnCreate            += OnCreateObj;
            Events.OnGapCloser             += OnGapCloser;
            Events.OnInterruptableTarget   += this.OnInterruptableTarget;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            this._rand = new Random();
        }
예제 #46
0
        public Ezreal()
        {
            Q = new Spell(SpellSlot.Q, 1180);
            Q.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 950);
            W.SetSkillshot(0.25f, 80f, 1600f, false, SkillshotType.SkillshotLine);

            E = new Spell(SpellSlot.E, 475);

            R = new Spell(SpellSlot.R, 2500);
            R.SetSkillshot(1.00f, 160f, 2000f, false, SkillshotType.SkillshotLine);
            InitMenu();
            DelayedOnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Events.OnGapCloser += EventsOnOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            Spellbook.OnCastSpell += OnCastSpell;
            Orbwalker.OnAction += OnAction;
            Obj_AI_Base.OnTarget += ObjAiBaseOnOnTarget;
        }
예제 #47
0
        public Soraka()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 750);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 550);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 900);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R);

            Q.SetSkillshot(0.30f, 125, 1600, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.4f, 70f, 1750, false, SkillshotType.SkillshotCircle);

            InitializeMenu();

            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            DelayedOnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            GameObject.OnCreate += OnCreateObj;
            Events.OnGapCloser += OnGapCloser;
            Events.OnInterruptableTarget += this.OnInterruptableTarget;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            this._rand = new Random();
        }
예제 #48
0
        public Caitlyn()
        {
            Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1200);
            W = new LeagueSharp.SDK.Spell(SpellSlot.W, 820);
            E = new LeagueSharp.SDK.Spell(SpellSlot.E, 770);
            R = new LeagueSharp.SDK.Spell(SpellSlot.R, 2000);

            Q.SetSkillshot(0.25f, 60f, 2000f, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(1.00f, 100f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 80f, 1600f, true, SkillshotType.SkillshotLine);
            R.SetSkillshot(3.00f, 50f, 1000f, false, SkillshotType.SkillshotLine);

            InitMenu();
            LeagueSharp.Common.LSEvents.AfterAttack += Orbwalker_OnPostAttack;
            LeagueSharp.Common.LSEvents.BeforeAttack += Orbwalker_OnPreAttack;
            DelayedOnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Obj_AI_Base.OnPlayAnimation += OnPlayAnimation;
            Events.OnGapCloser += EventsOnGapCloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
        }
예제 #49
0
        private static void OnLoad(object sender, EventArgs e)
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
            {
                return;
            }
            Game.PrintChat("<font color=\"#1eff00\">濞涙▊婕㈠寲鏈€寮篤IP鑴氭湰缇わ細215226086</font> - <font color=\"#00BFFF\">姝¤繋鍚勪綅鐨勫姞鍏ワ紒</font>");

            main_menu = new Menu("taliyah", "Taliyah", true);

            Menu combo = new Menu("taliyah.combo", "Combo");

            combo.Add(new MenuBool("taliyah.combo.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usew", "Use W", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usee", "Use E", true, ObjectManager.Player.ChampionName));
            main_menu.Add(combo);

            Menu harass = new Menu("taliyah.harass", "Harass");

            harass.Add(new MenuBool("taliyah.harass.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            harass.Add(new MenuSlider("taliyah.harass.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(harass);

            Menu laneclear = new Menu("taliyah.laneclear", "LaneClear");

            laneclear.Add(new MenuBool("taliyah.laneclear.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuBool("taliyah.laneclear.useew", "Use EW", false, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minq", "Min. Q Hit", 3, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minew", "Min. EW Hit", 5, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(laneclear);

            Menu drawing = new Menu("taliyah.drawing", "Drawings");

            drawing.Add(new MenuBool("taliyah.drawing.drawq", "Draw Q", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.draww", "Draw W", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawe", "Draw E", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawr", "Draw R Minimap", true, ObjectManager.Player.ChampionName));
            main_menu.Add(drawing);

            main_menu.Add(new MenuBool("taliyah.onlyq5", "Only cast 5x Q", false, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.antigap", "Auto E to Gapclosers", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.interrupt", "Auto W to interrupt spells", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pullenemy", "Pull Selected Target", System.Windows.Forms.Keys.T, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pushenemy", "Push Selected Target", System.Windows.Forms.Keys.G, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Attach();

            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 800f);
            W.SetSkillshot(0.6f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnWndProc += Game_OnWndProc;
            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser             += Events_OnGapCloser;
            Events.OnInterruptableTarget   += Events_OnInterruptableTarget;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
            Drawing.OnEndScene             += Drawing_OnEndScene;
        }
예제 #50
0
        //Summoner Spells
        public Urgot()
        {
            Q = new Spell(SpellSlot.Q, 950 ); //Mainly 1000 but it does better with 950)
            Q2 = new Spell(SpellSlot.Q, 1200);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, 850);

            Q.SetSkillshot(0.2667f, 60f, 1600f, true, SkillshotType.SkillshotLine);
            Q2.SetSkillshot(0.3f, 60f, 1800f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.2658f, 120f, 1500f, false, SkillshotType.SkillshotCircle);

            //MENU STARTS HERE
            var Key = Menu.Add(new Menu("Key", "Key"));
            {
                Key.Add(new MenuKeyBind("Combo", "Combo", System.Windows.Forms.Keys.Space, KeyBindType.Press));
                Key.Add(new MenuKeyBind("Harass", "Harass", System.Windows.Forms.Keys.C, KeyBindType.Press));
                Key.Add(new MenuKeyBind("LaneClear", "LaneClear", System.Windows.Forms.Keys.V, KeyBindType.Press));
            }

            var Combo = Menu.Add(new Menu("Combo", "Combo"));
            {

                Combo.Add(new MenuBool("UseQCombo", "Use Q", true));

                Combo.Add(new MenuBool("UseQ2Combo", "Use Q if enemy has been hit by E", true));

                Combo.Add(new MenuBool("ComboW", "Use W if E has been hit", true));

                Combo.Add(new MenuBool("UseECombo", "Use E", true));

            }

            var Harass = Menu.Add(new Menu("Harass", "Harass"));
            {
                Harass.Add(new MenuBool("HarassUseQ", "Use Q", true));
                Harass.Add(new MenuSlider("HarassQMana", comb + "Min Mana Percent", 40, 0, 100));
            }

            var LaneClear = Menu.Add(new Menu("LaneClear", "LaneClear"));
            {
                LaneClear.Add(new MenuSlider("laneclearmana", "LaneClear Min Mana", 40));
                LaneClear.Add(new MenuBool("useqlc", "Use Q to laneclear", true));
            }

            var Misc = Menu.Add(new Menu("Misc", "Misc"));
            {
                Misc.Add(new MenuBool("RInterrupt", "Use R to Interrupt", true));
            }

            var Draw = Menu.Add(new Menu("Draw", "Draw"));
            {
                Draw.Add(new MenuBool("DrawQ", "Draw Q Range"));
                Draw.Add(new MenuBool("DrawW", "Draw W Range"));
                Draw.Add(new MenuBool("DrawE", "Draw E Range"));
            }

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Events.OnInterruptableTarget += Events_OnInterruptableTarget;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
        }
예제 #51
0
        private static void OnLoad(object sender, EventArgs e)
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
                return;

            main_menu = new Menu("taliyah", "Taliyah", true);

            Menu combo = new Menu("taliyah.combo", "Combo");
            combo.Add(new MenuBool("taliyah.combo.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usew", "Use W", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usee", "Use E", true, ObjectManager.Player.ChampionName));
            main_menu.Add(combo);

            Menu harass = new Menu("taliyah.harass", "Harass");
            harass.Add(new MenuBool("taliyah.harass.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            harass.Add(new MenuSlider("taliyah.harass.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(harass);

            Menu laneclear = new Menu("taliyah.laneclear", "LaneClear");
            laneclear.Add(new MenuBool("taliyah.laneclear.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuBool("taliyah.laneclear.useew", "Use EW", false, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minq", "Min. Q Hit", 3, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minew", "Min. EW Hit", 5, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(laneclear);

            Menu drawing = new Menu("taliyah.drawing", "Drawings");
            drawing.Add(new MenuBool("taliyah.drawing.drawq", "Draw Q", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.draww", "Draw W", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawe", "Draw E", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawr", "Draw R Minimap", true, ObjectManager.Player.ChampionName));
            main_menu.Add(drawing);

            main_menu.Add(new MenuBool("taliyah.onlyq5", "Only cast 5x Q", false, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.antigap", "Auto E to Gapclosers", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.interrupt", "Auto W to interrupt spells", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pullenemy", "Pull Selected Target", System.Windows.Forms.Keys.T, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pushenemy", "Push Selected Target", System.Windows.Forms.Keys.G, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Attach();

            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 800f);
            W.SetSkillshot(1f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnWndProc += Game_OnWndProc;
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser += Events_OnGapCloser;
            Events.OnInterruptableTarget += Events_OnInterruptableTarget;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnEndScene += Drawing_OnEndScene;
        }
예제 #52
0
 public KogMaw()
 {
     Q = new LeagueSharp.SDK.Spell(SpellSlot.Q, 1175);
     Q.SetSkillshot(0.25f, 70f, 1650f, true, SkillshotType.SkillshotLine);
     W = new LeagueSharp.SDK.Spell(SpellSlot.W, 630);
     E = new LeagueSharp.SDK.Spell(SpellSlot.E, 1250);
     E.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotLine);
     R = new LeagueSharp.SDK.Spell(SpellSlot.R, 1200);
     R.SetSkillshot(1.2f, 75f, 12000f, false, SkillshotType.SkillshotCircle);
     InitializeMenu();
     DelayedOnUpdate += OnUpdate;
     Drawing.OnDraw += OnDraw;
     LeagueSharp.Common.LSEvents.AfterAttack += OnAction;
     AIHeroClient.OnSpellCast += OnDoCast;
     _rand = new Random();
 }
예제 #53
0
        private static void LoadSpell()
        {
            Q = new Spell(SpellSlot.Q, 800f);
            W = new Spell(SpellSlot.W, 400f);
            E = new Spell(SpellSlot.E, 900f);
            R = new Spell(SpellSlot.R, 450f);

            Q.SetSkillshot(0.75f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.066f, 50f, 1900f, true, SkillshotType.SkillshotLine);

            Ignite = Me.GetSpellSlot("SummonerDot");
        }
예제 #54
0
        /// <summary>
        /// Initialize all spells
        /// </summary>
        public static void Initialize()
        {
            Q = new Spell(SpellSlot.Q, 550);
            W = new Spell(SpellSlot.W, 2500);
            E = new Spell(SpellSlot.E, 750);
            R = new Spell(SpellSlot.R, 3500);

            W.SetSkillshot(0.75f, 40, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.23f, 120, 1600, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.21f, 80, 5000, false, SkillshotType.SkillshotLine);
        }
예제 #55
0
 private static void InitSpells()
 {
     Q = new LeagueSharp.SDK.Spell(SpellSlot.Q);
     W = new LeagueSharp.SDK.Spell(SpellSlot.W);
     E = new LeagueSharp.SDK.Spell(SpellSlot.E, 1050);
     E.SetSkillshot(0.25f, 130, 1400, false, SkillshotType.SkillshotLine);
     R = new LeagueSharp.SDK.Spell(SpellSlot.R, 3000);
     R.SetSkillshot(0.25f, 160f, 2000f, false, SkillshotType.SkillshotLine);
 }