Ejemplo n.º 1
0
        static void OnLoad(object sender, EventArgs args)
        {
            if (Player.ChampionName != "Cassiopeia")
            {
                return;
            }

            Bootstrap.Init(null);
            Game.PrintChat("CassioSDK by ngothaison Loaded!");
            Game.PrintChat(Player.FlatMagicDamageMod.ToString());
            Game.PrintChat(Player.TotalMagicalDamage.ToString());
            Ignite = Player.GetSpellSlot("summonerdot");
            config = new Menu("cassiopeia", "Cassiopeia", true);

            var drawmenu = config.Add(new Menu("drawing", "Drawing"));

            drawmenu.Add(new MenuBool("drawQ", "Draw Q, W range"));

            drawmenu.Add(new MenuBool("drawE", "Draw E range"));
            drawmenu.Add(new MenuBool("drawR", "Draw R range"));

            var farm = config.Add(new Menu("farm", "Farm"));

            farm.Add(new MenuBool("useqlh", "Use Q Last Hit", true));
            farm.Add(new MenuBool("useelh", "Use E Last Hit", true));

            var combo = config.Add(new Menu("combo", "Combo Settings"));

            combo.Add(new MenuBool("useQ", "Use Q", true));
            combo.Add(new MenuBool("useW", "Use W", true));
            combo.Add(new MenuBool("useR", "Use R", true));
            combo.Add(new MenuBool("useIgnite", "Use Ignite In Combo"));

            var harass = config.Add(new Menu("harass", "Harass Settings"));

            harass.Add(new MenuBool("useq", "Use Q", true));
            harass.Add(new MenuBool("usew", "Use W", true));

            var killsteal = config.Add(new Menu("ks", "Kill Steal With E"));

            killsteal.Add(new MenuBool("kswE", "Kill Steal With E", true));


            Q = new Spell(SpellSlot.Q, 850f);
            W = new Spell(SpellSlot.W, 850f);
            E = new Spell(SpellSlot.E, 700f);
            R = new Spell(SpellSlot.R, 825f);

            Q.SetSkillshot(false, SkillshotType.SkillshotCircle);
            W.SetSkillshot(false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(false, SkillshotType.SkillshotCone);


            config.Attach();
            Drawing.OnDraw += OnDraw;
            Game.OnUpdate  += OnUpdate;
        }
Ejemplo n.º 2
0
        // Goofy declaration, I'll change at some point!
        //public static Menu genMenuConf;
        // This contains Generic UI without
        public static void genInit(Menu genMenuConf, string name,string dispName)
        {
            // New menu
            genMenuConf = new Menu(name,dispName,true);

            // Sub Menus
            Menu subMenuCombo = genMenuConf.Add(new Menu("Combo", "Combo"));
            Menu subMenuKeyBinds = genMenuConf.Add(new Menu("Binds", "Key Binds"));

            #region Sub Menus
            // Sub Menu - Combo Selector
            subMenuCombo.Add(new MenuBool("useQ", "Use Q", true));
            subMenuCombo.Add(new MenuBool("useW", "Use W", true));
            subMenuCombo.Add(new MenuBool("useE", "Use E", true));
            subMenuCombo.Add(new MenuBool("useR", "Use R", true));

            // Sub Menu - Key Binds
            subMenuKeyBinds.Add(new MenuKeyBind("aggress","Aggressive",Keys.Space,KeyBindType.Press));

            #endregion

            // Must be the final call!
            genMenuConf.Attach();
        }
Ejemplo n.º 3
0
        public Cassiopeia()
        {
            abilitySequence = new int[] {1, 3, 3, 2, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2};
            Q = new Spell(SpellSlot.Q, 850f);
            Spells.Add(Q);
            Q.SetSkillshot(0.75f, Q.Instance.SData.CastRadius, float.MaxValue, false, SkillshotType.SkillshotCircle);
            W = new Spell(SpellSlot.W, 850f);
            Spells.Add(W);
            W.SetSkillshot(0.5f, W.Instance.SData.CastRadius, W.Instance.SData.MissileSpeed, false,
                SkillshotType.SkillshotCircle);
            E = new Spell(SpellSlot.E, 700f);
            Spells.Add(E);
            E.SetTargetted(0.2f, float.MaxValue);
            R = new Spell(SpellSlot.R, 825f);
            Spells.Add(R);
            R.SetSkillshot(0.3f, (float) (80*Math.PI/180), float.MaxValue, false, SkillshotType.SkillshotCone);

            Z = new Menu("Adv# - Cassiopeia", "root", true);

            LeagueSharp.SDK.Core.Bootstrap.Init(null);
            Menu MCombo = new Menu("Combo", "combo");
            {
                MCombo.Add(new MenuBool("combo.q", "Use Q", true));
                MCombo.Add(new MenuBool("combo.w", "Use W", true));
                MCombo.Add(new MenuBool("combo.e", "Use E", true));
                MCombo.Add(new MenuBool("combo.r", "Use R", true));
                MCombo.Add(new MenuSeparator("combo.spacer1", "R Settings"));
                MCombo.Add(new MenuSlider("combo.r.minfacing", "R Minimum Facing", 1, 1, 5));
                MCombo.Add(new MenuSlider("combo.r.minhit", "R Minimum Hit", 1, 1, 5));
                MCombo.Add(new MenuBool("combo.r.smart", "Smart Ultimate", true));
            }
            Z.Add(MCombo);

            Menu MHarass = new Menu("Harass", "harass");
            {
                MHarass.Add(new MenuBool("harass.q", "Use Q", true));
                MHarass.Add(new MenuBool("harass.w", "Use W", true));
                MHarass.Add(new MenuBool("harass.e", "Use E", true));
                MHarass.Add(new MenuBool("harass.spacer1", " "));
                MHarass.Add(new MenuBool("harass.e.restriction", "E Only If Poisoned", true));
            }
            Z.Add(MHarass);

            Menu MLH = new Menu("Last Hit", "lasthit");
            {
                MLH.Add(new MenuBool("lasthit.e", "Use E", true));
                MLH.Add(new MenuBool("lasthit.e.auto", "Use E Automatically", false));
            }
            Z.Add(MLH);

            Menu MLC = new Menu("Lane Clear", "laneclear");
            {
                MLC.Add(new MenuBool("laneclear.q", "Use Q", true));
                MLC.Add(new MenuBool("laneclear.w", "Use W", true));
                MLC.Add(new MenuBool("laneclear.e", "Use E", true));
                MLC.Add(new MenuSeparator("laneclear.spacer1", "E Settings"));
                MLC.Add(new MenuBool("laneclear.e.restriction", "E Only If Poisoned", true));
                MLC.Add(new MenuBool("laneclear.e.lasthit", "E Only If Last Hit", true));
                MLC.Add(new MenuSlider("laneclear.w.restriction", "W Minimum Hit", 3, 1, 10));
            }
            Z.Add(MLC);

            Menu Misc = new Menu("Misc", "misc");
            {
                Misc.Add(new MenuBool("misc.manamenagertm", "Restrict Mana Usage", true));
                Misc.Add(new MenuSlider("misc.manamenagertm.slider", "Minimum Mana", 35, 0, 95));
                Misc.Add(new MenuBool("misc.spacer1", "Item Stack"));
                Misc.Add(new MenuBool("misc.itemstack", "Item Stacking", true));
                Misc.Add(new MenuSeparator("misc.spacer3", "Kill Steal"));
                Misc.Add(new MenuBool("misc.qks", "Kill Secure with Q", true));
                Misc.Add(new MenuBool("misc.wks", "Kill Secure with W", true));
                Misc.Add(new MenuBool("misc.eks", "Kill Secure with E", true));
                Misc.Add(new MenuSlider("misc.edelay", "E Delay", 0, 0, 500));
                Misc.Add(new MenuSeparator("misc.spacer4", "Miscellaneous"));
                Misc.Add(new MenuBool("misc.autospells", "Auto Level Spells", true));
                Misc.Add(new MenuSeparator("misc.spacer5", "Events"));
                Misc.Add(new MenuBool("misc.gc", "W on gap closer", true));
                Misc.Add(new MenuSlider("misc.gc.hp", "if HP < ", 30));
                Misc.Add(new MenuBool("misc.aablock", "Auto Attack Block in combo", false));

            }
            Z.Add(Misc);

            Menu Drawings = new Menu("Drawings", "drawings");
            {
                Drawings.Add(new MenuBool("draw", "Drawings", true));
                Drawings.Add(new MenuBool("draw.q", "Draw Q Range", true));
                Drawings.Add(new MenuBool("draw.w", "Draw W Range", true));
                Drawings.Add(new MenuBool("draw.e", "Draw E Range", true));
                Drawings.Add(new MenuBool("draw.r", "Draw R Range", true));
                Drawings.Add(new MenuBool("draw.tg", "Draw Target", true));
            }
            Z.Add(Drawings);

            Z.Add(new MenuBool("credits1", "Credits:"));
            Z.Add(new MenuBool("credits2", "TehBlaxxor - Coding"));
            Z.Add(new MenuBool("credits3", "Hoes - Coding"));
            Z.Add(new MenuBool("credits4", "Hawk - Testing"));

            Z.Attach();

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Gapcloser.OnGapCloser += AntiGapCloser;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
Ejemplo n.º 4
0
        /// <summary>
        ///     The initialize method of the <c>orbwalker</c>.
        /// </summary>
        /// <param name="menu">
        ///     The LeagueSharp menu
        /// </param>
        internal static void Initialize(Menu menu)
        {
            var drawing = new Menu("drawings", "Drawings");

            drawing.Add(new MenuBool("drawAARange", "Draw Auto-Attack Range", true));
            drawing.Add(new MenuBool("drawKillableMinion", "Draw Killable Minion"));
            drawing.Add(new MenuBool("drawKillableMinionFade", "Enable Killable Minion Fade Effect"));
            Menu.Add(drawing);

            var advanced = new Menu("advanced", "Advanced");

            advanced.Add(new MenuSeparator("separatorMovement", "Movement"));
            advanced.Add(
                new MenuSlider(
                    "movementDelay",
                    "Delay between Movement",
                    new Random(Variables.TickCount).Next(80, 121),
                    0,
                    500));
            advanced.Add(new MenuBool("movementScramble", "Randomize movement location", true));
            advanced.Add(new MenuSlider("movementExtraHold", "Extra Hold Position", 25, 0, 250));
            advanced.Add(
                new MenuSlider(
                    "movementMaximumDistance",
                    "Maximum Movement Distance",
                    new Random().Next(500, 1201),
                    350,
                    1200));
            advanced.Add(new MenuSeparator("separatorMisc", "Miscellaneous"));
            advanced.Add(new MenuSlider("miscExtraWindup", "Extra Windup", 80, 0, 200));
            advanced.Add(new MenuSlider("miscFarmDelay", "Farm Delay", 0, 0, 200));
            advanced.Add(new MenuBool("miscPriorizeFarm", "Priorize farm over harass", true));
            advanced.Add(new MenuBool("miscMissile", "Use Missile Checks", true));
            advanced.Add(new MenuSeparator("separatorOther", "Other"));
            advanced.Add(
                new MenuButton("resetAll", "Settings", "Reset All Settings")
            {
                Action = () =>
                {
                    Menu.RestoreDefault();
                    Menu["advanced"]["movementMaximumDistance"].GetValue <MenuSlider>().Value = new Random().Next(
                        500,
                        1201);
                    Menu["advanced"]["movementDelay"].GetValue <MenuSlider>().Value = new Random().Next(80, 121);
                }
            });
            Menu.Add(advanced);
            Menu.Add(new MenuSeparator("separatorKeys", "Key Bindings"));
            Menu.Add(new MenuBool("enableOption", "Enable Orbwalker", true));
            Menu.Add(new MenuKeyBind("lasthitKey", "Farm", Keys.X, KeyBindType.Press));
            Menu.Add(new MenuKeyBind("laneclearKey", "Lane Clear", Keys.V, KeyBindType.Press));
            Menu.Add(new MenuKeyBind("hybridKey", "Hybrid", Keys.C, KeyBindType.Press));
            Menu.Add(new MenuKeyBind("orbwalkKey", "Orbwalk", Keys.Space, KeyBindType.Press));

            Menu.MenuValueChanged += (sender, args) =>
            {
                var keyBind = sender as MenuKeyBind;
                if (keyBind != null)
                {
                    var           modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal));
                    OrbwalkerMode mode;
                    ActiveMode = Enum.TryParse(modeName, true, out mode)
                                         ? keyBind.Active
                                               ? mode
                                               : mode == ActiveMode
                                                     ? Menu["lasthitKey"].GetValue <MenuKeyBind>().Active
                                                           ? OrbwalkerMode.LastHit
                                                           : Menu["laneclearKey"].GetValue <MenuKeyBind>().Active
                                                                 ? OrbwalkerMode.LaneClear
                                                                 : Menu["hybridKey"].GetValue <MenuKeyBind>().Active
                                                                       ? OrbwalkerMode.Hybrid
                                                                       : Menu["orbwalkKey"].GetValue <MenuKeyBind>()
                                 .Active
                                                                             ? OrbwalkerMode.Orbwalk
                                                                             : OrbwalkerMode.None
                                                     : ActiveMode
                                         : ActiveMode;
                }

                var boolean = sender as MenuBool;
                if (boolean != null)
                {
                    if (boolean.Name.Equals("enableOption"))
                    {
                        enabled = boolean.Value;
                    }
                }
            };

            menu.Add(Menu);

            Movement = Attack = true;
            enabled  = Menu["enableOption"].GetValue <MenuBool>().Value;

            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Drawing.OnDraw      += OnDraw;
            GameObject.OnCreate += OnCreate;
        }
