コード例 #1
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Taric")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#ac4cdc\" >MeLoDag Presents </font><font color=\"#fffffff\" >Taric </font><font color=\"#ac4cdc\" >Kappa Kippo</font>");
            TarickTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Targeted(SpellSlot.W, 800);
            E = new Spell.Skillshot(SpellSlot.E, 580, SkillShotType.Linear, 250, int.MaxValue, 140);
            R = new Spell.Active(SpellSlot.R, 400);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Graves")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#990b0b\" >MeLoDag Presents </font><font color=\"#fffffff\" >Graves </font><font color=\"#990b0b\" >Kappa Kippo</font>");
            GravesTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 2100, 100);

            #endregion

            Gapcloser.OnGapcloser  += AntiGapCloser;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Drawing.OnDraw         += GameOnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #3
0
ファイル: Jax.cs プロジェクト: a0937821230/Elobuddy-1
        public override void InitVariables()
        {
            Activator = new Activator();

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Targeted(SpellSlot.Q, 700),
                new Spell.Active(SpellSlot.W),
                new Spell.Active(SpellSlot.E, 187),
                new Spell.Active(SpellSlot.R)
            };

            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Q, new float[] { 0, 70, 110, 150, 190, 230 }, new [] { 0, 1f, 1f, 1f, 1f, 1f }, DamageType.Physical),
                new SpellDamage(Q, new float[] { 0, 0, 0, 0, 0, 0 }, new [] { 0, 0.6f, 0.6f, 0.6f, 0.6f, 0.6f }, DamageType.Magical),
                new SpellDamage(W, new float[] { 0, 40, 75, 110, 145, 180 }, new [] { 0, 0.6f, 0.6f, 0.6f, 0.6f, 0.6f }, DamageType.Magical),
                new SpellDamage(E, new float[] { 50, 75, 100, 125, 150 }, new [] { 0, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f }, DamageType.Physical)
            };

            InitMenu();

            DamageIndicator.Initialize(DamageUtil.GetComboDamage);

            new SkinController(11);
        }
コード例 #4
0
ファイル: Program.cs プロジェクト: rzcllove/taliyah
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Vladimir")
            {
                return;
            }
            Chat.Print("<font color=\"#d80303\" >MeLoDag Presents </font><font color=\"#ffffff\" > Vladimir </font><font color=\"#d80303\" >Kappa Kippo</font>");
            Chat.Print("Version Loaded 1.3 (7/7/2016)", Color.Red);
            Chat.Print("HF Gl And Dont Feed Kappa!!!", Color.Red);
            VladimirTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Skillshot(SpellSlot.W, 600, SkillShotType.Circular);
            E = new Spell.Chargeable(SpellSlot.E, 600, 600, 1250, 0, 1500, 70);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);

            #endregion

            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #5
0
ファイル: Annie.cs プロジェクト: a0937821230/Elobuddy-1
        public override void InitVariables()
        {
            Activator = new Activator(DamageType.Magical);

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Targeted(SpellSlot.Q, 625),
                new Spell.Skillshot(SpellSlot.W, 625, SkillShotType.Cone, 250, int.MaxValue, 210),
                new Spell.Active(SpellSlot.E),
                new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 50, int.MaxValue, 250)
            };

            W.MinimumHitChance      = HitChance.Medium;
            W.AllowedCollisionCount = int.MaxValue;
            W.ConeAngleDegrees      = 50;

            R.AllowedCollisionCount = int.MaxValue;
            R.MinimumHitChance      = HitChance.Medium;

            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Q, new float[] { 0, 80, 115, 150, 185, 220 }, new [] { 0, 0.8f, 0.8f, 0.8f, 0.8f, 0.8f }, DamageType.Magical),
                new SpellDamage(W, new float[] { 0, 70, 115, 160, 205, 250 }, new [] { 0, 0.85f, 0.85f, 0.85f, 0.85f, 0.85f }, DamageType.Magical),
                new SpellDamage(R, new float[] { 0, 175, 300, 425 }, new [] { 0, 0.8f, 0.8f, 0.8f, 0.8f, 0.8f }, DamageType.Magical)
            };

            InitMenu();

            DamageIndicator.Initialize(DamageUtil.GetComboDamage);

            new SkinController(9);
        }
