コード例 #1
0
ファイル: HeroChampion.cs プロジェクト: NoShurim/Buddys
        private static void OnComplete(EventArgs args)
        {
            if (Xerath.Hero != Champion.Xerath)
            {
                return;
            }
            Chat.Print("[Addon] [Champion] [Xerath]", System.Drawing.Color.Blue);

            SpellManager.Initialize();
            Drawing.OnDraw += DrawsOnDraws;
            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Obj_AI_Base.OnNewPath            += Obj_AI_Base_OnNewPath;
            Gapcloser.OnGapcloser            += OnGapcloser;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Game.OnTick += Game_OnUpdate;

            Xe    = MainMenu.AddMenu("Xerath", "Xerath");
            Combo = Xe.AddSubMenu("Combo");
            Combo.Add("Qc", new CheckBox("Use [Q]"));
            Combo.Add("Qcc", new CheckBox("Use [Q] IsCharnell", false));
            Combo.Add("Wc", new CheckBox("Use [W]"));
            Combo.Add("Wcc", new CheckBox("Use [W] IsCharnell", false));
            Combo.Add("Ec", new CheckBox("Use [E]"));
            Combo.Add("Ecc", new CheckBox("Use [E] IsCharnell", false));
            Combo.Add("Rc", new CheckBox("Use [R] Combo", false));
            Combo.AddSeparator();
            Combo.AddLabel("Settings [Range]");
            Combo.Add("rangeQ", new Slider("Max Range > %", 300, 0, 300));
            Combo.Add("rangeQ2", new Slider("Min Range > %", 200, 0, 200));
            //Harass
            Harass = Xe.AddSubMenu("Harass");
            Harass.Add("Hq", new CheckBox("Use [Q]"));
            Harass.Add("Hw", new CheckBox("Use [W]"));
            Harass.Add("He", new CheckBox("Use [E]"));
            Harass.AddSeparator();
            Harass.AddLabel("Percent Mana");
            Harass.Add("mana", new Slider("Mana Percent > %", 75, 1));
            //Lane
            Lane = Xe.AddSubMenu("LaneClear");
            Lane.Add("Ql", new CheckBox("Use [Q]"));
            Lane.Add("Wl", new CheckBox("Use [W]"));
            Lane.AddSeparator();
            Lane.AddLabel("Mana Percent");
            Lane.Add("manal", new Slider("Mana Percent > %", 50, 1));
            Lane.AddSeparator();
            Lane.AddLabel("Minions Percent");
            Lane.Add("Min", new Slider("Minion Percent [Q] > %", 3, 1, 6));
            Lane.Add("MinW", new Slider("Minion Percent [W] > %", 3, 1, 6));
            //Jungle
            Jungle = Xe.AddSubMenu("JungleClear");
            Jungle.Add("Qj", new CheckBox("Use [Q]"));
            Jungle.Add("Wj", new CheckBox("Use [W]"));
            Jungle.AddSeparator();
            Jungle.AddLabel("Mana Percent");
            Jungle.Add("manaj", new Slider("Mana Percent > %", 50, 1));
            //Utimate
            Utimate = Xe.AddSubMenu("Utimate");
            Utimate.AddLabel("Key [T]");
            Utimate.Add("Key", new KeyBind("Shoot charge on press", false, KeyBind.BindTypes.HoldActive, 'T'));
            //Misc
            Misc = Xe.AddSubMenu("Misc");
            Misc.Add("gape", new CheckBox("Use [E] GapClose"));
            Misc.Add("inte", new CheckBox("Use [E] Interrupt"));
            //Draws
            Draws = Xe.AddSubMenu("Drawings");
            Draws.Add("Dq", new CheckBox("Use [Q] Draw"));
            Draws.Add("Dw", new CheckBox("Use [W] Draw"));
            Draws.Add("De", new CheckBox("Use [E] Draw"));
            Draws.Add("Dr", new CheckBox("Use [R] Draw"));
        }