Ejemplo n.º 5
0
        static void menuload()
        {
            kalimenu = new Menu("Kalimá", Player.ChampionName, true);
            Bootstrap.Init(new string[] { });
            Menu haraM = kalimenu.Add(new Menu("Harass", "Harass"));
            Menu LaneM = kalimenu.Add(new Menu("Lane Clear", "LaneClear"));
            Menu JungM = kalimenu.Add(new Menu("Jungle Clear", "Jungleclear"));
            Menu MiscM = kalimenu.Add(new Menu("Misc", "Misc"));
            Menu DrawM = kalimenu.Add(new Menu("Drawing", "Drawing"));

            haraM.Add(new MenuBool("harassQ", "Use Q", true));
            haraM.Add(new MenuSlider("harassQchance", "Q cast if Chance of hit is:", 4, 1, 4));
            haraM.Add(new MenuSlider("harassmanaminQ", "Q requires % mana", 60, 0, 100));
            haraM.Add(new MenuBool("harassuseE", "Use E", true));
            haraM.Add(new MenuBool("harassEoutOfRange", "Use E when out of range", true));
            haraM.Add(new MenuSlider("harassE", "when being able to kill X minions and E champion", 1, 1, 10));
            haraM.Add(new MenuSlider("harassEminhealth", "E req minion % health to prevent E cooldown", 10, 1, 50));
            haraM.Add(new MenuSlider("harassmanaminE", "E requires % mana", 30, 0, 100));
            haraM.Add(new MenuBool("harassActive", "Active", true));

            JungM.Add(new MenuBool("jungleclearQ", "Use Q", false));
            JungM.Add(new MenuBool("jungleclearE", "Use E", true));
            JungM.Add(new MenuSlider("jungleclearmana", "E requires % mana", 20, 0, 100));
            JungM.Add(new MenuBool("bardragsteal", "Steal dragon/baron", true));
            JungM.Add(new MenuBool("jungleclearQbd", "Use Q on dragon/baron?", true));
            JungM.Add(new MenuBool("jungleActive", "Active", true));

            LaneM.Add(new MenuBool("laneclearQ", "Use Q", true));
            LaneM.Add(new MenuSlider("laneclearQcast", "Q cast if minions >= X", 2, 2, 10));
            LaneM.Add(new MenuSlider("laneclearmanaminQ", "Q requires % mana", 65, 0, 100));
            LaneM.Add(new MenuBool("laneclearE", "Use E", true));
            LaneM.Add(new MenuSlider("laneclearEcast", "E cast if minions >= X (min value)", 2, 0, 10));
            LaneM.Add(new MenuSlider("laneclearEcastincr", "Increase number by Level (decimal):", 1, 0, 4));
            LaneM.Add(new MenuSlider("laneclearEminhealth", "E req minion % health to prevent E cooldown", 10, 1, 50));
            LaneM.Add(new MenuSlider("laneclearmanaminE", "E requires % mana", 30, 0, 100));
            LaneM.Add(new MenuBool("laneclearbigminionsE", "E when it can kill siege/super minions", true));
            LaneM.Add(new MenuBool("laneclearlasthit", "E when non-killable by AA", true));

            MiscM.Add(new MenuBool("AutoLevel", "Auto Level Skills", true));
            MiscM.Add(new MenuBool("autoW", "Auto W", true));
            MiscM.Add(new MenuSlider("autowenemyclose", "Dont Send W with an enemy in X Range:", 2000, 0, 5000));
            MiscM.Add(new MenuBool("killsteal", "Kill Steal", true));
            MiscM.Add(new MenuBool("savesoulbound", "Save Soulbound (With R)", true));
            MiscM.Add(new MenuSlider("savesoulboundat", "Save when health < %", 25, 0, 100));
            MiscM.Add(new MenuBool("fleeKey", "Flee Toggle", false));
            Menu TimersM = MiscM.Add(new Menu("Timer Limits", "Timer Limits"));
            TimersM.Add(new MenuSlider("onupdateT", "OnUpdate Timer (max times per second)", 30, 1, 100));
            TimersM.Add(new MenuSlider("ondrawT", "OnDraw Timer (max times per second)", 30, 1, 500));

            DrawM.Add(new MenuColor("drawAA", "Auto Attack Range", ColorBGRA.FromRgba(207207023)));
            DrawM.Add(new MenuColor("drawjumpspots", "Jump Spots", ColorBGRA.FromRgba(000000255)));
            DrawM.Add(new MenuColor("drawQ", "Q Range", ColorBGRA.FromRgba(043255000)));
            DrawM.Add(new MenuColor("drawW", "W Range", ColorBGRA.FromRgba(000000255)));
            DrawM.Add(new MenuColor("drawE", "E Range", ColorBGRA.FromRgba(057138204)));
            DrawM.Add(new MenuColor("drawR", "R Range", ColorBGRA.FromRgba(019154161)));
            //marksman...
            DrawM.Add(new MenuColor("drawEdmg", "Draw E dmg HPbar", ColorBGRA.FromRgba(100149237)));
            DrawM.Add(new MenuColor("drawEspearsneeded", "Draw E# Spears Needed", ColorBGRA.FromRgba(255140000)));
            DrawM.Add(new MenuBool("drawsoulmatelink", "Draw Link Signal", true));
            DrawM.Add(new MenuBool("drawcoords", "Draw Map Coords", false));
            var blitzskarneringame = HeroManager.Allies.Find(x => x.CharData.BaseSkinName == "Blitzcrank" || x.CharData.BaseSkinName == "Skarner");

            if (blitzskarneringame != null) {
                //check if its blitz or skarner the ally...
                string menuname;
                if (blitzskarneringame.CharData.BaseSkinName == "Blitzcrank") {
                    menuname = "Balista";
                } else { menuname = "Salista"; }

                Menu balista = kalimenu.Add(new Menu(menuname, menuname));

                Menu targetselect = balista.Add(new Menu("Target Selector", "Target Selector"));
                Menu champselect = balista.Add(new Menu("Drawings", "Drawings"));
                champselect.Add(new MenuBool("drawminrange", "Min Range", false));
                champselect.Add(new MenuBool("drawmaxrange", "Max Range", false));
                champselect.Add(new MenuBool("lineformat", "Line Range", true));

                foreach (var enemy in HeroManager.Enemies.FindAll(x => x.IsEnemy)) {
                    targetselect.Add(new MenuBool("target" + enemy.ChampionName, enemy.ChampionName));
                }
                balista.Add(new MenuSlider("balistaminrange", "Min Range", 600, 500, 1400));
                balista.Add(new MenuSlider("balistamaxrange", "Max Range", 1350, 500, 1400));
                balista.Add(new MenuSlider("balistenemyamaxrange", "Enemy Max Range", 2000, 500, 2400));
                balista.Add(new MenuBool("balistaActive", "Active", true));
            }

            kalimenu.Attach();
        }