コード例 #6
0
        public override void CreateConfigMenu()
        {
            Menu combo = new Menu("Combo", "SAutoCarry.TwistedFate.Combo");

            combo.AddItem(new MenuItem("SAutoCarry.TwistedFate.Combo.UseQImmobile", "Auto Q Immobile").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.TwistedFate.Combo.UseQDashing", "Auto Q Immobile").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.TwistedFate.Combo.UseW", "Use W").SetValue(true));

            Menu harass = new Menu("Harass", "SAutoCarry.TwistedFate.Harass");

            harass.AddItem(new MenuItem("SAutoCarry.TwistedFate.Harass.UseQ", "Use Q").SetValue(true));
            harass.AddItem(new MenuItem("SAutoCarry.TwistedFate.Harass.UseW", "Use W (Blue Always)").SetValue(true));

            Menu misc = new Menu("Misc", "SAutoCarry.TwistedFate.Misc");

            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.SelectGold", "Select Gold Card").SetValue(new KeyBind('W', KeyBindType.Press)));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.SelectBlue", "Select Blue Card").SetValue(new KeyBind('E', KeyBindType.Press)));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.SelectRed", "Select Red Card").SetValue(new KeyBind('T', KeyBindType.Press)));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.SelectGoldAfterR", "Select Gold Card After R").SetValue(true));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.AntiGapCloser", "Anti Gap Closer").SetValue(true));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.Interrupter", "Interrupter").SetValue(true));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.DrawR", "Draw R Range").SetValue(true));
            misc.AddItem(new MenuItem("SAutoCarry.TwistedFate.Misc.DrawRMinimap", "Draw R Range On Minimap").SetValue(true));

            DamageIndicator.Initialize((t) => (float)CalculateComboDamage(t), misc);

            ConfigMenu.AddSubMenu(combo);
            ConfigMenu.AddSubMenu(harass);
            ConfigMenu.AddSubMenu(misc);
            ConfigMenu.AddToMainMenu();
        }
コード例 #7
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Swain")
            {
                return;
            }
            Chat.Print("Swain The Troll Loaded!!", Color.Gold);
            Chat.Print("Version 1 (1/8/2016", Color.Gold);
            Chat.Print("HF And Dont Troll And Feed Kappa!!", Color.Gold);

            SwainTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 700, SkillShotType.Circular, 250, 1250, 325);
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 500, 1250, 125);
            E = new Spell.Targeted(SpellSlot.E, 625);
            R = new Spell.Active(SpellSlot.R, 700);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw      += GameOnDraw;
            GameObject.OnCreate += OnCreateObject;
            GameObject.OnDelete += OnDeleteObject;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #8
0
ファイル: Morgana.cs プロジェクト: a0937821230/Elobuddy-1
        public override void InitVariables()
        {
            Activator = new Activator(DamageType.Magical);

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1200, 70),
                new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 2200, 280),
                new Spell.Targeted(SpellSlot.E, 750),
                new Spell.Active(SpellSlot.R, 625)
            };

            Q.MinimumHitChance      = HitChance.Medium;
            W.AllowedCollisionCount = int.MaxValue;

            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Q, new float[] { 0, 80, 135, 190, 245, 300 }, new [] { 0, 0.9f, 0.9f, 0.9f, 0.9f, 0.9f }, DamageType.Magical),
                new SpellDamage(W, new float[] { 0, 80, 160, 240, 320, 400 }, new [] { 0, 0.8f, 0.8f, 0.8f, 0.8f, 0.8f }, DamageType.Magical),
                //--------------------------------------- not 0.8f, the true value is 1.1f, 5 seconds in a tormented soil ?
                new SpellDamage(R, new float[] { 0, 150, 225, 300 }, new [] { 0, 0.7f, 0.7f, 0.7f, 0.7f, 0.7f }, DamageType.Magical)
            };

            InitMenu();

            DamageIndicator.Initialize(DamageUtil.GetComboDamage);

            new SkinController(8);
        }
