示例#1
0
文件: Jinx.cs 项目: waldow90/PortAIO
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1490f).SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);
            E = new Spell(SpellSlot.E, 920f).SetSkillshot(0.7f, 120f, 1750f, false, SkillshotType.SkillshotCircle);
            R = new Spell(SpellSlot.R, 3000f).SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine);


            var QMenu = Menu.Add(new Menu("Q", "Q.Set"));
            {
                QMenu.GetSeparator("Q: Always On");
                QMenu.Add(new MenuBool("ComboQ", "Combo Q", true));
                QMenu.Add(new MenuBool("HarassQ", "Harass Q", true));
                QMenu.Add(new MenuBool("LaneClearQ", "LaneClear Q", true));
            }

            var WMenu = Menu.Add(new Menu("W", "W.Set"));
            {
                WMenu.Add(new MenuBool("ComboW", "Combo W", true));
                WMenu.Add(new MenuBool("HarassW", "Harass W", true));
                WMenu.Add(new MenuSlider("ManaW", "W Min Mana >= ", 40));
                WMenu.Add(new MenuBool("KSW", "W Ks", true));
                var WList = WMenu.Add(new Menu("WList", "W List:"));
                {
                    if (GameObjects.EnemyHeroes.Any())
                    {
                        GameObjects.EnemyHeroes.ForEach(i => WList.Add(new MenuBool(i.ChampionName.ToLower(), i.ChampionName, !AutoEnableList.Contains(i.ChampionName))));
                    }
                }
            }

            var EMenu = Menu.Add(new Menu("E", "E.Set"));
            {
                EMenu.GetSeparator("E: Mobe");
                EMenu.Add(new MenuBool("ComboE", "Combo E", true));
                EMenu.GetSeparator("E: Gapcloser | Melee Modes");
                EMenu.Add(new MenuBool("Gapcloser", "Gapcloser E", true));
                EMenu.GetSeparator("Auto E Set");
                EMenu.Add(new MenuBool("SlowE", "Slow E", true));
                EMenu.Add(new MenuBool("StunE", "Stun E", true));
                EMenu.Add(new MenuBool("TelE", "Tel E", true));
                EMenu.Add(new MenuBool("ImmeE", "Imm E", true));
                EMenu.Add(new MenuBool("ProtectE", "Protect E", true));
            }

            var RMenu = Menu.Add(new Menu("R", "R.Set"));

            {
                RMenu.GetSeparator("R: Mobe");
                RMenu.Add(new MenuBool("Auto", "Auto R ", true));
            }
            ModeBaseUlti.Init(Menu);

            var DrawMenu = Menu.Add(new Menu("Draw", "Draw"));

            {
                DrawMenu.Add(new MenuBool("W", "W Range"));
                DrawMenu.Add(new MenuBool("E", "E Range"));
                DrawMenu.Add(new MenuBool("RDKs", "Draw R KS", true));
            }

            PlaySharp.Write(GameObjects.Player.ChampionName + "OK! :)");

            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Events.OnGapCloser             += OnGapCloser;
            Variables.Orbwalker.OnAction   += OnAction;
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
        }
示例#2
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1450f).SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);
            E = new Spell(SpellSlot.E, 900f).SetSkillshot(1.2f, 100f, 1750f, false, SkillshotType.SkillshotCircle);
            R = new Spell(SpellSlot.R, 3000f).SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine);

            var QMenu = Menu.Add(new Menu("Q", "Q.Set"));
            {
                QMenu.GetSeparator("Q: Always On");
                QMenu.Add(new MenuBool("ComboQ", "Combo Q", true));
                QMenu.Add(new MenuSliderButton("LaneClearQ", "LaneClear Q | Min Mana", 50));
                QMenu.Add(new MenuSliderButton("HarassQ", "Harass Q | Min Mana", 50));
                QMenu.Add(new MenuSliderButton("LastHitQ", "LastHit Q | Min Mana", 20));
                QMenu.Add(new MenuBool("FarmQout", "Harass Q Only switch Not machine Gun Range Inner", true));
            }

            var WMenu = Menu.Add(new Menu("W", "W.Set"));
            {
                WMenu.Add(new MenuBool("ComboW", "Combo W", true));
                WMenu.Add(new MenuBool("KillstealW", "Killsteal W Enemy", true));
                WMenu.Add(new MenuSliderButton("HarassW", "Harass W | Min Mana", 40));
                var WList = WMenu.Add(new Menu("WList", "W Harass List"));
                {
                    if (GameObjects.EnemyHeroes.Any())
                    {
                        GameObjects.EnemyHeroes.ForEach(i => WList.Add(new MenuBool(i.ChampionName.ToLower(), i.ChampionName, true)));
                    }
                }
            }

            var EMenu = Menu.Add(new Menu("E", "E.Set"));
            {
                EMenu.GetSeparator("E: Mobe");
                EMenu.Add(new MenuBool("ComboE", "Combo E", true));
                EMenu.GetSeparator("E: Gapcloser | Melee Modes");
                EMenu.Add(new MenuBool("Gapcloser", "Gapcloser E", true));
                EMenu.GetSeparator("Auto E Set");
                EMenu.Add(new MenuBool("AutoE", "AutoE", true));
                EMenu.Add(new MenuBool("SlowE", "Slow E", true));
                EMenu.Add(new MenuBool("StunE", "Stun E", true));
                EMenu.Add(new MenuBool("TelE", "Tel E", true));
                EMenu.Add(new MenuBool("ImmeE", "Imm E", true));
            }

            var RMenu = Menu.Add(new Menu("R", "R.Set"));

            {
                RMenu.GetSeparator("R: Mobe");
                RMenu.Add(new MenuBool("AutoR", "Auto R", true));
                RMenu.Add(new MenuSlider("HitchanceR", "R Min enemy Count = ", 2, 1, 3));
                RMenu.Add(new MenuBool("Rturrent", "Not R Turrent", true));
                RMenu.Add(new MenuBool("RDragon", "Auto R Dragon", true));
                RMenu.Add(new MenuBool("RBaron", "Auto R Baron", true));
            }

            ModeBaseUlti.Init(Menu);

            var DrawMenu = Menu.Add(new Menu("Draw", "Draw"));

            {
                DrawMenu.Add(new MenuBool("Q", "Q Range"));
                DrawMenu.Add(new MenuBool("W", "W Range"));
                DrawMenu.Add(new MenuBool("E", "E Range"));
                DrawMenu.Add(new MenuBool("RKill", "Draw R Kill", true));
                DrawMenu.Add(new MenuBool("Damage", "Draw Combo Damage", true));
            }

            PlaySharp.Write(GameObjects.Player.ChampionName + "OK! :)");


            Game.OnUpdate += OnUpdate;
            Variables.Orbwalker.OnAction   += OnAction;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Events.OnGapCloser             += OnGapCloser;
            Events.OnInterruptableTarget   += OnInterruptableTarget;
            Drawing.OnDraw     += OnDraw;
            Drawing.OnEndScene += OnEndScene;
        }