Ejemplo n.º 6
0
        private static void InitMenu()
        {
            config = new Menu("SDKalista ", "SDKalista", true);
            // Blitz+Kallista Settings
            Menu menuBk = new Menu("BlitzKalista", "Blitz+Kalista");
            menuBk.Add(new MenuBool("useRbk", "Use R", true));
            menuBk.Add(new MenuSlider("useRbkMinb", "   Blitz min range", 500, 0, 1400));
            menuBk.Add(new MenuSlider("useRbkMint", "   Target Min range", 1200, 0, 2300));
            foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(a => a.IsEnemy))
            {
                menuBk.Add(new MenuBool("useRbke" + enemy.ChampionName, enemy.ChampionName, true));
            }
            // Combo Settings
            Menu menuC = new Menu("Combo", "Combo");
            menuC.Add(new MenuBool("useQc", "Use Q", true));
            menuC.Add(new MenuBool("useEkill", "Use E for kill", true));
            menuC.Add(new MenuBool("useEbeforeLeave", "Use Before leave", true));
            menuC.Add(new MenuSlider("usEcStack", "   Min stack", 4, 1, 15));
            menuC.Add(new MenuBool("useRc", "Use R", true));
            menuC.Add(new MenuSlider("useRhp", "   Under health", 15, 0, 100));
            Blitz = ObjectManager.Get<Obj_AI_Hero>().FirstOrDefault(a => a.IsAlly && a.ChampionName == "Blitzcrank");
            if (Blitz != null)
            {
                menuC.Add(menuBk);
            }
            //menuC.Add(new MenuBool("useIgnite", "Use Ignite", true));
            config.Add(menuC);
            // Harass Settings
            Menu menuH = new Menu("Harass", "Harass");
            menuH.Add(new MenuBool("useQh", "Use Q", true));
            menuH.Add(new MenuBool("useEh", "Use E", true));
            menuH.Add(new MenuSlider("useEhStack", "   Min stack", 2, 1, 10));
            menuH.Add(new MenuSlider("minmanaH", "Keep X% mana", 0, 0, 100));
            config.Add(menuH);
            // LaneClear Settings
            Menu menuLC = new Menu("Clear", "Clear");
            menuLC.Add(new MenuBool("useElc", "Use E", true));
            menuLC.Add(new MenuSlider("useElcStack", "   Min minion", 2, 1, 10));
            menuLC.Add(new MenuSlider("minmanaLC", "Keep X% mana", 0, 0, 100));
            config.Add(menuLC);
            // Lasthit Settings
            Menu menuLH = new Menu("Lasthit", "Lasthit");
            menuLH.Add(new MenuBool("useELH", "Use E", true));
            menuLH.Add(new MenuSlider("minmanaLH", "Keep X% mana", 0, 0, 100));
            config.Add(menuLH);
            // Draw settings
            Menu menuD = new Menu("Drawings", "Drawings");
            menuD.Add(new MenuBool("drawQ", "Q range", false));
            menuD.Add(new MenuBool("drawE", "E range", false));
            menuD.Add(new MenuBool("drawR", "R range", false));
            menuD.Add(new MenuBool("drawRb", "R Blitz min", false));
            menuD.Add(new MenuBool("drawRt", "R target min", false));
            menuD.Add(new MenuBool("drawcombo", "Draw E damage", true));
            config.Add(menuD);

            Menu menuQ = new Menu("QSS", "QSS in Combo");
            menuQ.Add(new MenuBool("slow", "Slow", false));
            menuQ.Add(new MenuBool("blind", "Blind", false));
            menuQ.Add(new MenuBool("silence", "Silence", false));
            menuQ.Add(new MenuBool("snare", "Snare", false));
            menuQ.Add(new MenuBool("stun", "Stun", false));
            menuQ.Add(new MenuBool("charm", "Charm", true));
            menuQ.Add(new MenuBool("taunt", "Taunt", true));
            menuQ.Add(new MenuBool("fear", "Fear", true));
            menuQ.Add(new MenuBool("suppression", "Suppression", true));
            menuQ.Add(new MenuBool("polymorph", "Polymorph", true));
            menuQ.Add(new MenuBool("damager", "Vlad/Zed ult", true));
            menuQ.Add(new MenuSlider("QSSdelay", "Delay in ms", 600, 0, 1500));
            menuQ.Add(new MenuBool("QSSEnabled", "Enabled", true));

            Menu menuM = new Menu("Misc", "Misc");
            menuM.Add(new MenuSlider("DmgRed", "E damage reduction", 10, 0, 200));
            menuM.Add(new MenuBool("useEMinion", "E lasthit helper", true));
            menuM.Add(new MenuKeyBind("ghostHandler", "Send ghost to baron/dragon", Keys.Y, KeyBindType.Press));
            menuM.Add(new MenuKeyBind("flee", "Flee", Keys.T, KeyBindType.Press));
            menuM.Add(menuQ);
            config.Add(menuM);
            config.Add(
                new MenuSeparator(
                    "SDKalista",
                    "by Soresu v" + Assembly.GetExecutingAssembly().GetName().Version.ToString().Replace(",", ".")));
            config.Attach();
        }