コード例 #9
0
ファイル: Program.cs プロジェクト: qazji3/Elobuddy-1
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Taliyah")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#d80303\" >MeLoDag Presents </font><font color=\"#fffffff\" >Taliyah </font><font color=\"#d80303\" >Kappa Kippo</font>");
            Chat.Print("Version 1.2 12 / 9 / 2016", Color.Chartreuse);
            TalliyahTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 2000, 60);
            {
                Q.AllowedCollisionCount = 0;
            }
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular, 250, int.MaxValue, 180);
            E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Cone);
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear);


            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #10
0
ファイル: Kassadin.cs プロジェクト: wade1990/PortAIO
        public static void OnLoad()
        {
            try
            {
                player = ObjectManager.Player;

                if (player.ChampionName != ChampionName)
                {
                    return;
                }

                ShowNotification("Kassadin the Harbinger", Color.DarkOrange, 10000);
                ShowNotification("by blacky - Loaded", Color.DarkOrange, 10000);

                DamageIndicator.Initialize(GetComboDamage);
                DamageIndicator.Enabled      = true;
                DamageIndicator.DrawingColor = Color.GreenYellow;

                ManaManager = new ManaManager();
                MenuGenerator.Load();
                SkillsHandler.Load();
                AntiGapcloser.OnEnemyGapcloser     += OnEnemyGapcloser;
                Interrupter2.OnInterruptableTarget += OnInterruptableTarget;
                Orbwalking.BeforeAttack            += OnBeforeAttack;
                Drawing.OnDraw += DrawHandler.OnDraw;
                Game.OnUpdate  += OnUpdate;
            }
            catch (Exception e)
            {
                Console.WriteLine("An error occurred: '{0}'", e);
            }
        }
コード例 #11
0
ファイル: Ezreal.cs プロジェクト: a0937821230/Elobuddy-1
        public override void InitVariables()
        {
            Activator = new Activator();

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Skillshot(SpellSlot.Q, 0x47E, SkillShotType.Linear, 0xFA, 0x7D0, 65),
                new Spell.Skillshot(SpellSlot.W, 0x3E8, SkillShotType.Circular, 0xFA, 0x60E, 80)
                {
                    AllowedCollisionCount = int.MaxValue
                },
                new Spell.Skillshot(SpellSlot.E, 0x2EE, SkillShotType.Linear),
                new Spell.Skillshot(SpellSlot.R, 0x61A8, SkillShotType.Linear, 0x1F4, 0x7D0, 160)
                {
                    AllowedCollisionCount = int.MaxValue
                }
            };
            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Q, new float[] { 0, 0x23, 0x37, 0x4B, 0x4F, 0x73 }, new [] { 0, 1.1f, 1.1f, 1.1f, 1.1f, 1.1f }, DamageType.Physical),
                new SpellDamage(W, new float[] { 0, 0x46, 0x73, 0xA0, 0xCD, 0xFA }, new [] { 0, 0.8f, 0.8f, 0.8f, 0.8f, 0.8f }, DamageType.Magical),
                new SpellDamage(E, new float[] { 0, 0x4B, 0x7D, 0xAF, 0xE1, 0x113 }, new [] { 0, 0.75f, 0.75f, 0.75f, 0.75f, 0.75f }, DamageType.Physical),
                new SpellDamage(R, new float[] { 0, 350, 0x1F4, 0x28A }, new [] { 0, 1f, 1f, 1f }, DamageType.Physical)
            };
            InitMenu();
            DamageIndicator.Initialize(DamageUtil.GetComboDamage);
            new SkinController(8);
        }
