Esempio n. 1
0
 public void OnLoad()
 {
     Console.WriteLine("Loaded Lucian");
     MenuGenerator.Generate();
     LoadSpells();
     LoadEvents();
 }
Esempio n. 2
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            this.gnarState = new GnarState();

            var selecter = new MenuItem("Form", "Form").SetValue(new StringList(new[] { "Mini", "Mega" }));

            var mini = new List <MenuItem>
            {
                new MenuItem("Q1Range", "Range").SetValue(new Slider(1100, 0, 1100)),
                new MenuItem("QHighHitChance", "Q Frequently").SetValue(true),
                new MenuItem("BetaQ", "Allow Collision").SetValue(true).SetTooltip("Will Q On Minions Near Target"),
                new MenuItem("BlockIfTransforming", "Block If Transforming").SetValue(true)
            };

            var mega = new List <MenuItem>
            {
                new MenuItem("Q2Range", "Range").SetValue(new Slider(1100, 0, 1100)),
                new MenuItem("BetaQ2", "Allow Collision Q").SetValue(true).SetTooltip("Will Q On Minions Near Target")
            };

            var menuGenerator = new MenuGenerator(this.Menu, new DynamicMenu("Dynamic Menu", selecter, new[] { mini, mega }));

            menuGenerator.Generate();
        }
Esempio n. 3
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            this.gnarState = new GnarState();

            var selecter = new MenuItem("GnarForm", "Form").SetValue(new StringList(new[] { "Mini", "Mega" }));

            var mini = new List <MenuItem>
            {
                new MenuItem("Q1Range", "Range").SetValue(new Slider(600, 0, 600)),
                new MenuItem("Q1HitCount", "Min Hit Count").SetValue(new Slider(2, 0, 6)),
                new MenuItem("Q1Enemy", "Block If Nearby Enemies").SetValue(true)
            };

            var mega = new List <MenuItem>
            {
                new MenuItem("Q2Range", "Range").SetValue(new Slider(600, 0, 700)),
                new MenuItem("Q2HitCount", "Min Hit Count").SetValue(new Slider(3, 0, 6)),
                new MenuItem("Q2Enemy", "Block If Nearby Enemies").SetValue(true)
            };

            var menuGenerator = new MenuGenerator(Menu, new DynamicMenu("Dynamic Menu", selecter, new[] { mini, mega }));

            menuGenerator.Generate();
        }
Esempio n. 4
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Kalista" /> class.
        /// </summary>
        public Kalista()
        {
            MenuGenerator.Generate();
            Game.OnUpdate  += this.OnUpdate;
            Drawing.OnDraw += this.OnDraw;
            TickLimiter.Add("ModulesLimiter", 0x7D);
            this.LoadModules();
            Spellbook.OnCastSpell += (sender, args) =>
            {
                if (sender.Owner.IsMe && args.Slot == SpellSlot.Q && ObjectManager.Player.IsDashing())
                {
                    args.Process = false;
                }
            };
            Obj_AI_Base.OnProcessSpellCast += (sender, args) =>
            {
                if (!sender.IsMe)
                {
                    return;
                }

                if (args.SData.Name == "KalistaExpungeWrapper")
                {
                    DelayAction.Add(0x7D, Orbwalker.ResetAutoAttackTimer);
                }
            };
            Notifications.Add(
                new Notification(
                    "iKalista 2.0 - Even Better Then Before",
                    "Please Note this is currently a work in progress assembly\n"
                    + "Please leave any feedback / suggestion in the thread\n" + "Made by Corey, Protected under Australian IP Laws"));
        }
Esempio n. 5
0
        public SimplePathfinder(Menu menu)
        {
            this.menu = menu;

            var menuGenerator = new MenuGenerator(new SimplePathfinderMenu(this.menu, "Simplified Pathfinder"));

            menuGenerator.Generate();
        }
Esempio n. 6
0
        public AdvancedPathfinder(Menu menu)
        {
            var menuGenerator = new MenuGenerator(new AdvancedPathfinderMenu(menu, "Advanced Pathfinder"));

            menuGenerator.Generate();

            this.menu = menu.SubMenu(menu.Name + "Advanced Pathfinder");
        }
Esempio n. 7
0
        public void OnLoad()
        {
            Console.WriteLine("Loaded Lucian");
            MenuGenerator.Generate();
            AutoCleanse.OnLoad();
            LoadSpells();
            LoadEvents();

            Game.PrintChat("[iLucian] -> Don't forget to upvote on assembly database.");
        }
Esempio n. 8
0
        public static void OnGameLoad()
        {
            if (ObjectManager.Player.ChampionName != "Ezreal")
            {
                return;
            }
            MenuGenerator.Generate();
            DZAntigapcloser.BuildMenu(Variables.Menu, "[Ez] Antigapcloser", "ezreal.antigapcloser");

            SPrediction.Prediction.Initialize(Variables.Menu);
            Ezreal.OnLoad();
        }