コード例 #2
0
ファイル: Champion.cs プロジェクト: NoShurim/Buddys
        private static void Menus()
        {
            DD = MainMenu.AddMenu("Zed", "Zed");
            //ComboMenu
            ComboMenu = DD.AddSubMenu("Combo");
            ComboMenu.AddLabel("Settings Combo");
            ComboMenu.Add("Key", new KeyBind("Forced [R]", false, KeyBind.BindTypes.HoldActive, (uint)'A'));
            ComboMenu.Add("UseG", new CheckBox("Use Ignite [Firts]"));
            ComboMenu.Add("Q", new CheckBox("Use [Q]"));
            ComboMenu.Add("W", new CheckBox("Use [W]"));
            ComboMenu.Add("E", new CheckBox("Use [E]"));
            ComboMenu.Add("ModeR", new ComboBox("ModSharp", 1, "Normal => [R]", "Static [R]"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic");
            ComboMenu.Add("Ql", new CheckBox("Use [Logic Q]"));
            ComboMenu.Add("Wl", new CheckBox("Use [Logic W]"));
            ComboMenu.Add("El", new CheckBox("Use [Logic E]"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic [Q]");
            ComboMenu.Add("Q2", new CheckBox("Fist [Q] Showdown"));
            ComboMenu.Add("Qp", new Slider("Use Prediction Lane > {0}", 50, 1));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic [W]");
            ComboMenu.Add("W2", new CheckBox("Fist [W] Showdown"));
            ComboMenu.Add("Wp", new Slider("Use Prediction Lane > {0}", 70, 1));
            ComboMenu.Add("We", new CheckBox("Use [W] To reach out to enemies"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Settings Logic [E]");
            ComboMenu.Add("E2", new CheckBox("Fist [E] Showdown"));
            ComboMenu.Add("Ep", new Slider("Use Prediction Lane > {0}", 70, 1));
            //Auto
            Auto = DD.AddSubMenu("Auto");
            Auto.AddLabel("Settings Auto");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            //Farming
            Farming = DD.AddSubMenu("LaneClear");
            Farming.Add("Qf", new CheckBox("Use [Q] Farme"));
            Farming.Add("Wf", new CheckBox("Use [W] Farme"));
            Farming.Add("Ef", new CheckBox("Use [E] Farme"));
            Farming.AddSeparator();
            Farming.AddLabel("[Minion Settings]");
            Farming.Add("mini", new Slider("Minion Percent [W] > {0}", 3, 0, 6));
            Farming.AddSeparator();
            Farming.AddLabel("JungleClear");
            Farming.Add("Qj", new CheckBox("Use [Q]"));
            Farming.Add("Wj", new CheckBox("Use [W]"));
            Farming.Add("Ej", new CheckBox("Use [E]"));
            //Utimate
            Utimate = DD.AddSubMenu("Utimate [R]");
            Utimate.AddLabel("Settings Utimate");
            Utimate.Add("AutoR", new CheckBox("Use Auto[R]"));
            Utimate.Add("R", new CheckBox("[R] Utimate [Not use Spells]"));
            Utimate.Add("Rlife", new Slider("Target [R] > {0}", 75, 0));
            //KillSteal
            KillSteal = DD.AddSubMenu("KillSteal");
            //Draws
            Draws = DD.AddSubMenu("Drawings");
            Draws.Add("DQ", new CheckBox("[Q] Draws"));
            Draws.Add("DW", new CheckBox("[W] Draws"));
            Draws.Add("DE", new CheckBox("[E] Draws"));
            Draws.Add("DR", new CheckBox("[R] Draws"));

            Obj_AI_Base.OnBuffGain         += Showndows;
            Obj_AI_Base.OnPlayAnimation    += PlayerAnimation;
            Obj_AI_Base.OnProcessSpellCast += CastObjetcSpells;
            GameObject.OnCreate            += Create_ObJectic;
            GameObject.OnDelete            += Delete_Objectic;
            AttackableUnit.OnDamage        += DamageAutoAtack;
            Drawing.OnDraw += OnDraw_Firts;
            Game.OnTick    += GameOnTick;
            //Evade...
        }