コード例 #12
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Zyra")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#d80303\" >MeLoDag Presents </font><font color=\"#ffffff\" > Zyra </font><font color=\"#d80303\" >Kappa Kippo</font>");
            ZyraTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Cone);
            W = new Spell.Active(SpellSlot.W, 850);
            E = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 250, 1150, 80);
            {
                E.AllowedCollisionCount = 0;
            }
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #13
0
ファイル: Jhin.cs プロジェクト: a0937821230/Elobuddy-1
        public override void InitVariables()
        {
            Activator = new Activator();

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Targeted(SpellSlot.Q, 700),
                new Spell.Skillshot(SpellSlot.W, 2000, SkillShotType.Linear),
                new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Circular),
                new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear)
            };

            W.AllowedCollisionCount = int.MaxValue;
            E.AllowedCollisionCount = int.MaxValue;
            R.AllowedCollisionCount = -1;

            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Q, new float[] { 0, 70, 110, 150, 190, 230 }, new [] { 0, 1f, 1f, 1f, 1f, 1f }, DamageType.Physical),
                new SpellDamage(Q, new float[] { 0, 0, 0, 0, 0, 0 }, new [] { 0, 0.6f, 0.6f, 0.6f, 0.6f, 0.6f }, DamageType.Magical),
                new SpellDamage(W, new float[] { 0, 40, 75, 110, 145, 180 }, new [] { 0, 0.6f, 0.6f, 0.6f, 0.6f, 0.6f }, DamageType.Magical),
                new SpellDamage(E, new float[] { 50, 75, 100, 125, 150 }, new [] { 0, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f }, DamageType.Physical)
            };

            InitMenu();

            DamageIndicator.Initialize(DamageUtil.GetComboDamage);

            new SkinController(2);
        }
コード例 #14
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            try
            {
                if (!Player.Instance.ChampionName.Equals("Warwick"))
                {
                    return;
                }

                Spells.Initialize();

                Menu.Initialize();

                DamageIndicator.Initialize();

                Game.OnTick        += Game_OnTick;
                Drawing.OnDraw     += Drawing_OnDraw;
                Orbwalker.OnAttack += Orbwalker_OnAttack;
                Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            }
            catch (Exception e)
            {
                Console.WriteLine("Loading_OnLoadingComplete:" + Environment.NewLine + e);
            }
        }
コード例 #15
0
ファイル: Pantheon.cs プロジェクト: wade1990/PortAIO
        public override void CreateConfigMenu()
        {
            Menu combo = new Menu("Combo", "SAutoCarry.Pantheon.Combo");

            combo.AddItem(new MenuItem("SAutoCarry.Pantheon.Combo.UseQ", "Use Q").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.Pantheon.Combo.UseW", "Use W").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.Pantheon.Combo.UseE", "Use E").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.Pantheon.Combo.UseTiamat", "Use Tiamat/Hydra").SetValue(true));

            Menu harass = new Menu("Harass", "SAutoCarry.Pantheon.Harass");

            harass.AddItem(new MenuItem("SAutoCarry.Pantheon.Harass.UseQ", "Use Q").SetValue(true));
            harass.AddItem(new MenuItem("SAutoCarry.Pantheon.Harass.Toggle", "Toggle Harass").SetValue(new KeyBind('T', KeyBindType.Toggle)));
            harass.AddItem(new MenuItem("SAutoCarry.Pantheon.Harass.MinMana", "Min. Mana %").SetValue(new Slider(40, 0, 100)));

            Menu misc = new Menu("Misc", "SAutoCarry.Pantheon.Misc");

            misc.AddItem(new MenuItem("SAutoCarry.Pantheon.Misc.LaneClearQ", "Use Q On LaneClear").SetValue(true));
            misc.AddItem(new MenuItem("SAutoCarry.Pantheon.Misc.LaneClear.MinMana", "Min Mana Percent").SetValue(new Slider(50, 100, 0)));
            misc.AddItem(new MenuItem("SAutoCarry.Pantheon.Misc.InterruptW", "Interrupt Spells With W").SetValue(true));
            DamageIndicator.Initialize((t) => (float)CalculateComboDamage(t), misc);

            ConfigMenu.AddSubMenu(combo);
            ConfigMenu.AddSubMenu(harass);
            ConfigMenu.AddSubMenu(misc);
            ConfigMenu.AddToMainMenu();
        }