Ejemplo n.º 7
0
        static void OnLoad(object sender, EventArgs args)
        {
            if (Player.ChampionName != "Cassiopeia")
                return;

            Bootstrap.Init(null);
            Game.PrintChat("CassioSDK by ngothaison Loaded!");
            Game.PrintChat(Player.FlatMagicDamageMod.ToString());
            Game.PrintChat(Player.TotalMagicalDamage.ToString());
            Ignite = Player.GetSpellSlot("summonerdot");
            config = new Menu("cassiopeia", "Cassiopeia", true);

            var drawmenu = config.Add(new Menu("drawing", "Drawing"));

            drawmenu.Add(new MenuBool("drawQ", "Draw Q, W range"));

            drawmenu.Add(new MenuBool("drawE", "Draw E range"));
            drawmenu.Add(new MenuBool("drawR", "Draw R range"));

            var farm = config.Add(new Menu("farm", "Farm"));
            farm.Add(new MenuBool("useqlh", "Use Q Last Hit",true));
            farm.Add(new MenuBool("useelh", "Use E Last Hit",true));

            var combo = config.Add(new Menu("combo", "Combo Settings"));
            combo.Add(new MenuBool("useQ", "Use Q",true));
            combo.Add(new MenuBool("useW", "Use W",true));
            combo.Add(new MenuBool("useR", "Use R",true));
            combo.Add(new MenuBool("useIgnite", "Use Ignite In Combo"));

            var harass = config.Add(new Menu("harass", "Harass Settings"));

            harass.Add(new MenuBool("useq", "Use Q",true));
            harass.Add(new MenuBool("usew", "Use W",true));

            var killsteal = config.Add(new Menu("ks", "Kill Steal With E"));
            killsteal.Add(new MenuBool("kswE", "Kill Steal With E",true));

            Q = new Spell(SpellSlot.Q, 850f);
            W = new Spell(SpellSlot.W, 850f);
            E = new Spell(SpellSlot.E, 700f);
            R = new Spell(SpellSlot.R, 825f);

            Q.SetSkillshot(false, SkillshotType.SkillshotCircle);
            W.SetSkillshot(false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(false, SkillshotType.SkillshotCone);

            config.Attach();
            Drawing.OnDraw += OnDraw;
            Game.OnUpdate += OnUpdate;
        }