Esempio n. 9
0
        /// <summary>
        ///     Called when [load].
        /// </summary>
        protected sealed override void OnLoad()
        {
            this.Menu = new Menu(this.Name, this.Name);

            var menuGenerator = new MenuGenerator(new SteelTempestMenu(this.Menu));

            menuGenerator.Generate();

            this.Menu.AddItem(new MenuItem(this.Name + "Enabled", "Enabled").SetValue(true));

            this.Parent.Menu.AddSubMenu(this.Menu);
        }
Esempio n. 10
0
        /// <summary>
        ///     Called when [load].
        /// </summary>
        protected sealed override void OnLoad()
        {
            this.Menu = new Menu(this.Name, this.Name);

            this.BlacklistMenu = new BlacklistMenu(this.Menu, "Blacklist");

            var menuGenerator = new MenuGenerator(new LastBreathMenu(this.Menu));

            menuGenerator.Generate();

            this.Menu.AddItem(new MenuItem(this.Name + "Enabled", "Enabled").SetValue(true));

            this.Parent.Menu.AddSubMenu(this.Menu);
        }
Esempio n. 11
0
        /// <summary>
        ///     Called when [load].
        /// </summary>
        protected sealed override void OnLoad()
        {
            this.Menu = new Menu(this.Name, this.Name);


            this.BlacklistMenu = new BlacklistMenu(this.Menu, "Don't dash into");

            var menuGenerator = new MenuGenerator(new SweepingBladeMenu(this.Menu));

            menuGenerator.Generate();


            this.Menu.AddItem(new MenuItem(this.Name + "Enabled", "Enabled").SetValue(true));

            this.Parent.Menu.AddSubMenu(this.Menu);
        }
Esempio n. 12
0
        /// <summary>
        ///     Called when [load].
        /// </summary>
        protected sealed override void OnLoad()
        {
            this.Menu = new Menu(this.Name, this.Name);


            this.ChampionSliderMenu = new ChampionSliderMenu(this.Menu, "Min Distance to Enemy");

            var menuGenerator = new MenuGenerator(new SweepingBladeMenu(this.Menu));

            menuGenerator.Generate();


            this.Menu.AddItem(new MenuItem(this.Name + "Enabled", "Enabled").SetValue(true));

            this.Parent.Menu.AddSubMenu(this.Menu);
        }
Esempio n. 13
0
        /// <summary>
        ///     Called when [load].
        /// </summary>
        protected sealed override void OnLoad()
        {
            this.Menu = new Menu(this.Name, this.Name);

            var menuGenerator = new MenuGenerator(new SweepingBladeMenu(this.Menu));

            menuGenerator.Generate();

            this.BlacklistMenu = new BlacklistMenu(this.Menu, "Blacklist");

            this.Pathfinder =
                new PathfindingContainer <Point, ConnectionBase <Point>, YasuoPath <Point, ConnectionBase <Point> > >(
                    new AdvancedPathfinder(this.Menu));

            this.Menu.AddItem(new MenuItem(this.Name + "Enabled", "Enabled").SetValue(true));

            this.Parent.Menu.AddSubMenu(this.Menu);
        }
Esempio n. 14
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            this.gnarState = new GnarState();

            var selecter = new MenuItem("Form", "Form").SetValue(new StringList(new[] { "Mini", "Mega" }));

            var mini = new List<MenuItem>
            {
                 new MenuItem("Q1Range", "Range").SetValue(new Slider(1100, 0, 1100)),
                 new MenuItem("QHighHitChance", "Q Frequently").SetValue(true),
                 new MenuItem("BetaQ", "Allow Collision").SetValue(true).SetTooltip("Will Q On Minions Near Target"),
                 new MenuItem("BlockIfTransforming", "Block If Transforming").SetValue(true)
             };

            var mega = new List<MenuItem>
            {
                 new MenuItem("Q2Range", "Range").SetValue(new Slider(1100, 0, 1100)),
                 new MenuItem("BetaQ2", "Allow Collision Q").SetValue(true).SetTooltip("Will Q On Minions Near Target")
             };

            var menuGenerator = new MenuGenerator(this.Menu, new DynamicMenu("Dynamic Menu", selecter, new[] { mini, mega }));

            menuGenerator.Generate();
        }
Esempio n. 15
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            this.gnarState = new GnarState();

            var selecter = new MenuItem("GnarForm", "Form").SetValue(new StringList(new[] { "Mini", "Mega" }));

            var mini = new List<MenuItem>
                           {
                               new MenuItem("Q1Range", "Range").SetValue(new Slider(600, 0, 600)),
                               new MenuItem("BlockIfTransforming", "Block If Transforming").SetValue(true)
                           };

            var mega = new List<MenuItem> { new MenuItem("Q2Range", "Range").SetValue(new Slider(600, 0, 700)) };

            var menuGenerator = new MenuGenerator(Menu, new DynamicMenu("Dynamic Menu", selecter, new[] { mini, mega }));

            menuGenerator.Generate();
        }
Esempio n. 16
0
 internal static void OnLoad()
 {
     LogHelper.OnLoad();
     MenuGenerator.Generate();
     Lee.OnLoad();
 }