コード例 #16
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "MasterYi")
            {
                return;
            }
            Chat.Print("Yi The Troll!!", Color.LawnGreen);
            Chat.Print("Loaded Version 1 (27-6-2016)", Color.LawnGreen);
            Chat.Print("GL And Dont Feed!!", Color.Red);
            YiTheTrollMenu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R);

            #endregion

            Gapcloser.OnGapcloser          += AntiGapCloser;
            Obj_AI_Base.OnBuffGain         += OnBuffGain;
            Obj_AI_Base.OnProcessSpellCast += OnSpellCast;
            Obj_AI_Base.OnBuffLose         += OnBuffLose;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #17
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Hero != Champion.MissFortune)
            {
                return;
            }
            Chat.Print("Miss Fortune The Troll Loaded!", Color.Red);
            Chat.Print("Version 1.2 (20.7.2016!", Color.Red);
            Chat.Print("Gl HF And dont feed kappa", Color.Red);
            MissFortuneTheTrollMenu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q  = new Spell.Targeted(SpellSlot.Q, 650);
            Q1 = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Circular, 250, 2000, 50);
            W  = new Spell.Active(SpellSlot.W);
            E  = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 200);
            R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Cone, 0, int.MaxValue);
            R.ConeAngleDegrees = 30;

            #endregion

            Gapcloser.OnGapcloser          += AntiGapCloser;
            Obj_AI_Base.OnProcessSpellCast += OnSpellCast;
            Obj_AI_Base.OnBuffLose         += OnBuffLose;
            Obj_AI_Base.OnBuffGain         += OnBuffGain;
            //   Obj_AI_Base.OnBuffGain += OnBuffGain1;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #18
0
ファイル: Malphite.cs プロジェクト: a0937821230/Elobuddy-1
        public override void InitVariables()
        {
            Activator = new Activator(DamageType.Physical);

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Targeted(SpellSlot.Q, 625),
                new Spell.Active(SpellSlot.W),
                new Spell.Active(SpellSlot.E, 320),
                new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 700, 270)
            };

            R.AllowedCollisionCount = int.MaxValue;
            R.MinimumHitChance      = HitChance.Medium;

            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Q, new float[] { 0, 70, 120, 170, 220, 270 }, new [] { 0, 0.6f, 0.6f, 0.6f, 0.6f, 0.6f }, DamageType.Magical),
                new SpellDamage(E, new float[] { 0, 60, 100, 140, 180, 220 }, new [] { 0, 0.2f, 0.2f, 0.2f, 0.2f, 0.2f }, DamageType.Magical),
                new SpellDamage(R, new float[] { 0, 200, 300, 400 }, new [] { 0, 1f, 1f, 1f, 1f, 1f }, DamageType.Magical)
            };

            InitMenu();

            DamageIndicator.Initialize(DamageUtil.GetComboDamage);

            new SkinController(8);
        }
コード例 #19
0
ファイル: Xerath.cs プロジェクト: axell-brendow/Elobuddy-1
        public override void InitVariables()
        {
            Spells = new List <Spell.SpellBase>
            {
                new Spell.Chargeable(SpellSlot.Q, 750, 1550, 1500, 750, int.MaxValue, 100)
                {
                    AllowedCollisionCount = int.MaxValue
                },
                new Spell.Skillshot(SpellSlot.W, 1100, SkillShotType.Circular, 750, int.MaxValue, 150)
                {
                    AllowedCollisionCount = int.MaxValue
                },
                new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear, 250, 1100, 60),
                new Spell.Skillshot(SpellSlot.R, (uint)(2000 + (Player.GetSpell(SpellSlot.R).Level * 1200)), SkillShotType.Circular, 500, int.MaxValue, 120)
                {
                    AllowedCollisionCount = int.MaxValue
                }
            };
            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Spells[0], new float[] { 0, 80, 120, 160, 200, 240 }, new [] { 0, 0.75f, 0.75f, 0.75f, 0.75f, 0.75f }, DamageType.Magical),
                new SpellDamage(Spells[1], new float[] { 0, 60, 90, 120, 150, 180 }, new [] { 0, 0.6f, 0.6f, 0.6f, 0.6f, 0.6f }, DamageType.Magical),
                new SpellDamage(Spells[2], new float[] { 0, 80, 110, 140, 170, 200 }, new [] { 0, 0.45f, 0.45f, 0.45f, 0.45f, 0.45f }, DamageType.Magical),
                new SpellDamage(Spells[3], new float[] { 0, 190 * 3, 245 * 3, 300 * 3 }, new [] { 0, 0.433f, 0.433f, 0.433f }, DamageType.Magical)
            };

            InitMenu();
            DamageIndicator.Initialize(DamageUtil.GetComboDamage);
            new SkinController(4);
        }
コード例 #20
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Hero != Champion.FiddleSticks)
            {
                return;
            }
            Chat.Print(
                "<font color=\"#6ce510\" >MeLoDag Presents </font><font color=\"#fffffff\" >Fiddlesticks </font><font color=\"#6ce510\" >Kappa Kippo</font>");
            FiddleTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Targeted(SpellSlot.Q, 575);
            W = new Spell.Targeted(SpellSlot.W, 575);
            E = new Spell.Targeted(SpellSlot.E, 750);
            R = new Spell.Skillshot(SpellSlot.R, 800, SkillShotType.Circular);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnProcessSpellCast   += OnSpellCast;
            Obj_AI_Base.OnBuffLose           += OnBuffLose;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #21
0
ファイル: Program.cs プロジェクト: qazji3/Elobuddy-1
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Hero != Champion.Irelia)
            {
                return;
            }
            Chat.Print("Irelia The Troll Loaded!!", Color.White);
            Chat.Print("Version 1 (28/6/2016)", Color.White);
            Chat.Print("Hafe Fun And Dont Feed!", Color.White);
            IreliaTheTrollMenu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 350);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 0, 1600, 65);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Drawing.OnDraw         += GameOnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #22
0
        public override void InitVariables()
        {
            Activator = new Activator();

            Spells = new List <Spell.SpellBase>
            {
                new Spell.Skillshot(SpellSlot.Q, 0, SkillShotType.Circular, 750, int.MaxValue, 425)
                {
                    AllowedCollisionCount = int.MaxValue
                },
                new Spell.Active(SpellSlot.W),
                new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Cone, 250, 1100, 300)
                {
                    AllowedCollisionCount = int.MaxValue
                },
                new Spell.Targeted(SpellSlot.R, 460)
            };

            DamageUtil.SpellsDamage = new List <SpellDamage>
            {
                new SpellDamage(Spells[0], new float[] { 0, 20, 35, 50, 65, 80 }, new [] { 0, 0.5f, 0.55f, 0.60f, 0.65f, 0.7f }, DamageType.Physical),
                new SpellDamage(Spells[3], new float[] { 0, 100, 200, 300 }, new [] { 0, 0.75f, 0.75f, 0.75f }, DamageType.True)
            };

            InitMenu();

            DamageIndicator.Initialize(DamageUtil.GetComboDamage);

            new SkinController(5);
        }
コード例 #23
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Caitlyn")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#6909aa\" >MeLoDag Presents </font><font color=\"#fffffff\" >Caitlyn </font><font color=\"#6909aa\" >Kappa Kippo</font>");
            Chat.Print("Loaded Version 1.3 (9-6-2016)", Color.Red);
            CaitlynTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 1240, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 820, SkillShotType.Circular, 500, int.MaxValue, 80);
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, 250, 1600, 80);
            {
                E.AllowedCollisionCount = 0;
            }
            R = new Spell.Targeted(SpellSlot.R, 2000);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }
コード例 #24
0
        public static void Initialize()
        {
            DamageIndicator.Initialize(DamageMemeger.GetRendDamage);
            DamageIndicator.DrawingColor = Color.Goldenrod;

            Drawing.OnDraw += OnDrawing;
        }
コード例 #25
0
 public void RegisterEvents()
 {
     Game.OnUpdate += Game_OnGameUpdate;
     Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
     AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
     Drawing.OnDraw += Drawing_OnDraw;
     DamageIndicator.Initialize(GetComboDamage);
 }
コード例 #26
0
ファイル: Zilean.cs プロジェクト: ShineSharp/LeagueSharp-5
 public void RegisterEvents()
 {
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Drawing_OnDraw;
     DamagePrediction.OnSpellWillKill += DamagePrediction_OnSpellWillKill;
     AntiGapcloser.OnEnemyGapcloser   += AntiGapcloser_OnEnemyGapcloser;
     DamageIndicator.Initialize(GetComboDamage);
 }
コード例 #27
0
ファイル: Blitzcrank.cs プロジェクト: tk8226/YamiPortAIO-v2
        public override void CreateConfigMenu()
        {
            Menu combo = new Menu("Combo", "SAutoCarry.Blitzcrank.Combo");

            combo.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Combo.UseQ", "Use Q").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Combo.UseW", "Use W").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Combo.UseE", "Use E").SetValue(true));
            combo.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Combo.UseR", "Use R").SetValue(true)).ValueChanged += (s, ar) => ConfigMenu.Item("SAutoCarry.Blitzcrank.Combo.UseRHit").Show(ar.GetNewValue <bool>());
            combo.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Combo.UseRHit", "Use R When Enemy Count >= ").SetValue(new Slider(2, 1, 5))).Show(combo.Item("SAutoCarry.Blitzcrank.Combo.UseR").GetValue <bool>());
            //
            Menu nograb = new Menu("Grab Filter", "SAutoCarry.Blitzcrank.Combo.Grabfilter");

            foreach (AIHeroClient enemy in HeroManager.Enemies)
            {
                nograb.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Combo.Grabfilter.DontGrab" + enemy.ChampionName, string.Format("Dont Grab {0}", enemy.ChampionName)).SetValue(false));
            }
            //
            combo.AddSubMenu(nograb);


            Menu harass = new Menu("Harass", "SAutoCarry.Blitzcrank.Harass");

            harass.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Harass.UseQ", "Use Q").SetValue(true));
            harass.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Harass.UseE", "Use E").SetValue(true));


            Menu laneclear = new Menu("LaneClear/JungleClear", "SAutoCarry.Blitzcrank.LaneClear");

            laneclear.AddItem(new MenuItem("SAutoCarry.Blitzcrank.LaneClear.UseR", "Use R").SetValue(true));
            laneclear.AddItem(new MenuItem("SAutoCarry.Blitzcrank.LaneClear.MinMana", "Min Mana Percent").SetValue(new Slider(50, 100, 0)));

            Menu misc = new Menu("Misc", "SAutoCarry.Blitzcrank.Misc");

            misc.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.InterruptQ", "Interrupt With Q").SetValue(true));
            misc.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.InterruptR", "Interrupt With R").SetValue(true));
            //
            Menu autograb = new Menu("Auto Grab (Q)", "SAutoCarry.Blitzcrank.Misc.AutoGrab");

            foreach (AIHeroClient enemy in HeroManager.Enemies)
            {
                autograb.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.AutoGrab.DontGrab" + enemy.ChampionName, string.Format("Dont Grab {0}", enemy.ChampionName)).SetValue(false));
            }
            autograb.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.AutoGrab.Immobile", "Auto Grab Immobile Target").SetValue(true));
            autograb.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.AutoGrab.Range", "Max. Grab Range").SetValue(new Slider(800, 1, 925)));
            autograb.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.AutoGrab.MinHp", "Min. HP Percent").SetValue(new Slider(40, 1, 100)));
            autograb.AddItem(new MenuItem("SAutoCarry.Blitzcrank.Misc.AutoGrab.Enabled", "Enabled").SetValue(new KeyBind('T', KeyBindType.Toggle)));
            //
            misc.AddSubMenu(autograb);

            DamageIndicator.Initialize((t) => (float)CalculateComboDamage(t), misc);

            ConfigMenu.AddSubMenu(combo);
            ConfigMenu.AddSubMenu(harass);
            ConfigMenu.AddSubMenu(laneclear);
            ConfigMenu.AddSubMenu(misc);

            ConfigMenu.AddToMainMenu();
        }
コード例 #28
0
 public void RegisterEvents()
 {
     Game.OnUpdate       += Game_OnGameUpdate;
     Drawing.OnDraw      += Drawing_OnDraw;
     GameObject.OnCreate += GameObject_OnCreate;
     GameObject.OnDelete += GameObject_OnDelete;
     DamageIndicator.Initialize(GetComboDamage);
     AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
 }
コード例 #29
0
 public void RegisterEvents()
 {
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Drawing_OnDraw;
     Obj_AI_Base.OnProcessSpellCast     += Obj_AI_Hero_OnProcessSpellCast;
     AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
     Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
     Orbwalking.BeforeAttack            += OrbwalkingBeforeAttack;
     Spellbook.OnCastSpell += Spellbook_OnCastSpell;
     DamageIndicator.Initialize(GetComboDamage);
 }
コード例 #30
0
        public void OnInitialize()
        {
            Game.OnGameLoaded += () =>
            {
                Core.DelayAction(() =>
                {
                    if (Globals.MyHero.Hero.Equals(Champion.Annie))
                    {
                        switch (Updater.Run(Name, Version))
                        {
                        case "NoUpdate":
                            Chat.Print("<font color='#27ae60'>[T2IN1-UPDATE-CHECKER] </font>No update found");
                            break;

                        case "Failed":
                            Chat.Print("<font color='#e74c3c'>[T2IN1-UPDATE-CHECKER] </font>Could not check for updates");
                            break;

                        case "NewVersion":
                            Chat.Print("<font color='#e74c3c'>[T2IN1-UPDATE-CHECKER] </font>A new update is available");
                            break;

                        default:
                            Chat.Print("<font color='#e74c3c'>[T2IN1-UPDATE-CHECKER] </font>Could not check for updates");
                            break;
                        }

                        Console.Clear();

                        try
                        {
                            SpellsManager.Initialize();
                            Menus.Initialize();
                            Drawings.Initialize();
                            DamageIndicator.Initialize();
                            ModeManager.Initialize();
                            EventManager.Initialize();
                            /* Interrupt.Initialize(); TODO: FINISH */
                        }
                        catch (Exception _Exception)
                        {
                            Logger.Log("Error: " + _Exception, ConsoleColor.Red);
                        }

                        Chat.Print("<font color='#27ae60'>[T2IN1-REBORN] </font>Script is fully initialized");
                    }
                    else
                    {
                        Chat.Print("<font color='#e74c3c'>[T2IN1-REBORN] </font> Champion: " + ObjectManager.Player.ChampionName + " is not Supported!");
                    }
                }, new Random().Next(1250, 3500));
            };
        }