private static void Game_OnGameLoad() { if (Player.ChampionName != "Talon") { return; } // spells Q = new Spell(SpellSlot.Q, 550); W = new Spell(SpellSlot.W, 750); W.SetSkillshot(0.25f, 60, 1850, false, SkillshotType.SkillshotCone); W.MinHitChance = HitChance.Low; E = new Spell(SpellSlot.E, 700); R = new Spell(SpellSlot.R, 500); Menu = new Menu("HeavenStrike" + Player.ChampionName, Player.ChampionName, true); Menu.SetFontStyle(System.Drawing.FontStyle.Bold, SharpDX.Color.Red); Menu orbwalkerMenu = new Menu("Orbwalker", "Orbwalker"); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); Menu.AddSubMenu(orbwalkerMenu); Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector"));; TargetSelector.AddToMenu(ts); Menu Harass = Menu.AddSubMenu(new Menu("Harass", "Harass")); Menu Combo = Menu.AddSubMenu(new Menu("Combo", "Combo")); Menu JungClear = Menu.AddSubMenu(new Menu("Jungle Clear", "Jungle Clear")); Menu LaneClear = Menu.AddSubMenu(new Menu("Lane Clear", "Lane Clear")); Menu Ks = Menu.AddSubMenu(new Menu("Ks", "Ks")); Menu Draw = Menu.AddSubMenu(new Menu("Draw", "Draw")); Menu SelectingMode = Menu.AddSubMenu(new Menu("Only Attack Selected Target", "Selecting Mode")); Harass.AddItem(new MenuItem("harass w", "W").SetValue(true)); Combo.AddItem(new MenuItem("combo q1", "Q dash").SetValue(true)); Combo.AddItem(new MenuItem("combo w", "W").SetValue(true)); Combo.AddItem(new MenuItem("combo r", "R").SetValue(true)); LaneClear.AddItem(new MenuItem("laneclear q", "Q").SetValue(true)); LaneClear.AddItem(new MenuItem("laneclear w", "W").SetValue(false)); LaneClear.AddItem(new MenuItem("laneclear tiamat", "Tiamat/Ravenous Hydra").SetValue(true)); JungClear.AddItem(new MenuItem("jungleclear q", "Q").SetValue(true)); JungClear.AddItem(new MenuItem("jungleclear w", "W").SetValue(false)); JungClear.AddItem(new MenuItem("jungleclear tiamat", "Tiamat/Ravenous Hydra").SetValue(true)); Ks.AddItem(new MenuItem("ks w", "W").SetValue(true)); Ks.AddItem(new MenuItem("ks tiamat", "Tiamat-Ravenous Hydra").SetValue(true)); Ks.AddItem(new MenuItem("ks botrk", "Botrk").SetValue(true)); Ks.AddItem(new MenuItem("ks cutlass", "Bilgewater Cutlass").SetValue(true)); Draw.AddItem(new MenuItem("draw w", "W").SetValue(false)); Draw.AddItem(new MenuItem("draw r", "R").SetValue(true)); Draw.AddItem(new MenuItem("draw e", "E").SetValue(true)); SelectingMode.AddItem(new MenuItem("STenable", "Enable").SetValue(false)); SelectingMode.AddItem(new MenuItem("STrange", "Range").SetValue(new Slider(900, 600, 2000))); Menu.AddToMainMenu(); EloBuddy.Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnGameUpdate; Orbwalking.AfterAttack += AfterAttack; Orbwalking.BeforeAttack += Orbwalking_BeforeAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Chat.Print("Welcome to HeavenStrikeTalon"); }
private void InitMenu() { config = new Menu("Evelynn", "Evelynn", true); // Target Selector Menu menuTS = new Menu("Selector", "tselect"); TargetSelector.AddToMenu(menuTS); config.AddSubMenu(menuTS); // Orbwalker Menu menuOrb = new Menu("Orbwalker", "orbwalker"); orbwalker = new Orbwalking.Orbwalker(menuOrb); config.AddSubMenu(menuOrb); // Draw settings Menu menuD = new Menu("Drawings ", "dsettings"); menuD.AddItem(new MenuItem("drawaa", "Draw AA range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 58, 100, 150))); menuD.AddItem(new MenuItem("drawqq", "Draw Q range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 58, 100, 150))); menuD.AddItem(new MenuItem("drawww", "Draw W range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 58, 100, 150))); menuD.AddItem(new MenuItem("drawee", "Draw E range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 58, 100, 150))); menuD.AddItem(new MenuItem("drawrr", "Draw R range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 58, 100, 150))); menuD.AddItem(new MenuItem("drawcombo", "Draw combo damage", true)).SetValue(true); config.AddSubMenu(menuD); // Combo Settings Menu menuC = new Menu("Combo ", "csettings"); menuC.AddItem(new MenuItem("useq", "Use Q", true)).SetValue(true); menuC.AddItem(new MenuItem("usew", "Use W to remove slows", true)).SetValue(true); menuC.AddItem(new MenuItem("usee", "Use E", true)).SetValue(true); menuC.AddItem(new MenuItem("user", "Use R", true)).SetValue(true); menuC.AddItem(new MenuItem("useRmin", "R minimum target", true)).SetValue(new Slider(2, 1, 5)); menuC.AddItem(new MenuItem("selected", "Focus Selected target", true)).SetValue(true); menuC.AddItem(new MenuItem("useIgnite", "Use Ignite", true)).SetValue(true); menuC = ItemHandler.addItemOptons(menuC); config.AddSubMenu(menuC); // Harass Settings Menu menuH = new Menu("Harass ", "Hsettings"); menuH.AddItem(new MenuItem("useqH", "Use Q", true)).SetValue(true); config.AddSubMenu(menuH); // Lasthit Settings Menu menuLH = new Menu("Lasthit ", "LHsettings"); menuLH.AddItem(new MenuItem("useqLH", "Use Q", true)).SetValue(true); config.AddSubMenu(menuLH); // LaneClear Settings Menu menuLC = new Menu("LaneClear ", "Lcsettings"); menuLC.AddItem(new MenuItem("useqLC", "Use Q", true)).SetValue(true); menuLC.AddItem(new MenuItem("useeLC", "Use E", true)).SetValue(true); menuLC.AddItem(new MenuItem("minmana", "Keep X% mana", true)).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuLC); // Misc Settings Menu menuM = new Menu("Misc ", "Msettings"); menuM = Jungle.addJungleOptions(menuM); Menu autolvlM = new Menu("AutoLevel", "AutoLevel"); autoLeveler = new AutoLeveler(autolvlM); menuM.AddSubMenu(autolvlM); config.AddSubMenu(menuM); config.AddItem(new MenuItem("packets", "Use Packets")).SetValue(false); config.AddItem(new MenuItem("UnderratedAIO", "by Soresu v" + Program.version.ToString().Replace(",", "."))); config.AddToMainMenu(); }
private static void CreateMenu() { MainMenu = new Menu(ChampionName + " the Bestial Huntress", ChampionName + " the bestial huntress", true); var targetSelectorMenu = new Menu("Target Selector", "ts"); MainMenu.AddSubMenu(targetSelectorMenu); TargetSelector.AddToMenu(targetSelectorMenu); new AssassinManager(); var orbwalkingMenu = new Menu("Orbwalking", "orbwalk"); MainMenu.AddSubMenu(orbwalkingMenu); _orbwalker = new Orbwalking.Orbwalker(orbwalkingMenu); var keybindings = new Menu("Key Bindings", "keybindings"); { keybindings.AddItem(new MenuItem("useCombo", "Combo").SetValue(new KeyBind(32, KeyBindType.Press))); keybindings.AddItem(new MenuItem("useHarass", "Harass").SetValue(new KeyBind('C', KeyBindType.Press))); keybindings.AddItem(new MenuItem("useWC", "Waveclear").SetValue(new KeyBind('X', KeyBindType.Press))); keybindings.AddItem(new MenuItem("useJC", "Jungleclear").SetValue(new KeyBind('X', KeyBindType.Press))); keybindings.AddItem(new MenuItem("useFlee", "Flee").SetValue(new KeyBind('V', KeyBindType.Press))); MainMenu.AddSubMenu(keybindings); } var combo = new Menu("Combo Options", "combo"); { var humanMenu = new Menu("Human Spells", "human"); { humanMenu.AddItem(new MenuItem("useJavelin", "Use Javelin (Q)").SetValue(true)); humanMenu.AddItem( new MenuItem("javelinRange", "Javelin Range").SetValue(new Slider(1300, 500, 1500))); humanMenu.AddItem(new MenuItem("useBushwhack", "Use Bushwhack (W)").SetValue(false)); humanMenu.AddItem(new MenuItem("useCougar", "Auto Transform to Cougar").SetValue(true)); combo.AddSubMenu(humanMenu); } var cougarMenu = new Menu("Cougar Spells", "cougar"); { cougarMenu.AddItem(new MenuItem("useTakedown", "Use Takedown (Q)").SetValue(true)); cougarMenu.AddItem(new MenuItem("usePounce", "Use Pounce (W)").SetValue(true)); cougarMenu.AddItem(new MenuItem("pounceHunted", " --> Only pounce hunted targets").SetValue(true)); cougarMenu.AddItem(new MenuItem("useSwipe", "Use Swipe (E)").SetValue(true)); cougarMenu.AddItem(new MenuItem("useHuman", "Auto Transform to Human").SetValue(true)); combo.AddSubMenu(cougarMenu); } MainMenu.AddSubMenu(combo); } var harass = new Menu("Harass Options", "harass"); { harass.AddItem(new MenuItem("useJavelinHarass", "Use Javelin (Q)").SetValue(true)); MainMenu.AddSubMenu(harass); } var waveclear = new Menu("Waveclear Options", "waveclear"); { waveclear.AddItem(new MenuItem("wcUseHumanQ", "Use Javelin Toss").SetValue(false)); waveclear.AddItem(new MenuItem("wcUseHumanW", "Use Bushwhack").SetValue(false)); waveclear.AddItem(new MenuItem("wcUseCougarQ", "Use Takedown").SetValue(true)); waveclear.AddItem(new MenuItem("wcUseCougarW", "Use Pounce").SetValue(true)); waveclear.AddItem(new MenuItem("wcUseCougarE", "Use Swipe").SetValue(true)); MainMenu.AddSubMenu(waveclear); } var jungleclear = new Menu("Jungleclear Options", "jungleclear"); { jungleclear.AddItem(new MenuItem("jcUseHumanQ", "Use Javelin Toss").SetValue(false)); jungleclear.AddItem(new MenuItem("jcUseHumanW", "Use Bushwhack").SetValue(false)); jungleclear.AddItem(new MenuItem("jcUseCougarQ", "Use Takedown").SetValue(true)); jungleclear.AddItem(new MenuItem("jcUseCougarW", "Use Pounce").SetValue(true)); jungleclear.AddItem(new MenuItem("jcUseCougarE", "Use Swipe").SetValue(true)); jungleclear.AddItem(new MenuItem("jcMana", "Mana to Jungleclear").SetValue(new Slider(40, 100, 0))); MainMenu.AddSubMenu(jungleclear); } var killsteal = new Menu("Killsteal Options", "killsteal"); { killsteal.AddItem(new MenuItem("killstealUseQ", "Use Javelin (Q)").SetValue(true)); killsteal.AddItem(new MenuItem("killstealDashing", "Use Javelin on dashing").SetValue(true)); killsteal.AddItem(new MenuItem("smiteQ", "Smite + Q killsteal").SetValue(true)); MainMenu.AddSubMenu(killsteal); } _manaManager.AddToMenu(ref MainMenu); _healManager.AddToMenu(ref MainMenu); var misc = new Menu("Misc Options", "misc"); { misc.AddItem(new MenuItem("miscIgnite", "Use Ignite").SetValue(true)); misc.AddItem(new MenuItem("miscImmobile", "Use Javelin / Bushwhack on immobile").SetValue(true)); misc.AddItem( new MenuItem("hitChanceSetting", "Hitchance").SetValue( new StringList(new[] { "Low", "Medium", "High", "Very High" }, 3))); misc.AddItem(new MenuItem("turretSafety", "Don't use pounce under turret").SetValue(true)); MainMenu.AddSubMenu(misc); } var drawings = new Menu("Drawing Options", "drawings"); { drawings.AddItem(new MenuItem("drawRangeQ", "Q range").SetValue(new Circle(false, Color.Aquamarine))); drawings.AddItem(new MenuItem("drawRangeW", "W range").SetValue(new Circle(false, Color.Aquamarine))); drawings.AddItem(new MenuItem("drawRangeE", "E range").SetValue(new Circle(false, Color.Aquamarine))); drawings.AddItem( new MenuItem("drawDamage", "Draw Spell Damage").SetValue(new Circle(false, Color.GreenYellow))); MainMenu.AddSubMenu(drawings); } var donationMenu = new Menu("Donating", "donations"); { donationMenu.AddItem(new MenuItem("kindword", "If you feel like supporting my work")); donationMenu.AddItem(new MenuItem("kindword2", "Feel free to send a donation to: ")); donationMenu.AddItem(new MenuItem("kindword3", "*****@*****.**")); MainMenu.AddSubMenu(donationMenu); //https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F9A3B9JPQYTDJ } MainMenu.AddToMainMenu(); }
public static void Initialize() { _menu = new Menu("ElSejuani", "menu", true); //ElSejuani.Orbwalker var orbwalkerMenu = new Menu("Orbwalker", "orbwalker"); Sejuani.Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); _menu.AddSubMenu(orbwalkerMenu); //ElSejuani.TargetSelector var targetSelector = new Menu("Target Selector", "TargetSelector"); TargetSelector.AddToMenu(targetSelector); _menu.AddSubMenu(targetSelector); var cMenu = new Menu("Combo", "Combo"); cMenu.AddItem(new MenuItem("ElSejuani.Combo.Q", "Use Q").SetValue(true)); cMenu.AddItem(new MenuItem("ElSejuani.Combo.W", "Use W").SetValue(true)); cMenu.AddItem(new MenuItem("ElSejuani.Combo.E", "Use E").SetValue(true)); cMenu.AddItem(new MenuItem("ElSejuani.Combo.R", "Use R").SetValue(true)); cMenu.AddItem(new MenuItem("ElSejuani.Combo.Ignite", "Use Ignite").SetValue(true)); cMenu.AddItem(new MenuItem("ElSejuani.ssssssssssss", "")); cMenu.AddItem(new MenuItem("ElSejuani.Combo.R.Count", "Minimum targets for R >=").SetValue(new Slider(2, 1, 5))); cMenu.AddItem(new MenuItem("ElSejuani.Combo.E.Count", "Minimum targets for E >=").SetValue(new Slider(1, 1, 5))); cMenu.AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); _menu.AddSubMenu(cMenu); var hMenu = new Menu("Harass", "Harass"); hMenu.AddItem(new MenuItem("ElSejuani.Harass.Q", "Use Q").SetValue(true)); hMenu.AddItem(new MenuItem("ElSejuani.Harass.W", "Use Q").SetValue(true)); hMenu.AddItem(new MenuItem("ElSejuani.Harass.E", "Use E").SetValue(true)); hMenu.AddItem(new MenuItem("ElSejuani.harass.mana", "Minimum mana for harass >=")).SetValue(new Slider(55)); _menu.AddSubMenu(hMenu); var lMenu = new Menu("Clear", "Clear"); lMenu.AddItem(new MenuItem("ElSejuani.Clear.Q", "Use Q").SetValue(true)); lMenu.AddItem(new MenuItem("ElSejuani.Clear.W", "Use W").SetValue(true)); lMenu.AddItem(new MenuItem("ElSejuani.Clear.E", "Use E").SetValue(true)); lMenu.AddItem(new MenuItem("useEFarmddssd", "")); lMenu.AddItem(new MenuItem("ElSejuani.Clear.Q.Count", "Minimum targets for Q >=").SetValue(new Slider(1, 1, 5))); lMenu.AddItem(new MenuItem("minmanaclear", "Minimum mana to clear >=")).SetValue(new Slider(55)); _menu.AddSubMenu(lMenu); //ElSejuani.Interupt var interuptMenu = new Menu("Interupt settings", "interuptsettings"); interuptMenu.AddItem(new MenuItem("ElSejuani.Interupt.Q", "Use Q").SetValue(true)); interuptMenu.AddItem(new MenuItem("ElSejuani.Interupt.R", "Use R").SetValue(false)); _menu.AddSubMenu(interuptMenu); //ElCorki.Misc var miscMenu = new Menu("Misc", "Misc"); miscMenu.AddItem(new MenuItem("ElSejuani.Draw.off", "Turn drawings off").SetValue(false)); miscMenu.AddItem(new MenuItem("ElSejuani.Draw.Q", "Draw Q").SetValue(new Circle())); miscMenu.AddItem(new MenuItem("ElSejuani.Draw.W", "Draw W").SetValue(new Circle())); miscMenu.AddItem(new MenuItem("ElSejuani.Draw.E", "Draw E").SetValue(new Circle())); miscMenu.AddItem(new MenuItem("ElSejuani.Draw.R", "Draw R").SetValue(new Circle())); miscMenu.AddItem(new MenuItem("useEdaadaDFafsdsgdrmddsddsasfsasdsdsaadsd", "")); miscMenu.AddItem(new MenuItem("ElSejuani.hitChance", "Hitchance Q").SetValue(new StringList(new[] { "Low", "Medium", "High", "Very High" }, 3))); _menu.AddSubMenu(miscMenu); //Here comes the moneyyy, money, money, moneyyyy var credits = new Menu("Credits", "jQuery"); credits.AddItem(new MenuItem("ElCorki.Paypal", "if you would like to donate via paypal:")); credits.AddItem(new MenuItem("ElCorki.Email", "*****@*****.**")); _menu.AddSubMenu(credits); _menu.AddItem(new MenuItem("422442fsaafs4242f", "")); _menu.AddItem(new MenuItem("422442fsaafsf", "Version: 1.0.0.1")); _menu.AddItem(new MenuItem("fsasfafsfsafsa", "Made By jQuery")); _menu.AddToMainMenu(); Console.WriteLine("Menu Loaded"); }
private static void Game_OnGameLoad(EventArgs args) { try { _player = ObjectManager.Player; if (ObjectManager.Player.BaseSkinName != ChampionName) { return; } _q = new Spell(SpellSlot.Q, 900f); _w = new Spell(SpellSlot.W, 550f); _e = new Spell(SpellSlot.E, 270f); _r = new Spell(SpellSlot.R, 650f); _q.SetSkillshot(0.25f, 50f, 1700f, false, SkillshotType.SkillshotLine); _bilge = new Items.Item(3144, 475f); _blade = new Items.Item(3153, 425f); _hydra = new Items.Item(3074, 250f); _tiamat = new Items.Item(3077, 250f); _rand = new Items.Item(3143, 490f); _lotis = new Items.Item(3190, 590f); _youmuu = new Items.Item(3142, 10); _igniteSlot = _player.GetSpellSlot("SummonerDot"); var enemy = from hero in ObjectManager.Get <Obj_AI_Hero>() where hero.IsEnemy == true select hero; // Just menu things test _config = new Menu("Ze-D Is Back", "Ze-D Is Back", true); TargetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(TargetSelectorMenu); _config.AddSubMenu(TargetSelectorMenu); _config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking")); //Combo _config.AddSubMenu(new Menu("Combo", "Combo")); _config.SubMenu("Combo").AddItem(new MenuItem("UseWC", "Use W (also gap close)")).SetValue(true); _config.SubMenu("Combo").AddItem(new MenuItem("UseIgnitecombo", "Use Ignite(rush for it)")).SetValue(true); _config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); _config.SubMenu("Combo") .AddItem(new MenuItem("TheLine", "The Line Combo").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); _config.SubMenu("Combo").AddItem(new MenuItem("RbackC", "R back on combo")).SetValue(false); _config.SubMenu("Combo").AddItem(new MenuItem("RbackL", "R back on Line Combo")).SetValue(false); //Harass _config.AddSubMenu(new Menu("Harass", "Harass")); _config.SubMenu("Harass").AddItem(new MenuItem("longhar", "Long Poke (toggle)").SetValue(new KeyBind("U".ToCharArray()[0], KeyBindType.Toggle))); _config.SubMenu("Harass").AddItem(new MenuItem("UseItemsharass", "Use Tiamat/Hydra")).SetValue(true); _config.SubMenu("Harass").AddItem(new MenuItem("UseWH", "Use W")).SetValue(true); _config.SubMenu("Harass") .AddItem( new MenuItem("ActiveHarass", "Harass!").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); //items _config.AddSubMenu(new Menu("items", "items")); _config.SubMenu("items").AddSubMenu(new Menu("Offensive", "Offensive")); _config.SubMenu("items").SubMenu("Offensive").AddItem(new MenuItem("Youmuu", "Use Youmuu's")).SetValue(true); _config.SubMenu("items").SubMenu("Offensive").AddItem(new MenuItem("Tiamat", "Use Tiamat")).SetValue(true); _config.SubMenu("items").SubMenu("Offensive").AddItem(new MenuItem("Hydra", "Use Hydra")).SetValue(true); _config.SubMenu("items").SubMenu("Offensive").AddItem(new MenuItem("Bilge", "Use Bilge")).SetValue(true); _config.SubMenu("items") .SubMenu("Offensive") .AddItem(new MenuItem("BilgeEnemyhp", "If Enemy Hp <").SetValue(new Slider(85, 1, 100))); _config.SubMenu("items") .SubMenu("Offensive") .AddItem(new MenuItem("Bilgemyhp", "Or your Hp < ").SetValue(new Slider(85, 1, 100))); _config.SubMenu("items").SubMenu("Offensive").AddItem(new MenuItem("Blade", "Use Blade")).SetValue(true); _config.SubMenu("items") .SubMenu("Offensive") .AddItem(new MenuItem("BladeEnemyhp", "If Enemy Hp <").SetValue(new Slider(85, 1, 100))); _config.SubMenu("items") .SubMenu("Offensive") .AddItem(new MenuItem("Blademyhp", "Or Your Hp <").SetValue(new Slider(85, 1, 100))); _config.SubMenu("items").AddSubMenu(new Menu("Deffensive", "Deffensive")); _config.SubMenu("items") .SubMenu("Deffensive") .AddItem(new MenuItem("Omen", "Use Randuin Omen")) .SetValue(true); _config.SubMenu("items") .SubMenu("Deffensive") .AddItem(new MenuItem("Omenenemys", "Randuin if enemys>").SetValue(new Slider(2, 1, 5))); _config.SubMenu("items") .SubMenu("Deffensive") .AddItem(new MenuItem("lotis", "Use Iron Solari")) .SetValue(true); _config.SubMenu("items") .SubMenu("Deffensive") .AddItem(new MenuItem("lotisminhp", "Solari if Ally Hp<").SetValue(new Slider(35, 1, 100))); //Farm _config.AddSubMenu(new Menu("Farm", "Farm")); _config.SubMenu("Farm").AddSubMenu(new Menu("LaneFarm", "LaneFarm")); _config.SubMenu("Farm") .SubMenu("LaneFarm") .AddItem(new MenuItem("UseItemslane", "Use Hydra/Tiamat")) .SetValue(true); _config.SubMenu("Farm").SubMenu("LaneFarm").AddItem(new MenuItem("UseQL", "Q LaneClear")).SetValue(true); _config.SubMenu("Farm").SubMenu("LaneFarm").AddItem(new MenuItem("UseEL", "E LaneClear")).SetValue(true); _config.SubMenu("Farm") .SubMenu("LaneFarm") .AddItem(new MenuItem("Energylane", "Energy Lane% >").SetValue(new Slider(45, 1, 100))); _config.SubMenu("Farm") .SubMenu("LaneFarm") .AddItem( new MenuItem("Activelane", "Lane clear!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); _config.SubMenu("Farm").AddSubMenu(new Menu("LastHit", "LastHit")); _config.SubMenu("Farm").SubMenu("LastHit").AddItem(new MenuItem("UseQLH", "Q LastHit")).SetValue(true); _config.SubMenu("Farm").SubMenu("LastHit").AddItem(new MenuItem("UseELH", "E LastHit")).SetValue(true); _config.SubMenu("Farm") .SubMenu("LastHit") .AddItem(new MenuItem("Energylast", "Energy lasthit% >").SetValue(new Slider(85, 1, 100))); _config.SubMenu("Farm") .SubMenu("LastHit") .AddItem( new MenuItem("ActiveLast", "LastHit!").SetValue(new KeyBind("X".ToCharArray()[0], KeyBindType.Press))); _config.SubMenu("Farm").AddSubMenu(new Menu("Jungle", "Jungle")); _config.SubMenu("Farm") .SubMenu("Jungle") .AddItem(new MenuItem("UseItemsjungle", "Use Hydra/Tiamat")) .SetValue(true); _config.SubMenu("Farm").SubMenu("Jungle").AddItem(new MenuItem("UseQJ", "Q Jungle")).SetValue(true); _config.SubMenu("Farm").SubMenu("Jungle").AddItem(new MenuItem("UseWJ", "W Jungle")).SetValue(true); _config.SubMenu("Farm").SubMenu("Jungle").AddItem(new MenuItem("UseEJ", "E Jungle")).SetValue(true); _config.SubMenu("Farm") .SubMenu("Jungle") .AddItem(new MenuItem("Energyjungle", "Energy Jungle% >").SetValue(new Slider(85, 1, 100))); _config.SubMenu("Farm") .SubMenu("Jungle") .AddItem( new MenuItem("Activejungle", "Jungle!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); //Misc _config.AddSubMenu(new Menu("Misc", "Misc")); _config.SubMenu("Misc").AddItem(new MenuItem("UseIgnitekill", "Use Ignite KillSteal")).SetValue(true); _config.SubMenu("Misc").AddItem(new MenuItem("UseQM", "Use Q KillSteal")).SetValue(true); _config.SubMenu("Misc").AddItem(new MenuItem("UseEM", "Use E KillSteal")).SetValue(true); _config.SubMenu("Misc").AddItem(new MenuItem("AutoE", "Auto E")).SetValue(true); _config.SubMenu("Misc").AddItem(new MenuItem("rdodge", "R Dodge Dangerous")).SetValue(true); _config.SubMenu("Misc").AddItem(new MenuItem("", "")); foreach (var e in enemy) { SpellDataInst rdata = e.Spellbook.GetSpell(SpellSlot.R); if (DangerDB.DangerousList.Any(spell => spell.Contains(rdata.SData.Name))) { _config.SubMenu("Misc").AddItem(new MenuItem("ds" + e.SkinName, rdata.SData.Name)).SetValue(true); } } //Drawings _config.AddSubMenu(new Menu("Drawings", "Drawings")); _config.SubMenu("Drawings").AddItem(new MenuItem("DrawQ", "Draw Q")).SetValue(true); _config.SubMenu("Drawings").AddItem(new MenuItem("DrawE", "Draw E")).SetValue(true); _config.SubMenu("Drawings").AddItem(new MenuItem("DrawQW", "Draw long harras")).SetValue(true); _config.SubMenu("Drawings").AddItem(new MenuItem("DrawR", "Draw R")).SetValue(true); _config.SubMenu("Drawings").AddItem(new MenuItem("shadowd", "Shadow Position")).SetValue(true); _config.SubMenu("Drawings").AddItem(new MenuItem("damagetest", "Damage Text")).SetValue(true); _config.SubMenu("Drawings").AddItem(new MenuItem("CircleLag", "Lag Free Circles").SetValue(true)); _config.SubMenu("Drawings") .AddItem(new MenuItem("CircleQuality", "Circles Quality").SetValue(new Slider(100, 100, 10))); _config.SubMenu("Drawings") .AddItem(new MenuItem("CircleThickness", "Circles Thickness").SetValue(new Slider(1, 10, 1))); _config.AddToMainMenu(); Game.PrintChat("<font color='#881df2'>Zed by Diabaths & jackisback</font> Loaded."); Game.PrintChat("<font color='#f2881d'>if you wanna help me to pay my internet bills^^ paypal= [email protected]</font>"); new AssassinManager(); Drawing.OnDraw += Drawing_OnDraw; Game.OnGameUpdate += Game_OnGameUpdate; Game.OnWndProc += OnWndProc; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; } catch (Exception e) { Console.WriteLine(e); Game.PrintChat("Error something went wrong"); } }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.BaseSkinName != ChampionName) { return; } //Create the spells Q = new Spell(SpellSlot.Q, 900); Q.SetSkillshot(0.25f, 50f, 1700, true, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 600); E = new Spell(SpellSlot.E, 600); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); //Create the menu Config = new Menu(ChampionName, ChampionName, true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //Orbwalker submenu Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); //Load the orbwalker and add it to the submenu. Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo") .AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass") .AddItem( new MenuItem("HarassActive", "Harass!").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); Config.AddSubMenu(new Menu("Farm", "Farm")); Config.SubMenu("Farm") .AddItem( new MenuItem("UseQFarm", "Use Q").SetValue( new StringList(new[] { "Freeze", "LaneClear", "Both", "No" }, 2))); Config.SubMenu("Farm") .AddItem( new MenuItem("UseWFarm", "Use W").SetValue( new StringList(new[] { "Freeze", "LaneClear", "Both", "No" }, 3))); Config.SubMenu("Farm") .AddItem( new MenuItem("UseEFarm", "Use E").SetValue( new StringList(new[] { "Freeze", "LaneClear", "Both", "No" }, 1))); Config.SubMenu("Farm") .AddItem( new MenuItem("FreezeActive", "Freeze!").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm") .AddItem( new MenuItem("LaneClearActive", "LaneClear!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm")); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseQJFarm", "Use Q").SetValue(true)); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseWJFarm", "Use W").SetValue(true)); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseEJFarm", "Use E").SetValue(true)); Config.SubMenu("JungleFarm") .AddItem( new MenuItem("JungleFarmActive", "JungleFarm!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after a rotation").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit += hero => (float)(Player.GetSpellDamage(hero, SpellSlot.Q) * 2 + Player.GetSpellDamage(hero, SpellSlot.W) + Player.GetSpellDamage(hero, SpellSlot.E)); Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("WRange", "W range").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(dmgAfterComboItem); Config.AddToMainMenu(); //Add the events we are going to use: Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnGameUpdate; Orbwalking.BeforeAttack += OrbwalkingOnBeforeAttack; }
private static void onLoad() { if (ObjectManager.Player.ChampionName != CharName) { return; } Chat.Print("MasterYi - by DeTuKs"); MasterYi.setSkillShots(); try { TargetedSkills.setUpSkills(); Config = new Menu("MasterYi - Sharp", "MasterYi", true); var orbwalkerMenu = new Menu("DeathWalker", "my_Orbwalker"); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //TS Menu targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //Combo Config.AddSubMenu(new Menu("Combo Sharp", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("comboItems", "Meh everything is fine here")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("comboWreset", "AA reset W")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useQ", "Use Q to gap")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useE", "Use E")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useR", "Use R")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useSmite", "Use Smite")).SetValue(true); //Extra Config.AddSubMenu(new Menu("Extra Sharp", "extra")); Config.SubMenu("extra").AddItem(new MenuItem("packets", "Use Packet cast")).SetValue(false); Config.AddSubMenu(new Menu("Anti Skillshots", "aShots")); //SmartW Config.SubMenu("aShots").AddItem(new MenuItem("smartW", "Smart W if cantQ")).SetValue(true); Config.SubMenu("aShots").AddItem(new MenuItem("smartQDogue", "Q use dogue")).SetValue(true); Config.SubMenu("aShots").AddItem(new MenuItem("useWatHP", "use W below HP")).SetValue(new Slider(100, 0, 100)); Config.SubMenu("aShots").AddItem(new MenuItem("wqOnDead", "W or Q if will kill")).SetValue(false); skillShotMenuq = getSkilshotMenuQ(); Config.SubMenu("aShots").AddSubMenu(skillShotMenuq); skillShotMenuw = getSkilshotMenuW(); Config.SubMenu("aShots").AddSubMenu(skillShotMenuw); //Debug Config.AddSubMenu(new Menu("Drawing", "draw")); Config.SubMenu("draw").AddItem(new MenuItem("drawCir", "Draw circles")).SetValue(true); Config.SubMenu("draw").AddItem(new MenuItem("debugOn", "Debug stuff")).SetValue(new KeyBind('A', KeyBindType.Press)); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Game.OnUpdate += OnGameUpdate; Obj_AI_Base.OnSpellCast += OnProcessSpell; AttackableUnit.OnDamage += onDamage; SkillshotDetector.OnDetectSkillshot += OnDetectSkillshot; SkillshotDetector.OnDeleteMissile += OnDeleteMissile; //Game.OnProcessPacket += OnGameProcessPacket; CustomEvents.Unit.OnDash += onDash; Orbwalking.AfterAttack += afterAttack; } catch { Chat.Print("Oops. Something went wrong with Jayce - Sharp"); } }
private static void Game_OnGameLoad(EventArgs args) { if (Player.CharData.BaseSkinName != CName) { return; } Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 950); E = new Spell(SpellSlot.E, 1200); R = new Spell(SpellSlot.R); W.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle); Config = new Menu("HikiCarry - Twitch", "HikiCarry - Twitch", true); TargetSelector.AddToMenu(Config.SubMenu("Target Selector Settings")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings")); var comboMenu = new Menu("Combo Settings", "Combo Settings"); { comboMenu.AddItem(new MenuItem("wCombo", "Use W").SetValue(true)); comboMenu.AddItem(new MenuItem("eCombo", "Use E").SetValue(true)); comboMenu.AddItem(new MenuItem("rCombo", "Use R").SetValue(true)); Config.AddSubMenu(comboMenu); } var harassMenu = new Menu("Harass Settings", "Harass Settings"); { harassMenu.AddItem(new MenuItem("wHarass", "Use W").SetValue(true)); harassMenu.AddItem(new MenuItem("eHarass", "Use E").SetValue(true)); harassMenu.AddItem(new MenuItem("eSpearCount", "If Enemy Poison Count >= ").SetValue(new Slider(6, 1, 6))); harassMenu.AddItem(new MenuItem("manaHarass", "Harass Mana Manager").SetValue(new Slider(20, 0, 100))); Config.AddSubMenu(harassMenu); } var laneMenu = new Menu("LaneClear Settings", "LaneClear Settings"); { laneMenu.AddItem(new MenuItem("wClear", "Use W").SetValue(true)); laneMenu.AddItem(new MenuItem("eClear", "Use E").SetValue(true)); laneMenu.AddItem(new MenuItem("eClearCount", "If Can Kill Minion >= ").SetValue(new Slider(4, 1, 5))); laneMenu.AddItem(new MenuItem("manaClear", "Clear Mana Manager").SetValue(new Slider(20, 0, 100))); Config.AddSubMenu(laneMenu); } var jungMenu = new Menu("JungleClear Settings", "JungleClear Settings"); { jungMenu.AddItem(new MenuItem("wJungle", "Use W").SetValue(true)); jungMenu.AddItem(new MenuItem("eJungle", "Use E").SetValue(true)); jungMenu.AddItem(new MenuItem("manaJungle", "Jungle Mana Manager").SetValue(new Slider(20, 0, 100))); Config.AddSubMenu(jungMenu); } var ksMenu = new Menu("KillSteal Settings", "KillSteal Settings"); { ksMenu.AddItem(new MenuItem("eKS", "Use E").SetValue(true)); Config.AddSubMenu(ksMenu); } var mobSteal = new Menu("Mob Steal Settings", "Mob Steal Settings"); { var stealMobs = new Menu("Stealable Mobs", "Stealable Mobs"); { stealMobs.AddItem(new MenuItem("stealDragon", "Steal Dragon").SetValue(true)); stealMobs.AddItem(new MenuItem("stealBaron", "Steal Baron").SetValue(true)); stealMobs.AddItem(new MenuItem("stealRed", "Steal Red").SetValue(true)); stealMobs.AddItem(new MenuItem("stealBlue", "Steal Blue").SetValue(true)); mobSteal.AddSubMenu(stealMobs); } mobSteal.AddItem(new MenuItem("eSteal", "Use E").SetValue(true)); Config.AddSubMenu(mobSteal); } var drawMenu = new Menu("Draw Settings", "Draw Settings"); { drawMenu.AddItem(new MenuItem("qDraw", "Q Range").SetValue(new Circle(true, Color.White))); drawMenu.AddItem(new MenuItem("wDraw", "W Range").SetValue(new Circle(true, Color.Silver))); drawMenu.AddItem(new MenuItem("eDraw", "E Range").SetValue(new Circle(true, Color.Yellow))); drawMenu.AddItem(new MenuItem("rDraw", "R Range").SetValue(new Circle(true, Color.Gold))); Config.AddSubMenu(drawMenu); } var drawDamageMenu = new MenuItem("RushDrawEDamage", "E Damage").SetValue(true); var drawFill = new MenuItem("RushDrawEDamageFill", "E Damage Fill").SetValue(new Circle(true, Color.Gold)); drawMenu.SubMenu("Damage Draws").AddItem(drawDamageMenu); drawMenu.SubMenu("Damage Draws").AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawDamageMenu.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; drawFill.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DamageIndicator.Fill = eventArgs.GetNewValue <Circle>().Active; DamageIndicator.FillColor = eventArgs.GetNewValue <Circle>().Color; }; Config.AddToMainMenu(); Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; }
private void InitMenu() { config = new Menu("Olaf ", "Olaf", true); // Target Selector Menu menuTS = new Menu("Selector", "tselect"); TargetSelector.AddToMenu(menuTS); config.AddSubMenu(menuTS); // Orbwalker Menu menuOrb = new Menu("Orbwalker", "orbwalker"); orbwalker = new Orbwalking.Orbwalker(menuOrb); config.AddSubMenu(menuOrb); // Draw settings Menu menuD = new Menu("Drawings ", "dsettings"); menuD.AddItem(new MenuItem("drawqq", "Draw Q range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 255, 222, 5))); menuD.AddItem(new MenuItem("drawee", "Draw E range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 255, 222, 5))); menuD.AddItem(new MenuItem("drawaxe", "Draw Axe position", true)).SetValue(true); menuD.AddItem(new MenuItem("drawcombo", "Draw combo damage", true)).SetValue(true); config.AddSubMenu(menuD); // Combo Settings Menu menuC = new Menu("Combo ", "csettings"); menuC.AddItem(new MenuItem("useq", "Use Q", true)).SetValue(true); menuC.AddItem(new MenuItem("gotoAxe", "Catch axe", true)).SetValue(true); menuC.AddItem(new MenuItem("usew", "Use W", true)).SetValue(true); menuC.AddItem(new MenuItem("usee", "Use E", true)).SetValue(true); menuC.AddItem(new MenuItem("userCCed", "Use on CC", true)).SetValue(true); menuC.AddItem(new MenuItem("userbeforeCCed", "Use before CC", true)).SetValue(true); menuC.AddItem(new MenuItem("useIgnite", "Use Ignite", true)).SetValue(true); menuC = ItemHandler.addItemOptons(menuC); config.AddSubMenu(menuC); // Harass Settings Menu menuH = new Menu("Harass ", "Hsettings"); menuH.AddItem(new MenuItem("useqH", "Use Q", true)).SetValue(false); menuH.AddItem(new MenuItem("gotoAxeH", "Catch axe", true)).SetValue(true); menuH.AddItem(new MenuItem("useeH", "Use E", true)).SetValue(false); menuH.AddItem(new MenuItem("minmanaH", "Keep X% mana", true)).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuH); // LaneClear Settings Menu menuLC = new Menu("LaneClear ", "Lcsettings"); menuLC.AddItem(new MenuItem("useqLC", "Use Q", true)).SetValue(true); menuLC.AddItem(new MenuItem("qMinHit", " Min hit", true)).SetValue(new Slider(3, 1, 6)); menuLC.AddItem(new MenuItem("gotoAxeLC", "Catch axe", true)).SetValue(true); menuLC.AddItem(new MenuItem("usewLC", "Use W", true)).SetValue(true); menuLC.AddItem(new MenuItem("useeLC", "Use E", true)).SetValue(false); menuLC.AddItem(new MenuItem("minmana", "Keep X% mana", true)).SetValue(new Slider(20, 1, 100)); config.AddSubMenu(menuLC); Menu menuM = new Menu("Misc ", "Msettings"); menuM.AddItem(new MenuItem("gotoAxeMaxDist", "Max dist to catch axe", true)) .SetValue(new Slider(450, 200, 600)); menuM = DrawHelper.AddMisc(menuM); config.AddSubMenu(menuM); config.AddItem(new MenuItem("UnderratedAIO", "by Soresu v" + Program.version.ToString().Replace(",", "."))); config.AddToMainMenu(); }
public static void Initialize() { _MainMenu = new Menu("Ryze", "Ryze", true); Menu orbwalkerMenu = new Menu("OrbWalker", "OrbWalker"); _OrbWalker = new Orbwalking.Orbwalker(orbwalkerMenu); _MainMenu.AddSubMenu(orbwalkerMenu); var targetSelectorMenu = new Menu("Target Selector", "TargetSelector"); TargetSelector.AddToMenu(targetSelectorMenu); _MainMenu.AddSubMenu(targetSelectorMenu); var Melee = new Menu("Melee", "Melee Attack"); { Melee.AddItem(new MenuItem("MCombo", "Combo").SetValue(true)); Melee.AddItem(new MenuItem("MHarass", "Harass").SetValue(true)); Melee.AddItem(new MenuItem("MClear", "Clear").SetValue(true)); } _MainMenu.AddSubMenu(Melee); var Combo = new Menu("Combo", "Combo"); { Combo.AddItem(new MenuItem("UseQ", "Use Q").SetValue(true)); Combo.AddItem(new MenuItem("UseW", "Use W").SetValue(true)); Combo.AddItem(new MenuItem("UseE", "Use E").SetValue(true)); Combo.AddItem(new MenuItem("UseR", "Use R").SetValue(true)); Combo.AddItem(new MenuItem("ComboSelect", "Q is NoCollision").SetValue(true)); } _MainMenu.AddSubMenu(Combo); var Harass = new Menu("Harass", "Harass"); { Harass.AddItem(new MenuItem("HUseQ", "Use Q").SetValue(true)); Harass.AddItem(new MenuItem("HUseW", "Use W").SetValue(true)); Harass.AddItem(new MenuItem("HUseE", "Use E").SetValue(true)); Harass.AddItem(new MenuItem("HManaRate", "Mana %").SetValue(new Slider(20))); Harass.AddItem(new MenuItem("AutoHarass", "Auto Harass").SetValue(false)); } _MainMenu.AddSubMenu(Harass); var LaneClear = new Menu("LaneClear", "LaneClear"); { LaneClear.AddItem(new MenuItem("LUseQ", "Use Q").SetValue(true)); LaneClear.AddItem(new MenuItem("LUseW", "Use W").SetValue(true)); LaneClear.AddItem(new MenuItem("LUseE", "Use E").SetValue(true)); LaneClear.AddItem(new MenuItem("LManaRate", "Mana %").SetValue(new Slider(20))); } _MainMenu.AddSubMenu(LaneClear); var JungleClear = new Menu("JungleClear", "JungleClear"); { JungleClear.AddItem(new MenuItem("JUseQ", "Use Q").SetValue(true)); JungleClear.AddItem(new MenuItem("JUseW", "Use W").SetValue(true)); JungleClear.AddItem(new MenuItem("JUseE", "Use E").SetValue(true)); JungleClear.AddItem(new MenuItem("JManaRate", "Mana %").SetValue(new Slider(20))); } _MainMenu.AddSubMenu(JungleClear); var Misc = new Menu("Misc", "Misc"); { Misc.AddItem(new MenuItem("AutoStack", "Auto Stack").SetValue(new Slider(0, 0, 4))); Misc.AddItem(new MenuItem("AutoLasthit", "Auto LastHit with Spell Q,E").SetValue(false)); Misc.AddItem(new MenuItem("WGap", "Auto W On GapClosers").SetValue(true)); Misc.AddItem(new MenuItem("OnlyCombo", "Only Combo(WQEQ)").SetValue(false)); } _MainMenu.AddSubMenu(Misc); var Draw = new Menu("Draw", "Draw"); { Draw.AddItem(new MenuItem("QRange", "Q Range").SetValue(true)); Draw.AddItem(new MenuItem("WRange", "W Range").SetValue(true)); Draw.AddItem(new MenuItem("ERange", "E Range").SetValue(true)); Draw.AddItem(new MenuItem("DisplayStack", "Display Stack").SetValue(true)); Draw.AddItem(new MenuItem("DisplayTime", "Display Time").SetValue(true)); } _MainMenu.AddSubMenu(Draw); var Sign = new Menu("Made KorFresh", ""); { Sign.AddItem(new MenuItem("1", "L# Forum: KorFresh")); Sign.AddItem(new MenuItem("2", "EMail: [email protected]")); Sign.AddItem(new MenuItem("3", "Page: http://korfresh.com")); } _MainMenu.AddSubMenu(Sign); _MainMenu.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.BaseSkinName != "TwistedFate") { return; } Player = ObjectManager.Player; Q = new Spell(SpellSlot.Q, 1450); Q.SetSkillshot(0.25f, 40f, 1000f, false, SkillshotType.SkillshotLine); //Make the menu Config = new Menu("Twisted Fate", "TwistedFate", true); var TargetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); var SowMenu = new Menu("Orbwalking", "Orbwalking"); SOW = new Orbwalking.Orbwalker(SowMenu); Config.AddSubMenu(SowMenu); /* Q */ var q = new Menu("Q - Wildcards", "Q"); q.AddItem(new MenuItem("AutoQI", "Auto-Q immobile").SetValue(true)); q.AddItem(new MenuItem("AutoQD", "Auto-Q dashing").SetValue(true)); q.AddItem(new MenuItem("CastQ", "Cast Q (tap)").SetValue(new KeyBind("U".ToCharArray()[0], KeyBindType.Press))); Config.AddSubMenu(q); /* W */ var w = new Menu("W - Pick a card", "W"); w.AddItem( new MenuItem("SelectYellow", "Select Yellow").SetValue(new KeyBind("W".ToCharArray()[0], KeyBindType.Press))); w.AddItem( new MenuItem("SelectBlue", "Select Blue").SetValue(new KeyBind("E".ToCharArray()[0], KeyBindType.Press))); w.AddItem( new MenuItem("SelectRed", "Select Red").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); Config.AddSubMenu(w); var r = new Menu("R - Destiny", "R"); r.AddItem(new MenuItem("AutoY", "Select yellow card after R").SetValue(true)); Config.AddSubMenu(r); var misc = new Menu("Misc", "Misc"); misc.AddItem(new MenuItem("PingLH", "Ping low health enemies (Only local)").SetValue(true)); Config.AddSubMenu(misc); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = ComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; /*Drawing*/ var Drawings = new Menu("Drawings", "Drawings"); Drawings.AddItem(new MenuItem("Qcircle", "Q Range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); Drawings.AddItem(new MenuItem("Rcircle", "R Range").SetValue(new Circle(true, Color.FromArgb(100, 255, 255, 255)))); Drawings.AddItem(new MenuItem("Rcircle2", "R Range (minimap)").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Drawings.AddItem(dmgAfterComboItem); Config.AddSubMenu(Drawings); Config.AddItem(new MenuItem("Combo", "Combo").SetValue(new KeyBind(32, KeyBindType.Press))); Config.AddToMainMenu(); Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += DrawingOnOnEndScene; Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; Orbwalking.BeforeAttack += OrbwalkingOnBeforeAttack; }
public static void OnLoad() { Config = new Menu(Menuname, Menuname, true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); var combo = new Menu("Combo Settings", "Combo Settings"); { combo.AddItem(new MenuItem("combomode", "[Combo] Mode")) .SetValue(new StringList(new[] { "QEW" })); AddBools(combo, "Use [Q]", "useq", "Q Usage"); AddBools(combo, "Use [W]", "usew", "W Usage"); AddBools(combo, "Use [E]", "usee", "E Usage"); AddBools(combo, "Use [R]", "user", "R Usage"); // AddBools(combo, "Don't [E] Under Turret", "useet", "Prevents you From E under turret"); AddBools(combo, "Use [Ignite]", "useignite", "Ignite Usage"); AddValue(combo, "Only [R] When Enemy Count >", "rcount", 1, 1, 4); } Config.AddSubMenu(combo); var harass = new Menu("Mixed Settings", "Mixed Settings"); { AddBools(harass, "Use [Q]", "useqh", "Use Q"); AddBools(harass, "Use [W]", "usewh", "Use W"); } Config.AddSubMenu(harass); var laneclear = new Menu("Lane Clear Settings", "Lane Clear Settings"); { AddBools(laneclear, "Last Hit [Q]", "qlasthitlane", "Last Hit With Q In Lane Clear"); AddBools(laneclear, "Last Hit [W]", "wlasthitlane", "Last Hit With W In Lane Clear"); AddBools(laneclear, "Use [Q]", "qlaneclear", "Use Q Always"); AddValue(laneclear, "Min Minions To [Q]", "qlaneclearmin", 3, 1, 20); AddBools(laneclear, "Use [W]", "wlaneclear", "Use W Always"); AddValue(laneclear, "Min Minions To [W]", "wlaneclearmin", 3, 1, 20); } Config.AddSubMenu(laneclear); var lasthit = new Menu("Last Hit Settings", "Last Hit Settings"); { AddBools(lasthit, "Last Hit [Q]", "qlasthit", "Last Hit With Q"); AddBools(lasthit, "Last Hit [W]", "wlasthit", "Last Hit With W"); } Config.AddSubMenu(lasthit); var killsteal = new Menu("Kill Steal Settings", "Kill Steal Settings"); { AddBool(killsteal, "Use Kill Steal", "ks"); AddBools(killsteal, "Use [Q]", "useqks", "Use Q To Ks"); AddBools(killsteal, "Use [W]", "usewks", "Use W To Ks"); AddBools(killsteal, "Use [E]", "useeks", "Use E To Ks"); } Config.AddSubMenu(killsteal); var drawings = new Menu("Drawing Settings", "Drawing Settings"); { AddBools(drawings, "Draw [Q] Range", "drawq", "Q Range", false); AddBools(drawings, "Draw [W] Range", "draww", "W Range", false); AddBools(drawings, "Draw [E] Range", "drawe", "E Range", false); AddBools(drawings, "Draw [R] Range", "drawr", "R Range", false); } Config.AddSubMenu(drawings); AddKeyBind(Config, "Ward Jump", "wardjump", 'T', KeyBindType.Press); Config.AddToMainMenu(); }
private static void MenuLoad() { _config = new Menu("ElKatarina", "Katarina", true); //Orbwalker Menu _config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking")); //Target Selector Menu var tsMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(tsMenu); _config.AddSubMenu(tsMenu); _config.AddSubMenu(new Menu("Smart Combo", "combo")); _config.SubMenu("combo").AddItem(new MenuItem("smartR", "Use Smart R").SetValue(true)); _config.SubMenu("combo").AddItem(new MenuItem("wjCombo", "Use WardJump in Combo").SetValue(true)); _config.AddSubMenu(new Menu("Harass", "harass")); _config.SubMenu("harass").AddItem(new MenuItem("hMode", "Harass Mode: ").SetValue(new StringList(new[] { "Q only", "Q+W", "Q+E+W" }))); _config.SubMenu("harass").SubMenu("AutoHarass settings").AddItem(new MenuItem("ElKatarina.AutoHarass.Activated", "Auto harass", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Toggle))); _config.SubMenu("harass").SubMenu("AutoHarass settings").AddItem(new MenuItem("ElKatarina.AutoHarass.Q", "Use Q").SetValue(true)); _config.SubMenu("harass").SubMenu("AutoHarass settings").AddItem(new MenuItem("ElKatarina.AutoHarass.W", "Use W").SetValue(true)); _config.AddSubMenu(new Menu("Farming", "farm")); _config.SubMenu("farm").AddItem(new MenuItem("smartFarm", "Use Smart Farm").SetValue(true)); _config.SubMenu("farm").AddItem(new MenuItem("qFarm", "Use Q").SetValue(true)); _config.SubMenu("farm").AddItem(new MenuItem("wFarm", "Use W").SetValue(true)); _config.SubMenu("farm").AddItem(new MenuItem("eFarm", "Use E").SetValue(true)); _config.AddSubMenu(new Menu("Jungle Clear", "jungle")); _config.SubMenu("jungle").AddItem(new MenuItem("qJungle", "Use Q").SetValue(true)); _config.SubMenu("jungle").AddItem(new MenuItem("wJungle", "Use W").SetValue(true)); _config.SubMenu("jungle").AddItem(new MenuItem("eJungle", "Use E").SetValue(true)); _config.AddSubMenu(new Menu("Killsteal", "KillSteal")); _config.SubMenu("KillSteal").AddItem(new MenuItem("KillSteal", "Smart").SetValue(true)); _config.SubMenu("KillSteal").AddItem(new MenuItem("jumpsS", "Use E").SetValue(true)); _config.AddSubMenu(new Menu("Items", "Items")); _config.SubMenu("Items").AddItem(new MenuItem("ElKatarina.Items.hextech", "Use Hextech Gunblade").SetValue(true)); _config.AddSubMenu(new Menu("Draw", "drawing")); _config.SubMenu("drawing").AddItem(new MenuItem("mDraw", "Disable all drawings").SetValue(false)); _config.SubMenu("drawing").AddItem(new MenuItem("Target", "Highlight Target").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 0)))); _config.SubMenu("drawing").AddItem(new MenuItem("QDraw", "Draw Q").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); _config.SubMenu("drawing").AddItem(new MenuItem("WDraw", "Draw W").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); _config.SubMenu("drawing").AddItem(new MenuItem("EDraw", "Draw E").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); _config.SubMenu("drawing").AddItem(new MenuItem("RDraw", "Draw R").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); var dmgAfterE = new MenuItem("ElKatarina.DrawComboDamage", "Draw combo damage").SetValue(true); var drawFill = new MenuItem("ElKatarina.DrawColour", "Fill colour", true).SetValue(new Circle(true, Color.FromArgb(204, 255, 0, 1))); _config.SubMenu("drawing").AddItem(drawFill); _config.SubMenu("drawing").AddItem(dmgAfterE); DrawDamage.DamageToUnit = GetComboDamage; DrawDamage.Enabled = dmgAfterE.GetValue <bool>(); DrawDamage.Fill = drawFill.GetValue <Circle>().Active; DrawDamage.FillColor = drawFill.GetValue <Circle>().Color; dmgAfterE.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DrawDamage.Enabled = eventArgs.GetNewValue <bool>(); }; drawFill.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DrawDamage.Fill = eventArgs.GetNewValue <Circle>().Active; DrawDamage.FillColor = eventArgs.GetNewValue <Circle>().Color; }; //Misc Menu _config.AddSubMenu(new Menu("Misc", "misc")); _config.SubMenu("misc").AddItem(new MenuItem("playLegit", "Legit E").SetValue(false)); _config.SubMenu("misc").AddItem(new MenuItem("legitCastDelay", "Legit E Delay").SetValue(new Slider(1000, 0, 2000))); _config.SubMenu("misc").AddItem(new MenuItem("ElKatarina.misc.Notifications", "Use notifications").SetValue(true)); //Wardjump Menu _config.AddSubMenu(new Menu("WardJump Settings", "wardjump")); _config.SubMenu("wardjump").AddItem(new MenuItem("wardjumpkey", "WardJump key").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); if (_igniteSlot != SpellSlot.Unknown) { _config.SubMenu("misc").AddItem(new MenuItem("autoIgnite", "Auto ignite when killable").SetValue(true)); } var credits = new Menu("Credits", "jQuery"); credits.AddItem(new MenuItem("ElKatarina.Paypal", "if you would like to donate via paypal:")); credits.AddItem(new MenuItem("ElKatarina.Email", "*****@*****.**")); _config.AddSubMenu(credits); _config.AddItem(new MenuItem("422442fsaafs4242f", "")); _config.AddItem(new MenuItem("422442fsaafsf", "Version: 1.0.0.7")); _config.AddItem(new MenuItem("fsasfafsfsafsa", "Made By Jouza - jQuery ")); _config.AddToMainMenu(); }
private void InitMenu() { config = new Menu("Volibear", "Volibear", true); // Target Selector Menu menuTS = new Menu("Selector", "tselect"); TargetSelector.AddToMenu(menuTS); config.AddSubMenu(menuTS); // Orbwalker Menu menuOrb = new Menu("Orbwalker", "orbwalker"); orbwalker = new Orbwalking.Orbwalker(menuOrb); config.AddSubMenu(menuOrb); // Draw settings Menu menuD = new Menu("Drawings ", "dsettings"); menuD.AddItem(new MenuItem("drawqq", "Draw Q range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawww", "Draw W range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawee", "Draw E range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawrr", "Draw R range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawpass", "Draw passive")) .SetValue(new Circle(true, Color.FromArgb(140, 30, 197, 22))); menuD.AddItem(new MenuItem("drawcombo", "Draw combo damage")).SetValue(true); config.AddSubMenu(menuD); // Combo settings Menu menuC = new Menu("Combo ", "csettings"); menuC.AddItem(new MenuItem("useq", "Use Q")).SetValue(true); menuC.AddItem(new MenuItem("useqmin", " Min distance")).SetValue(new Slider(200, 0, 1000)); menuC.AddItem(new MenuItem("usew", "Use W")).SetValue(true); menuC.AddItem(new MenuItem("usee", "Use E")).SetValue(true); menuC.AddItem(new MenuItem("useenotccd", " Wait if the target stunned, slowed...")).SetValue(true); menuC.AddItem(new MenuItem("user", "Use R (1v1)")).SetValue(true); menuC.AddItem(new MenuItem("usertf", "Use R min (teamfight)")).SetValue(new Slider(2, 1, 5)); menuC.AddItem(new MenuItem("selected", "Focus Selected target")).SetValue(true); menuC.AddItem(new MenuItem("useIgnite", "Use Ignite")).SetValue(true); menuC = ItemHandler.addItemOptons(menuC); config.AddSubMenu(menuC); // Harass Settings Menu menuH = new Menu("Harass ", "Hsettings"); menuH.AddItem(new MenuItem("usewH", "Use W")).SetValue(true); menuH.AddItem(new MenuItem("maxHealthH", "Target health less than")).SetValue(new Slider(50, 1, 100)); menuH.AddItem(new MenuItem("useeH", "Use E")).SetValue(true); menuH.AddItem(new MenuItem("minmanaH", "Keep X% mana")).SetValue(new Slider(0, 0, 100)); config.AddSubMenu(menuH); // LaneClear Settings Menu menuLC = new Menu("Clear ", "Lcsettings"); menuLC.AddItem(new MenuItem("usewLCSteal", "Use W to steal in jungle")).SetValue(true); menuLC.AddItem(new MenuItem("usewbsmite", "Use W before smite")).SetValue(true); menuLC.AddItem(new MenuItem("useeLC", "Use E")).SetValue(true); menuLC.AddItem(new MenuItem("ehitLC", " More than x minion").SetValue(new Slider(2, 1, 10))); menuLC.AddItem(new MenuItem("minmana", "Keep X% mana")).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuLC); // Misc settings Menu menuM = new Menu("Misc ", "Msettings"); menuM.AddItem(new MenuItem("ksW", "KS with W")).SetValue(false); menuM = DrawHelper.AddMisc(menuM); config.AddSubMenu(menuM); config.AddItem(new MenuItem("UnderratedAIO", "by Soresu v" + Program.version.ToString().Replace(",", "."))); config.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.BaseSkinName != ChampionName) { return; } Q = new Spell(SpellSlot.Q, 1075); W = new Spell(SpellSlot.W, 1600); E = new Spell(SpellSlot.E, 400f); Q.SetSkillshot(0.25f, 70f, 2200f, false, SkillshotType.SkillshotLine); W.SetSkillshot(3f, 90f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //MENU Config = new Menu("HikiCarry Ekko", "HikiCarry - Ekko", true); //TARGET SELECTOR var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //ORBWALKER Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); //INFO Config.AddSubMenu(new Menu("Info", "Info")); Config.SubMenu("Info").AddItem(new MenuItem("Author", "@Hikigaya")); //COMBO Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("RushQCombo", "Use Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("RushWCombo", "Use W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("RushECombo", "Use E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("RushRCombo", "Use R").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("MinEnemyW", "Min enemys for W").SetValue(new Slider(3, 5, 1))); Config.SubMenu("Combo").AddItem(new MenuItem("hpToR", "% Hp to R").SetValue(new Slider(30, 0, 100))); Config.SubMenu("Combo").AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); //LANECLEAR Config.AddSubMenu(new Menu("LaneClear", "LaneClear")); Config.SubMenu("LaneClear").AddItem(new MenuItem("laneclearUseQ", "Use Q", true).SetValue(true)); Config.AddSubMenu(new Menu("JungleClear", "JungleClear")); Config.SubMenu("JungleClear").AddItem(new MenuItem("jungleclearUseQ", "Use Q", true).SetValue(true)); Config.SubMenu("JungleClear").AddItem(new MenuItem("jungleclearUseW", "Use W", true).SetValue(true)); Config.SubMenu("JungleClear").AddItem(new MenuItem("jungleclearUseE", "Use E", true).SetValue(true)); //HARASS Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("RushQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("harassmana", "Haras Mana Percent").SetValue(new Slider(30, 0, 100))); //MISC Config.AddSubMenu(new Menu("Misc", "Misc")); Config.SubMenu("Misc").AddItem(new MenuItem("agapcloser", "Anti-Gapcloser with E!").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("wStunQ", "Enemy is Stunned - Cast Q!").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("vsMode", "1v1 Enabled").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("twostackQ", "If enemy have 2 stack Auto Q").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("ksQ", "KillSteal Q!").SetValue(true)); Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("RushQRange", "Q Range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("RushWRange", "W Range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("RushERange", "E Range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("RushRRange", "Killable Text").SetValue(new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.AddToMainMenu(); Game.OnUpdate += Game_OnGameUpdate; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Drawing.OnDraw += Drawing_OnDraw; }
private void NidaMenu() { Config = new Menu("【超神汉化】狂野女猎手", "nidalee", true); var nidaOrb = new Menu("走砍", "orbwalker"); Orbwalker = new Orbwalking.Orbwalker(nidaOrb); Config.AddSubMenu(nidaOrb); var nidaTS = new Menu("目标选择", "target selecter"); TargetSelector.AddToMenu(nidaTS); Config.AddSubMenu(nidaTS); var nidaKeys = new Menu("热键", "keybindongs"); nidaKeys.AddItem(new MenuItem("usecombo", "连招")).SetValue(new KeyBind(32, KeyBindType.Press)); nidaKeys.AddItem(new MenuItem("useharass", "骚扰")).SetValue(new KeyBind(67, KeyBindType.Press)); nidaKeys.AddItem(new MenuItem("usejungle", "清野")).SetValue(new KeyBind(86, KeyBindType.Press)); nidaKeys.AddItem(new MenuItem("useclear", "清线")).SetValue(new KeyBind(86, KeyBindType.Press)); Config.AddSubMenu(nidaKeys); var nidaSpells = new Menu("法术", "spells"); nidaSpells.AddItem(new MenuItem("hitchance", "命中机会")).SetValue(new StringList(new[] { "Low", "Medium", "High" }, 2)); nidaSpells.AddItem(new MenuItem("usehumanq", "使用人形态Q")).SetValue(true); nidaSpells.AddItem(new MenuItem("usehumanw", "使用人形态W")).SetValue(true); nidaSpells.AddItem(new MenuItem(" ", " ")); nidaSpells.AddItem(new MenuItem("usecougarq", "使用豹形态Q")).SetValue(true); nidaSpells.AddItem(new MenuItem("usecougarw", "使用豹形态W")).SetValue(true); nidaSpells.AddItem(new MenuItem("pouncerange", "最小距离ㄧ")).SetValue(new Slider(125, 50, 300)); nidaSpells.AddItem(new MenuItem("usecougare", "使用豹形态E")).SetValue(true); nidaSpells.AddItem(new MenuItem("usecougarr", "自动切换")).SetValue(true); Config.AddSubMenu(nidaSpells); var nidaHeals = new Menu("人形态E", "hengine"); nidaHeals.AddItem(new MenuItem("usedemheals", "打开")).SetValue(true); foreach (var hero in ObjectManager.Get <Obj_AI_Hero>().Where(hero => hero.IsAlly)) { nidaHeals.AddItem(new MenuItem("heal" + hero.SkinName, hero.SkinName)).SetValue(true); nidaHeals.AddItem(new MenuItem("healpct" + hero.SkinName, hero.SkinName + " heal %")).SetValue(new Slider(50)); } nidaHeals.AddItem(new MenuItem("healmanapct", "最小法力值ㄧ")).SetValue(new Slider(40)); Config.AddSubMenu(nidaHeals); var nidaHarass = new Menu("骚扰", "harass"); nidaHarass.AddItem(new MenuItem("usehumanq2", "使用人形态Q")).SetValue(true); nidaHarass.AddItem(new MenuItem("humanqpct", "最小法力值ㄧ")).SetValue(new Slider(70)); Config.AddSubMenu(nidaHarass); var nidaClear = new Menu("清线", "laneclear"); nidaClear.AddItem(new MenuItem("clearhumanq", "使用人形态Q")).SetValue(false); nidaClear.AddItem(new MenuItem(" ", " ")); nidaClear.AddItem(new MenuItem("clearcougarq", "使用豹形态Q")).SetValue(true); nidaClear.AddItem(new MenuItem("clearcougarw", "使用豹形态W")).SetValue(true); nidaClear.AddItem(new MenuItem("clearcougare", "使用豹形态E")).SetValue(true); nidaClear.AddItem(new MenuItem("clearcougarr", "自动切换")).SetValue(false); nidaClear.AddItem(new MenuItem("clearpct", "最小法力值ㄧ")).SetValue(new Slider(55)); Config.AddSubMenu(nidaClear); var nidaJungle = new Menu("清野", "jungleclear"); nidaJungle.AddItem(new MenuItem("jghumanq", "使用人形态Q")).SetValue(true); nidaJungle.AddItem(new MenuItem("jghumanw", "使用人形态W")).SetValue(true); nidaJungle.AddItem(new MenuItem(" ", " ")); nidaJungle.AddItem(new MenuItem("jgcougarq", "使用豹形态Q")).SetValue(true); nidaJungle.AddItem(new MenuItem("jgcougarw", "使用豹形态W")).SetValue(true); nidaJungle.AddItem(new MenuItem("jgcougare", "使用豹形态E")).SetValue(true); nidaJungle.AddItem(new MenuItem("jgcougarr", "自动切换")).SetValue(true); nidaJungle.AddItem(new MenuItem("jgrpct", "最小法力值ㄧ")).SetValue(new Slider(55, 0, 100)); Config.AddSubMenu(nidaJungle); var nidaMisc = new Menu("杂项", "nidamisc"); nidaMisc.AddItem(new MenuItem("usedfg", "使用冥火")).SetValue(true); nidaMisc.AddItem(new MenuItem("usebork", "使用破败")).SetValue(true); nidaMisc.AddItem(new MenuItem("usebw", "使用小弯刀")).SetValue(true); nidaMisc.AddItem(new MenuItem("useclaim", "使用冰霜女皇")).SetValue(true); nidaMisc.AddItem(new MenuItem("useks", "抢头")).SetValue(true); nidaMisc.AddItem(new MenuItem("swfks", "人豹切换抢头")).SetValue(false); Config.AddSubMenu(nidaMisc); var nidaD = new Menu("显示", "drawings"); nidaD.AddItem(new MenuItem("drawQ", "Q范围")).SetValue(new Circle(true, Color.FromArgb(150, Color.White))); nidaD.AddItem(new MenuItem("drawW", "W范围")).SetValue(new Circle(true, Color.FromArgb(150, Color.White))); nidaD.AddItem(new MenuItem("drawE", "E范围")).SetValue(new Circle(true, Color.FromArgb(150, Color.White))); nidaD.AddItem(new MenuItem("drawcds", "显示冷却")).SetValue(true); Config.AddSubMenu(nidaD); Config.AddItem(new MenuItem("useignote", "使用点燃")).SetValue(true); Config.AddItem(new MenuItem("usepackets", "使用封包")).SetValue(true); Config.AddToMainMenu(); Config.AddSubMenu(new Menu("超神汉化", "by weilai")); Config.SubMenu("by weilai").AddItem(new MenuItem("qunhao", "汉化群:386289593")); Config.SubMenu("by weilai").AddItem(new MenuItem("qunhao2", "娃娃群:158994507")); Game.PrintChat("<font color=\"#FFAF4D\">[</font><font color=\"#FFA333\">Nidalee</font><font color=\"#FFAF4D\">]</font><font color=\"#FF8C00\"> - <u>the Bestial Huntress Rev106</u> </font>- Kurisu"); }
private void InitMenu() { config = new Menu("Skarner", "Skarner", true); // Target Selector Menu menuTS = new Menu("Selector", "tselect"); TargetSelector.AddToMenu(menuTS); config.AddSubMenu(menuTS); // Orbwalker Menu menuOrb = new Menu("Orbwalker", "orbwalker"); orbwalker = new Orbwalking.Orbwalker(menuOrb); config.AddSubMenu(menuOrb); // Draw settings Menu menuD = new Menu("Drawings ", "dsettings"); menuD.AddItem(new MenuItem("drawqq", "Draw Q range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawee", "Draw E range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawrr", "Draw R range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawcombo", "Draw combo damage")).SetValue(true); config.AddSubMenu(menuD); Menu menuC = new Menu("Combo ", "csettings"); menuC.AddItem(new MenuItem("useq", "Use Q")).SetValue(true); menuC.AddItem(new MenuItem("usew", "Use W")).SetValue(true); menuC.AddItem(new MenuItem("usee", "Use E")).SetValue(true); menuC.AddItem(new MenuItem("useeMinRange", " E min Range")).SetValue(new Slider(150, 0, (int)E.Range)); menuC.AddItem(new MenuItem("useeMaxRange", " E max Range")).SetValue(new Slider(800, 0, (int)E.Range)); menuC.AddItem(new MenuItem("user", "Use R")).SetValue(true); menuC.AddItem(new MenuItem("useragainstpush", "Use R to counter spells")).SetValue(true); var sulti = new Menu("TeamFight Ult block", "dontult"); foreach (var hero in ObjectManager.Get <Obj_AI_Hero>().Where(hero => hero.IsEnemy)) { sulti.AddItem(new MenuItem("ult" + hero.SkinName, hero.SkinName)).SetValue(false); } menuC.AddSubMenu(sulti); menuC.AddItem(new MenuItem("useIgnite", "Use Ignite")).SetValue(true); menuC = ItemHandler.addItemOptons(menuC); config.AddSubMenu(menuC); // Harass Settings Menu menuH = new Menu("Harass ", "Hsettings"); menuH.AddItem(new MenuItem("useqH", "Use Q")).SetValue(true); menuH.AddItem(new MenuItem("useeH", "Use E")).SetValue(true); menuH.AddItem(new MenuItem("minmanaH", "Keep X% mana")).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuH); // LaneClear Settings Menu menuLC = new Menu("LaneClear ", "Lcsettings"); menuLC.AddItem(new MenuItem("useqLC", "Use Q")).SetValue(true); menuLC.AddItem(new MenuItem("qhitLC", " Min hit").SetValue(new Slider(2, 1, 10))); menuLC.AddItem(new MenuItem("useeLC", "Use E")).SetValue(true); menuLC.AddItem(new MenuItem("ehitLC", " Min hit").SetValue(new Slider(2, 1, 10))); menuLC.AddItem(new MenuItem("minmana", "Keep X% mana")).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuLC); Menu menuM = new Menu("Misc ", "Msettings"); menuM = DrawHelper.AddMisc(menuM); config.AddSubMenu(menuM); config.AddItem(new MenuItem("UnderratedAIO", "by Soresu v" + Program.version.ToString().Replace(",", "."))); config.AddToMainMenu(); }
private static void Menu() { _config = new Menu("KurisuRiven", "kurisuriven", true); var tsMenu = new Menu("Selector", "selector"); TargetSelector.AddToMenu(tsMenu); _config.AddSubMenu(tsMenu); var owMenu = new Menu("Orbwalker", "Orbwalk"); _orbwalker = new Orbwalking.Orbwalker(owMenu); owMenu.AddItem(new MenuItem("fleemode", "Flee")).SetValue(new KeyBind(65, KeyBindType.Press)); _config.AddSubMenu(owMenu); var drMenu = new Menu("Drawings", "drawings"); drMenu.AddItem(new MenuItem("drawrange", "Draw W range")).SetValue(true); drMenu.AddItem(new MenuItem("drawpassive", "Draw counter")).SetValue(true); drMenu.AddItem(new MenuItem("drawengage", "Draw engage")).SetValue(true); drMenu.AddItem(new MenuItem("drawkill", "Draw killable")).SetValue(true); drMenu.AddItem(new MenuItem("drawtarg", "Draw target circle")).SetValue(true); _config.AddSubMenu(drMenu); var cMenu = new Menu("Combo", "combo"); cMenu.AddItem(new MenuItem("engage", "Engage")) .SetValue(new StringList(new[] { "E->R->Tiamat->W", "E->Tiamat->R->W" })); cMenu.AddItem(new MenuItem("reckless", "Reckless (active)")).SetValue(new KeyBind(88, KeyBindType.Toggle)); cMenu.AddItem(new MenuItem("multir1", "Windslash if enemies hit >=")).SetValue(new Slider(1, 1, 5)); cMenu.AddItem(new MenuItem("multir2", "Windslash if damage % dealt >= ")).SetValue(new Slider(50, 1, 99)); cMenu.AddItem(new MenuItem("autow", "Ki Burst (W) if enemies hit >=")).SetValue(new Slider(2, 2, 5)); _config.AddSubMenu(cMenu); var sMenu = new Menu("Spells", "Spells"); var menuQ = new Menu("Q Menu", "cleave"); menuQ.AddItem(new MenuItem("usecomboq", "Use in combo")).SetValue(true); menuQ.AddItem(new MenuItem("usejungleq", "Use in jungle")).SetValue(true); menuQ.AddItem(new MenuItem("uselaneq", "Use in laneclear")).SetValue(true); menuQ.AddItem(new MenuItem("qint", "Use for interrupt")).SetValue(true); menuQ.AddItem(new MenuItem("prediction", "Predict movement")).SetValue(true); menuQ.AddItem(new MenuItem("keepq", "Keep cleave alive")).SetValue(true); sMenu.AddSubMenu(menuQ); var menuW = new Menu("W Menu", "kiburst"); menuW.AddItem(new MenuItem("usecombow", "Use in combo")).SetValue(true); menuW.AddItem(new MenuItem("usejunglew", "Use in jungle")).SetValue(true); menuW.AddItem(new MenuItem("uselanew", "Use in laneclear")).SetValue(true); menuW.AddItem(new MenuItem("antigap", "Use on gapcloser")).SetValue(true); menuW.AddItem(new MenuItem("wint", "Use for interrupt")).SetValue(true); sMenu.AddSubMenu(menuW); var menuE = new Menu("E Menu", "valor"); menuE.AddItem(new MenuItem("usecomboe", "Use in combo")).SetValue(true); menuE.AddItem(new MenuItem("usejunglee", "Use in jungle")).SetValue(true); menuE.AddItem(new MenuItem("uselanee", "Use in laneclear")).SetValue(true); menuE.AddItem(new MenuItem("vhealth", "Valor health %")).SetValue(new Slider(40, 1)); sMenu.AddSubMenu(menuE); var menuR = new Menu("R Menu", "blade"); menuR.AddItem(new MenuItem("user", "Use in combo")).SetValue(true); menuR.AddItem(new MenuItem("usews", "Use windslash")).SetValue(true); menuR.AddItem(new MenuItem("checkover", "Check overkill")).SetValue(false); sMenu.AddSubMenu(menuR); _config.AddSubMenu(sMenu); var mMenu = new Menu("Misc", "misc"); mMenu.AddItem(new MenuItem("useignote", "Use ignite")).SetValue(true); mMenu.AddItem(new MenuItem("useitems", "Use botrk/youmus")).SetValue(true); mMenu.AddItem(new MenuItem("forceaa", "Laneclear force aa")).SetValue(false); _config.AddSubMenu(mMenu); var dMenu = new Menu("Debug", "debug"); dMenu.AddItem(new MenuItem("debugtrue", "Debug true range")).SetValue(false); dMenu.AddItem(new MenuItem("debugdmg", "Debug combo damage")).SetValue(false); _config.AddSubMenu(dMenu); _config.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.ChampionName != ChampionName) { return; } Q = new Spell(SpellSlot.Q, 825); W = new Spell(SpellSlot.W, 245); E = new Spell(SpellSlot.E, 1095); R = new Spell(SpellSlot.R, 380); Q.SetSkillshot(0f, 130f, 1400f, false, SkillshotType.SkillshotCircle); W.SetSkillshot(0.25f, 240f, float.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 80f, 1700f, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.6f, 375f, float.MaxValue, false, SkillshotType.SkillshotCircle); Config = new Menu(ChampionName, ChampionName, true); TargetSelector.AddToMenu(Config.SubMenu("Target Selector")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); #region Combo Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseRNCombo", "Use R on at least").SetValue(new StringList(new string[] { "1 target", "2 target", "3 target", "4 target", "5 target" }, 0))); Config.SubMenu("Combo").AddItem(new MenuItem("UseRImportant", "-> Or if hero priority >=")).SetValue(new Slider(5, 1, 5)); // 5 for e.g adc's Config.SubMenu("Combo") .AddItem( new MenuItem("ComboActive", "Combo!").SetValue( new KeyBind(Config.Item("Orbwalk").GetValue <KeyBind>().Key, KeyBindType.Press))); #endregion #region Misc Config.SubMenu("Misc").AddItem(new MenuItem("AutoW", "Auto W if it'll hit").SetValue(new StringList(new string[] { "No", ">=1 target", ">=2 target", ">=3 target", ">=4 target", ">=5 target" }, 2))); Config.SubMenu("Misc").AddItem(new MenuItem("AutoR", "Auto R if it'll hit").SetValue(new StringList(new string[] { "No", ">=1 target", ">=2 target", ">=3 target", ">=4 target", ">=5 target" }, 3))); Config.SubMenu("Misc").AddItem(new MenuItem("AutoEInitiators", "Auto E initiators").SetValue(true)); HeroManager.Allies.ForEach( delegate(AIHeroClient hero) { InitiatorsList.ToList().ForEach( delegate(KeyValuePair <string, string> pair) { if (string.Equals(hero.ChampionName, pair.Value, StringComparison.InvariantCultureIgnoreCase)) { Config.SubMenu("Misc") .SubMenu("Initiator's List") .AddItem(new MenuItem(pair.Key, pair.Value + " - " + pair.Key).SetValue(true)); } }); }); Config.SubMenu("Misc").AddItem(new MenuItem("InterruptSpells", "Interrupt spells using R").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("BlockR", "Block R if it won't hit").SetValue(false)); #endregion #region Harass //Harass menu: Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(false)); Config.SubMenu("Harass").AddItem(new MenuItem("HarassManaCheck", "Don't harass if mana < %").SetValue(new Slider(0, 0, 100))); Config.SubMenu("Harass") .AddItem( new MenuItem("HarassActive", "Harass!").SetValue( new KeyBind(Config.Item("Farm").GetValue <KeyBind>().Key, KeyBindType.Press))); Config.SubMenu("Harass") .AddItem( new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); #endregion #region Farming //Farming menu: Config.SubMenu("Farm").AddItem(new MenuItem("EnabledFarm", "Enable! (On/Off: Mouse Scroll)").SetValue(true)); Config.SubMenu("Farm") .AddItem( new MenuItem("UseQFarm", "Use Q").SetValue( new StringList(new[] { "Freeze", "LaneClear", "Both", "No" }, 2))); Config.SubMenu("Farm") .AddItem( new MenuItem("UseWFarm", "Use W").SetValue( new StringList(new[] { "Freeze", "LaneClear", "Both", "No" }, 1))); Config.SubMenu("Farm") .AddItem( new MenuItem("UseEFarm", "Use E").SetValue( new StringList(new[] { "Freeze", "LaneClear", "Both", "No" }, 1))); Config.SubMenu("Farm").AddItem(new MenuItem("LaneClearManaCheck", "Don't LaneClear if mana < %").SetValue(new Slider(0, 0, 100))); Config.SubMenu("Farm") .AddItem( new MenuItem("FreezeActive", "Freeze!").SetValue( new KeyBind(Config.Item("Farm").GetValue <KeyBind>().Key, KeyBindType.Press))); Config.SubMenu("Farm") .AddItem( new MenuItem("LaneClearActive", "LaneClear!").SetValue( new KeyBind(Config.Item("LaneClear").GetValue <KeyBind>().Key, KeyBindType.Press))); //JungleFarm menu: Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm")); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseQJFarm", "Use Q").SetValue(true)); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseWJFarm", "Use W").SetValue(true)); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseEJFarm", "Use E").SetValue(true)); Config.SubMenu("JungleFarm") .AddItem( new MenuItem("JungleFarmActive", "JungleFarm!").SetValue( new KeyBind(Config.Item("LaneClear").GetValue <KeyBind>().Key, KeyBindType.Press))); #endregion #region Drawings //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterR", "Draw damage after combo").SetValue(true); LeagueSharp.Common.Utility.HpBarDamageIndicator.DamageToUnit += hero => GetComboDamage(hero); LeagueSharp.Common.Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { LeagueSharp.Common.Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: Config.SubMenu("Drawings") .AddItem( new MenuItem("QRange", "Q range").SetValue(new Circle(true, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("WRange", "W range").SetValue(new Circle(false, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("QOnBallRange", "Draw ball position").SetValue(new Circle(true, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings") .AddItem(dmgAfterComboItem); Config.SubMenu("Drawings") .AddItem( new MenuItem("HarassActiveTPermashow", "Show harass permashow").SetValue(true)).ValueChanged += (s, ar) => { if (ar.GetNewValue <bool>()) { Config.Item("HarassActiveT").Permashow(true, "HarassActive"); } else { Config.Item("HarassActiveT").Permashow(false); } }; Config.Item("HarassActiveT").Permashow(Config.Item("HarassActiveTPermashow").GetValue <bool>(), "HarassActive"); Config.SubMenu("Drawings") .AddItem( new MenuItem("EnabledFarmPermashow", "Show farm permashow").SetValue(true)).ValueChanged += (s, ar) => { if (ar.GetNewValue <bool>()) { Config.Item("EnabledFarm").Permashow(true, "Enabled Farm"); } else { Config.Item("EnabledFarm").Permashow(false); } }; Config.Item("EnabledFarm").Permashow(Config.Item("EnabledFarmPermashow").GetValue <bool>(), "Enabled Farm"); #endregion Config.AddToMainMenu(); AIHeroClient.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast; Game.OnUpdate += Game_OnGameUpdate; Game.OnWndProc += Game_OnWndProc; Drawing.OnDraw += Drawing_OnDraw; Spellbook.OnCastSpell += Spellbook_OnCastSpell; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; }
public Ahri() { if (ObjectManager.Player.ChampionName != "Ahri") { return; } (_menu = new Menu("AhriSharp", "AhriSharp", true)).AddToMainMenu(); var targetSelectorMenu = new Menu("Target Selector", "TargetSelector"); TargetSelector.AddToMenu(targetSelectorMenu); _menu.AddSubMenu(targetSelectorMenu); _orbwalker = new Orbwalking.Orbwalker(_menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"))); var comboMenu = _menu.AddSubMenu(new Menu("Combo", "Combo")); comboMenu.AddItem(new MenuItem("comboQ", "Use Q").SetValue(true)); comboMenu.AddItem(new MenuItem("comboW", "Use W").SetValue(true)); comboMenu.AddItem(new MenuItem("comboE", "Use E").SetValue(true)); comboMenu.AddItem(new MenuItem("comboR", "Use R").SetValue(true)); comboMenu.AddItem(new MenuItem("comboROnlyUserInitiate", "Use R only if user initiated").SetValue(false)); var harassMenu = _menu.AddSubMenu(new Menu("Harass", "Harass")); harassMenu.AddItem(new MenuItem("harassQ", "Use Q").SetValue(true)); harassMenu.AddItem(new MenuItem("harassE", "Use E").SetValue(true)); harassMenu.AddItem(new MenuItem("harassPercent", "Skills until Mana %").SetValue(new Slider(20))); var farmMenu = _menu.AddSubMenu(new Menu("Lane Clear", "LaneClear")); farmMenu.AddItem(new MenuItem("farmQ", "Use Q").SetValue(true)); farmMenu.AddItem(new MenuItem("farmW", "Use W").SetValue(false)); farmMenu.AddItem(new MenuItem("farmPercent", "Skills until Mana %").SetValue(new Slider(20))); farmMenu.AddItem(new MenuItem("farmStartAtLevel", "Only AA until Level").SetValue(new Slider(8, 1, 18))); var drawMenu = _menu.AddSubMenu(new Menu("Drawing", "Drawing")); drawMenu.AddItem(new MenuItem("drawQ", "Draw Q range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(125, 0, 255, 0)))); drawMenu.AddItem(new MenuItem("drawE", "Draw E range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(125, 254, 13, 113)))); drawMenu.AddItem(new MenuItem("drawW", "Draw W range").SetValue(new Circle(false, System.Drawing.Color.FromArgb(125, 0, 0, 255)))); var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw Combo Damage").SetValue(true); //copied from esk0r Syndra drawMenu.AddItem(dmgAfterComboItem); var miscMenu = _menu.AddSubMenu(new Menu("Misc", "Misc")); miscMenu.AddItem(new MenuItem("autoE", "Auto E on gapclosing targets").SetValue(true)); miscMenu.AddItem(new MenuItem("autoEI", "Auto E to interrupt").SetValue(true)); _spellQ = new Spell(SpellSlot.Q, 880); _spellW = new Spell(SpellSlot.W, 700); _spellE = new Spell(SpellSlot.E, 975); _spellR = new Spell(SpellSlot.R, 1000 - 100); _spellQ.SetSkillshot(0.25f, 50, 1600f, false, SkillshotType.SkillshotLine); _spellW.SetSkillshot(0.70f, _spellW.Range, float.MaxValue, false, SkillshotType.SkillshotCircle); _spellE.SetSkillshot(0.25f, 60, 1550f, true, SkillshotType.SkillshotLine); //LeagueSharp.Common.Utility.HpBar//DamageIndicator.DamageToUnit = GetComboDamage; //LeagueSharp.Common.Utility.HpBar//DamageIndicator.Enabled = dmgAfterComboItem.GetValue<bool>(); AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Drawing.OnEndScene += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Chat.Print("<font color=\"#1eff00\">AhriSharp by Beaving</font> - <font color=\"#00BFFF\">Loaded</font>"); }
/// <summary> /// Creates the menu. /// </summary> /// <param name="rootMenu">The root menu.</param> /// <returns></returns> public void CreateMenu(Menu rootMenu) { this.Menu = new Menu("ElLeona", "ElLeona"); { var orbwalkerMenu = new Menu("Orbwalker", "orbwalker"); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); this.Menu.AddSubMenu(orbwalkerMenu); var targetSelector = new Menu("Target Selector", "TargetSelector"); TargetSelector.AddToMenu(targetSelector); this.Menu.AddSubMenu(targetSelector); var comboMenu = new Menu("Combo", "Combo"); { comboMenu.AddItem(new MenuItem("ElEasy.Leona.Combo.Q", "Use Q").SetValue(true)); comboMenu.AddItem(new MenuItem("ElEasy.Leona.Combo.W", "Use W").SetValue(true)); comboMenu.AddItem(new MenuItem("ElEasy.Leona.Combo.E", "Use E").SetValue(true)); comboMenu.AddItem(new MenuItem("ElEasy.Leona.Combo.R", "Use R").SetValue(false)); comboMenu.AddItem( new MenuItem("ElEasy.Leona.Combo.Count.Enemies", "Enemies in range for R").SetValue( new Slider(2, 1, 5))); comboMenu.AddItem( new MenuItem("ElEasy.Leona.Hitchance", "Hitchance").SetValue( new StringList(new[] { "Low", "Medium", "High", "Very High" }, 3))); comboMenu.AddItem(new MenuItem("ElEasy.Leona.Combo.Ignite", "Use Ignite").SetValue(true)); } this.Menu.AddSubMenu(comboMenu); var harassMenu = new Menu("Harass", "Harass"); { harassMenu.AddItem(new MenuItem("ElEasy.Leona.Harass.Q", "Use Q").SetValue(true)); harassMenu.AddItem(new MenuItem("ElEasy.Leona.Harass.E", "Use E").SetValue(true)); harassMenu.AddItem( new MenuItem("ElEasy.Leona.Harass.Player.Mana", "Minimum Mana").SetValue(new Slider(55))); } this.Menu.AddSubMenu(harassMenu); var settingsMenu = new Menu("Settings", "Settings"); { settingsMenu.AddItem( new MenuItem("ElEasy.Leona.Interrupt.Activated", "Interrupt spells").SetValue(true)); settingsMenu.AddItem( new MenuItem("ElEasy.Leona.GapCloser.Activated", "Anti gapcloser").SetValue(true)); } this.Menu.AddSubMenu(settingsMenu); var miscellaneousMenu = new Menu("Miscellaneous", "Miscellaneous"); { miscellaneousMenu.AddItem(new MenuItem("ElEasy.Leona.Draw.off", "Turn drawings off").SetValue(true)); miscellaneousMenu.AddItem(new MenuItem("ElEasy.Leona.Draw.Q", "Draw Q").SetValue(new Circle())); miscellaneousMenu.AddItem(new MenuItem("ElEasy.Leona.Draw.W", "Draw W").SetValue(new Circle())); miscellaneousMenu.AddItem(new MenuItem("ElEasy.Leona.Draw.E", "Draw E").SetValue(new Circle())); miscellaneousMenu.AddItem(new MenuItem("ElEasy.Leona.Draw.R", "Draw R").SetValue(new Circle())); } this.Menu.AddSubMenu(miscellaneousMenu); } rootMenu.AddSubMenu(this.Menu); }
private static void Game_OnGameLoad(EventArgs args) { if (vPlayer.BaseSkinName != "Irelia") { return; } Q = new Spell(SpellSlot.Q, 650f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 325); R = new Spell(SpellSlot.R, 1000f); Q.SetSkillshot(0.25f, 75f, 1500f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.15f, 75f, 1500f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(0.15f, 80f, 1500f, false, SkillshotType.SkillshotLine); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = vPlayer.GetSpellSlot("SummonerDot"); //Create the menu Config = new Menu("xQx | Irelia", "Irelia", true); var TargetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); new AssassinManager(); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Orbwalker.SetAttack(true); var menuUseItems = new Menu("Use Items", "menuUseItems"); Config.AddSubMenu(menuUseItems); // Extras -> Use Items -> Targeted Items MenuTargetedItems = new Menu("Targeted Items", "menuTargetItems"); MenuTargetedItems.AddItem(new MenuItem("item3153", "Blade of the Ruined King").SetValue(true)); MenuTargetedItems.AddItem(new MenuItem("item3143", "Randuin's Omen").SetValue(true)); MenuTargetedItems.AddItem(new MenuItem("item3144", "Bilgewater Cutlass").SetValue(true)); MenuTargetedItems.AddItem(new MenuItem("item3146", "Hextech Gunblade").SetValue(true)); MenuTargetedItems.AddItem(new MenuItem("item3184", "Entropy ").SetValue(true)); menuUseItems.AddSubMenu(MenuTargetedItems); // Extras -> Use Items -> AOE Items MenuNonTargetedItems = new Menu("AOE Items", "menuNonTargetedItems"); MenuNonTargetedItems.AddItem(new MenuItem("item3180", "Odyn's Veil").SetValue(true)); MenuNonTargetedItems.AddItem(new MenuItem("item3131", "Sword of the Divine").SetValue(true)); MenuNonTargetedItems.AddItem(new MenuItem("item3074", "Ravenous Hydra").SetValue(true)); MenuNonTargetedItems.AddItem(new MenuItem("item3077", "Tiamat ").SetValue(true)); MenuNonTargetedItems.AddItem(new MenuItem("item3142", "Youmuu's Ghostblade").SetValue(true)); menuUseItems.AddSubMenu(MenuNonTargetedItems); // Combo Config.AddSubMenu(new Menu("Combo", "Combo")); Menu comboUseQ = new Menu("Use Q", "comboUseQ"); Config.SubMenu("Combo").AddSubMenu(comboUseQ); comboUseQ.AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); comboUseQ.AddItem(new MenuItem("UseQComboDontUnderTurret", "Don't Under Turret Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); Config.SubMenu("Combo") .AddItem( new MenuItem("ComboActive", "Combo!").SetValue( new KeyBind(Config.Item("Orbwalk").GetValue <KeyBind>().Key, KeyBindType.Press))); // Harass Config.AddSubMenu(new Menu("Harass", "Harass")); Menu harassUseQ = new Menu("Use Q", "harassUseQ"); Config.SubMenu("Harass").AddSubMenu(harassUseQ); harassUseQ.AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); harassUseQ.AddItem(new MenuItem("UseQHarassDontUnderTurret", "Don't Under Turret Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true)); Config.SubMenu("Harass") .AddItem( new MenuItem("HarassMode", "Harass Mode: ").SetValue(new StringList(new[] { "Q", "E", "Q+E" }))); Config.SubMenu("Harass") .AddItem(new MenuItem("HarassMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0))); Config.SubMenu("Harass") .AddItem( new MenuItem("HarassActive", "Harass").SetValue( new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); // Lane Clear Config.AddSubMenu(new Menu("LaneClear", "LaneClear")); Menu laneClearUseQ = new Menu("Use Q", "laneClearUseQ"); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false)); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseWLaneClear", "Use W").SetValue(false)); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseELaneClear", "Use E").SetValue(false)); Config.SubMenu("LaneClear") .AddItem(new MenuItem("QFarmDelay", "Q Farm Delay (Default: 300)").SetValue(new Slider(200, 500, 0))); Config.SubMenu("LaneClear") .AddItem(new MenuItem("LaneClearMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0))); Config.SubMenu("LaneClear") .AddItem( new MenuItem("LaneClearActive", "LaneClear").SetValue( new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); // Jungling Farm Config.AddSubMenu(new Menu("JungleFarm", "JungleFarm")); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseQJungleFarm", "Use Q").SetValue(true)); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseWJungleFarm", "Use W").SetValue(false)); Config.SubMenu("JungleFarm").AddItem(new MenuItem("UseEJungleFarm", "Use E").SetValue(false)); Config.SubMenu("JungleFarm") .AddItem(new MenuItem("JungleFarmMana", "Min. Mana Percent: ").SetValue(new Slider(50, 100, 0))); Config.SubMenu("JungleFarm") .AddItem( new MenuItem("JungleFarmActive", "JungleFarm").SetValue( new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); // Extras // Config.AddSubMenu(new Menu("Extras", "Extras")); // Config.SubMenu("Extras").AddItem(new MenuItem("StopUlties", "Interrupt Ulti With E").SetValue(true)); // Config.SubMenu("Extras").AddItem(new MenuItem("ForceInterruptUlties", "Force Interrupt Ulti With Q+E").SetValue(true)); // Extras -> Use Items MenuExtras = new Menu("Extras", "Extras"); Config.AddSubMenu(MenuExtras); MenuExtras.AddItem(new MenuItem("InterruptSpells", "InterruptSpells").SetValue(true)); MenuExtras.AddItem(new MenuItem("StopUlties", "Interrupt Ulti With E").SetValue(true)); MenuExtras.AddItem(new MenuItem("ForceInterruptUlties", "Force Interrupt Ulti With Q+E").SetValue(true)); // Drawing Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings") .AddItem( new MenuItem("QRange", "Q range").SetValue( new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("ERange", "E range").SetValue( new Circle(false, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("RRange", "R range").SetValue( new Circle(false, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("drawQMinionKill", "Q Minion Kill").SetValue( new Circle(true, System.Drawing.Color.GreenYellow))); Config.SubMenu("Drawings") .AddItem( new MenuItem("drawMinionLastHit", "Minion Last Hit").SetValue( new Circle(true, System.Drawing.Color.GreenYellow))); Config.SubMenu("Drawings") .AddItem( new MenuItem("drawMinionNearKill", "Minion Near Kill").SetValue( new Circle(true, System.Drawing.Color.Gray))); var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Damage After Combo").SetValue(true); Config.SubMenu("Drawings").AddItem(dmgAfterComboItem); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; new PotionManager(); Config.AddToMainMenu(); Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; QUsedTime = Game.Time; Game.PrintChat( String.Format( "<font color='#70DBDB'>xQx:</font> <font color='#FFFFFF'>{0} Loaded!</font>", ChampionName)); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.BaseSkinName != ChampionName) { return; } Q = new Spell(SpellSlot.Q, float.MaxValue); W = new Spell(SpellSlot.W, 1500f); E = new Spell(SpellSlot.E, 900f); R = new Spell(SpellSlot.R, 2500f); R1 = new Spell(SpellSlot.R, 2500f); W.SetSkillshot(0.6f, 75f, 3300f, true, SkillshotType.SkillshotLine); E.SetSkillshot(1.2f, 1f, 1750f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine); R1.SetSkillshot(0.7f, 200f, 1500f, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); SpellList.Add(R1); Config = new Menu(ChampionName, ChampionName, true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Config.AddToMainMenu(); #region E foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { Config.SubMenu("W Config").SubMenu("Haras").AddItem(new MenuItem("haras" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(true)); } Config.SubMenu("W Config").AddItem(new MenuItem("humanzier", "Humanizer W (0.5 delay)").SetValue(false)); #endregion #region E Config.SubMenu("E Config").AddItem(new MenuItem("autoE", "Auto E").SetValue(true)); Config.SubMenu("E Config").AddItem(new MenuItem("comboE", "Auto E in Combo BETA").SetValue(true)); Config.SubMenu("E Config").AddItem(new MenuItem("AGC", "AntiGapcloserE").SetValue(true)); Config.SubMenu("E Config").AddItem(new MenuItem("opsE", "OnProcessSpellCastE").SetValue(true)); Config.SubMenu("E Config").AddItem(new MenuItem("telE", "Auto E teleport").SetValue(true)); #endregion #region R Config.SubMenu("R Config").AddItem(new MenuItem("autoR", "Auto R").SetValue(true)); Config.SubMenu("R Config").SubMenu("R Jungle stealer").AddItem(new MenuItem("Rjungle", "R Jungle stealer").SetValue(true)); Config.SubMenu("R Config").SubMenu("R Jungle stealer").AddItem(new MenuItem("Rdragon", "Dragon").SetValue(true)); Config.SubMenu("R Config").SubMenu("R Jungle stealer").AddItem(new MenuItem("Rbaron", "Baron").SetValue(true)); Config.SubMenu("R Config").AddItem(new MenuItem("hitchanceR", "VeryHighHitChanceR").SetValue(true)); Config.SubMenu("R Config").AddItem(new MenuItem("useR", "Semi-manual cast R key").SetValue(new KeyBind('t', KeyBindType.Press))); //32 == space #endregion Config.SubMenu("Draw").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("OrbDraw", "Draw AAcirlce OKTW© style").SetValue(false)); Config.SubMenu("Draw").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("1", "pls disable Orbwalking > Drawing > AAcirlce")); Config.SubMenu("Draw").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("2", "My HP: 0-30 red, 30-60 orange,60-100 green")); Config.SubMenu("Draw").AddItem(new MenuItem("noti", "Show notification").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("wRange", "W range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("eRange", "E range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("rRange", "R range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw only ready spells").SetValue(true)); Config.SubMenu("Draw").AddItem(new MenuItem("orb", "Orbwalker target OKTW© style").SetValue(true)); Config.SubMenu("Draw").AddItem(new MenuItem("semi", "Semi-manual R target").SetValue(false)); Config.AddItem(new MenuItem("Hit", "Hit Chance SkillShot").SetValue(new Slider(3, 4, 0))); Config.AddItem(new MenuItem("farmQ", "Q farm").SetValue(true)); Config.AddItem(new MenuItem("pots", "Use pots").SetValue(true)); Config.AddItem(new MenuItem("debug", "Debug").SetValue(false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnGameUpdate; Orbwalking.BeforeAttack += BeforeAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat("<font color=\"#ff00d8\">J</font>inx full automatic AI ver 3.1 <font color=\"#000000\">by sebastiank1</font> - <font color=\"#00BFFF\">Loaded</font>"); }
private static void Initialize() { _menu = new Menu("ElRyze", "menu", true); var orbwalkerMenu = new Menu("Orbwalker", "orbwalker"); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); _menu.AddSubMenu(orbwalkerMenu); var targetSelector = new Menu("Target Selector", "TargetSelector"); TargetSelector.AddToMenu(targetSelector); _menu.AddSubMenu(targetSelector); var cMenu = new Menu("Combo", "Combo"); cMenu.AddItem(new MenuItem("ElEasy.Ryze.Combo.Q", "Use Q").SetValue(true)); cMenu.AddItem(new MenuItem("ElEasy.Ryze.Combo.W", "Use W").SetValue(true)); cMenu.AddItem(new MenuItem("ElEasy.Ryze.Combo.E", "Use E").SetValue(true)); cMenu.AddItem(new MenuItem("ElEasy.Ryze.Combo.R", "Use R").SetValue(true)); cMenu.AddItem(new MenuItem("ElEasy.Ryze.Combo.R.HP", "Use R when HP").SetValue(new Slider(100))); cMenu.AddItem(new MenuItem("ElEasy.Ryze.Combo.Ignite", "Use Ignite").SetValue(true)); _menu.AddSubMenu(cMenu); var hMenu = new Menu("Harass", "Harass"); hMenu.AddItem(new MenuItem("ElEasy.Ryze.Harass.Q", "Use Q").SetValue(true)); hMenu.AddItem(new MenuItem("ElEasy.Ryze.Harass.W", "Use W").SetValue(true)); hMenu.AddItem(new MenuItem("ElEasy.Ryze.Harass.E", "Use E").SetValue(true)); hMenu.AddItem(new MenuItem("ElEasy.Ryze.Harass.Player.Mana", "Minimum Mana").SetValue(new Slider(55))); hMenu.SubMenu("Harass") .SubMenu("AutoHarass settings") .AddItem( new MenuItem("ElEasy.Ryze.AutoHarass.Activated", "Auto harass", true).SetValue( new KeyBind("L".ToCharArray()[0], KeyBindType.Toggle))); hMenu.SubMenu("Harass") .SubMenu("AutoHarass settings") .AddItem(new MenuItem("ElEasy.Ryze.AutoHarass.Q", "Use Q").SetValue(true)); hMenu.SubMenu("Harass") .SubMenu("AutoHarass settings") .AddItem(new MenuItem("ElEasy.Ryze.AutoHarass.W", "Use W").SetValue(true)); hMenu.SubMenu("Harass") .SubMenu("AutoHarass settings") .AddItem(new MenuItem("ElEasy.Ryze.AutoHarass.E", "Use E").SetValue(true)); hMenu.SubMenu("Harass") .SubMenu("AutoHarass settings") .AddItem(new MenuItem("ElEasy.Ryze.AutoHarass.Mana", "Minimum mana").SetValue(new Slider(55))); _menu.AddSubMenu(hMenu); var clearMenu = new Menu("Clear", "Clear"); clearMenu.SubMenu("Lasthit").AddItem(new MenuItem("ElEasy.Ryze.Lasthit.Q", "Use Q").SetValue(true)); clearMenu.SubMenu("Lasthit").AddItem(new MenuItem("ElEasy.Ryze.Lasthit.W", "Use E").SetValue(true)); clearMenu.SubMenu("Lasthit").AddItem(new MenuItem("ElEasy.Ryze.Lasthit.E", "Use W").SetValue(true)); clearMenu.SubMenu("Laneclear").AddItem(new MenuItem("ElEasy.Ryze.LaneClear.Q", "Use Q").SetValue(true)); clearMenu.SubMenu("Laneclear").AddItem(new MenuItem("ElEasy.Ryze.LaneClear.W", "Use W").SetValue(true)); clearMenu.SubMenu("Laneclear").AddItem(new MenuItem("ElEasy.Ryze.LaneClear.E", "Use E").SetValue(true)); clearMenu.SubMenu("Jungleclear").AddItem(new MenuItem("ElEasy.Ryze.JungleClear.Q", "Use Q").SetValue(true)); clearMenu.SubMenu("Jungleclear").AddItem(new MenuItem("ElEasy.Ryze.JungleClear.W", "Use W").SetValue(true)); clearMenu.SubMenu("Jungleclear").AddItem(new MenuItem("ElEasy.Ryze.JungleClear.E", "Use E").SetValue(true)); clearMenu.AddItem(new MenuItem("ElEasy.Ryze.Clear.Player.Mana", "Minimum Mana for clear").SetValue(new Slider(55))); _menu.AddSubMenu(clearMenu); var miscMenu = new Menu("Misc", "Misc"); miscMenu.AddItem(new MenuItem("ElEasy.Ryze.Draw.off", "Turn drawings off").SetValue(false)); miscMenu.AddItem(new MenuItem("ElEasy.Ryze.Draw.Q", "Draw Q").SetValue(new Circle())); miscMenu.AddItem(new MenuItem("ElEasy.Ryze.Draw.W", "Draw W").SetValue(new Circle())); miscMenu.AddItem(new MenuItem("ElEasy.Ryze.Draw.E", "Draw E").SetValue(new Circle())); var dmgAfterE = new MenuItem("ElEasy.Ryze.DrawComboDamage", "Draw combo damage").SetValue(true); var drawFill = new MenuItem("ElEasy.Ryze.DrawColour", "Fill colour", true).SetValue(new Circle(true, Color.FromArgb(0xcc, 0xcc, 0x0, 0x0))); miscMenu.AddItem(drawFill); miscMenu.AddItem(dmgAfterE); DrawDamage.DamageToUnit = GetComboDamage; DrawDamage.Enabled = dmgAfterE.GetValue <bool>(); DrawDamage.Fill = drawFill.GetValue <Circle>().Active; DrawDamage.FillColor = drawFill.GetValue <Circle>().Color; dmgAfterE.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DrawDamage.Enabled = eventArgs.GetNewValue <bool>(); }; drawFill.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DrawDamage.Fill = eventArgs.GetNewValue <Circle>().Active; DrawDamage.FillColor = eventArgs.GetNewValue <Circle>().Color; }; miscMenu.AddItem(new MenuItem("ElEasy.Ryze.GapCloser.Activated", "Anti gapcloser").SetValue(true)); miscMenu.AddItem(new MenuItem("ElEasy.Ryze.AA", "Don't use AA in combo").SetValue(false)); _menu.AddSubMenu(miscMenu); //Here comes the moneyyy, money, money, moneyyyy var credits = _menu.AddSubMenu(new Menu("Credits", "jQuery")); credits.AddItem(new MenuItem("ElEasy.Paypal", "if you would like to donate via paypal:")); credits.AddItem(new MenuItem("ElEasy.Email", "*****@*****.**")); _menu.AddItem(new MenuItem("422442fsaafs4242f", "")); _menu.AddItem(new MenuItem("fsasfafsfsafsa", "Made By jQuery")); _menu.AddToMainMenu(); }
private static void InitMenu() { config = new Menu("Sejuani", "Sejuani", true); // Target Selector Menu menuTS = new Menu("Selector", "tselect"); TargetSelector.AddToMenu(menuTS); config.AddSubMenu(menuTS); // Orbwalker Menu menuOrb = new Menu("Orbwalker", "orbwalker"); orbwalker = new Orbwalking.Orbwalker(menuOrb); config.AddSubMenu(menuOrb); // Draw settings Menu menuD = new Menu("Drawings ", "dsettings"); menuD.AddItem(new MenuItem("drawaa", "Draw AA range")).SetValue(new Circle(true, Color.FromArgb(150, 150, 177, 208))); menuD.AddItem(new MenuItem("drawqq", "Draw Q range")).SetValue(new Circle(true, Color.FromArgb(150, 150, 177, 208))); menuD.AddItem(new MenuItem("drawww", "Draw W range")).SetValue(new Circle(true, Color.FromArgb(150, 150, 177, 208))); menuD.AddItem(new MenuItem("drawee", "Draw E range")).SetValue(new Circle(true, Color.FromArgb(150, 150, 177, 208))); menuD.AddItem(new MenuItem("drawrr", "Draw R range")).SetValue(new Circle(true, Color.FromArgb(150, 150, 177, 208))); menuD.AddItem(new MenuItem("drawcombo", "Draw combo damage")).SetValue(true); config.AddSubMenu(menuD); // Combo Settings Menu menuC = new Menu("Combo ", "csettings"); menuC.AddItem(new MenuItem("useq", "Use Q")).SetValue(true); menuC.AddItem(new MenuItem("usew", "Use W")).SetValue(true); menuC.AddItem(new MenuItem("useemin", "Use E min")).SetValue(new Slider(1, 1, 5)); menuC.AddItem(new MenuItem("useEminr", "E minimum range")).SetValue(new Slider(250, 0, 900)); menuC.AddItem(new MenuItem("useRmin", "R only if more than")).SetValue(new Slider(1, 0, 5)); menuC.AddItem(new MenuItem("useRminr", "Ulti minimum range")).SetValue(new Slider(0, 0, 350)); menuC.AddItem(new MenuItem("manualR", "Cast R asap")).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)); menuC.AddItem(new MenuItem("useItems", "Use items")).SetValue(true); menuC.AddItem(new MenuItem("useIgnite", "Use Ignite")).SetValue(true); config.AddSubMenu(menuC); // Clear/Jungle Menu menuJ = new Menu("Clear ", "jsettings"); menuJ.AddItem(new MenuItem("useqC", "Use Q")).SetValue(true); menuJ.AddItem(new MenuItem("usewC", "Use W")).SetValue(true); menuJ.AddItem(new MenuItem("useeCmin", "Use E min")).SetValue(new Slider(1, 1, 5)); menuJ.AddItem(new MenuItem("useiC", "Use Items")).SetValue(true); menuJ.AddItem(new MenuItem("minmana", "Keep X% mana")).SetValue(new Slider(1, 1, 100)); menuJ.AddItem(new MenuItem("useSmite", "Use smite")).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuJ); // Misc Settings Menu menuU = new Menu("Misc ", "usettings"); menuU.AddItem(new MenuItem("useqgc", "Use Q to anti gap closer")).SetValue(false); menuU.AddItem(new MenuItem("useqint", "Use Q to interrupt")).SetValue(true); menuU.AddItem(new MenuItem("usergc", "Use R to anti gap closer")).SetValue(false); menuU.AddItem(new MenuItem("userint", "Use R to interrupt")).SetValue(false); config.AddSubMenu(menuU); var sulti = new Menu("Don't ult on ", "dontult"); foreach (var hero in ObjectManager.Get <Obj_AI_Hero>().Where(hero => hero.IsEnemy)) { sulti.AddItem(new MenuItem("ult" + hero.SkinName, hero.SkinName)).SetValue(false); } config.AddSubMenu(sulti); config.AddItem(new MenuItem("packets", "Use Packets")).SetValue(false); config.AddToMainMenu(); }
static void Game_OnGameLoad() { Player = ObjectManager.Player; if (Player.BaseSkinName != ChampionName) { return; } //spell Q = new Spell(SpellSlot.Q, 1130); Q.SetSkillshot(0.25f, 35, 1700, true, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 5200); E = new Spell(SpellSlot.E, 1000); R = new Spell(SpellSlot.R, 1200); //menu Config = new Menu(ChampionName, ChampionName, true); //ts var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //orbwalk var orbwalkermenu = new Menu("Orbwalker", "Orbwalker"); Orbwalker = new Orbwalking.Orbwalker(orbwalkermenu); Config.AddSubMenu(orbwalkermenu); //combomenu var combomenu = new Menu("Combo", "Combo"); { combomenu.AddItem(new MenuItem("cq", "Use Q").SetValue(true)); combomenu.AddItem(new MenuItem("ce", "Use E").SetValue(true)); combomenu.AddItem(new MenuItem("Ekillminion", "Use E if kill minion").SetValue(true)); } Config.AddSubMenu(combomenu); //Harrassmenu var harrassmenu = new Menu("Harrass", "Harrass"); { harrassmenu.AddItem(new MenuItem("hq", "UseQ").SetValue(true)); harrassmenu.AddItem(new MenuItem("harrasmana", "Harrass if Mana >").SetValue(new Slider(60, 100, 0))); } Config.AddSubMenu(harrassmenu); var farmmenu = new Menu("Farm", "Farm"); { farmmenu.AddItem(new MenuItem("fe", "Use E LaneClear").SetValue(true)); farmmenu.AddItem(new MenuItem("elaneclear", "E if kill x minions ").SetValue(new Slider(2, 5, 1))); farmmenu.AddItem(new MenuItem("fmana", "mana> ").SetValue(new Slider(50, 100, 1))); farmmenu.AddItem(new MenuItem("jq", "UseQJungle").SetValue(false)); farmmenu.AddItem(new MenuItem("je", "UseEJungle").SetValue(true)); } Config.AddSubMenu(farmmenu); //Miscmenu var miscmenu = new Menu("Misc", "Misc"); { miscmenu.AddItem(new MenuItem("rsave", "Use R to save soul").SetValue(true)); miscmenu.AddItem(new MenuItem("allyhp", "If Ally HP under ").SetValue(new Slider(10, 100, 5))); miscmenu.AddItem(new MenuItem("mobsteal", "Steal Mods").SetValue(true)); miscmenu.AddItem(new MenuItem("edamereduce", "E dame ruduce").SetValue(new Slider(0, 100, 0))); miscmenu.AddItem(new MenuItem("lasthitassist", "Lasthit helper").SetValue(true)); miscmenu.AddItem(new MenuItem("Elowhp", "Auto E when low hp").SetValue(true)); miscmenu.AddItem(new MenuItem("Elowhpslider", "Auto E when hp <").SetValue(new Slider(5, 20, 0))); } MenuItem drawEDamageMenu = new MenuItem("Draw_EDamage", "Draw E Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw E Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); miscmenu.AddItem(drawEDamageMenu); miscmenu.AddItem(drawFill); Config.AddSubMenu(miscmenu); var ksmenu = new Menu("KillSteal", "KillSteal"); { ksmenu.AddItem(new MenuItem("ks", "KillSteal").SetValue(true)); ksmenu.AddItem(new MenuItem("qks", "Use Q").SetValue(true)); ksmenu.AddItem(new MenuItem("eks", "Use E").SetValue(true)); } Config.AddItem(new MenuItem("debug", "Debug").SetValue(false)); Config.AddSubMenu(ksmenu); Config.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; Chat.Print("DonguKalista by dongu54321 Loaded"); Orbwalking.OnNonKillableMinion += Orbwalking_OnNonKillableMinion; AIHeroClient.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast; LeagueSharp.Common.Utility.HpBarDamageIndicator.DamageToUnit = GetEDamage; LeagueSharp.Common.Utility.HpBarDamageIndicator.Enabled = true; DamageIndicator.DamageToUnit = GetEDamage; DamageIndicator.Enabled = drawEDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawEDamageMenu.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; drawFill.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DamageIndicator.Fill = eventArgs.GetNewValue <Circle>().Active; DamageIndicator.FillColor = eventArgs.GetNewValue <Circle>().Color; }; }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != ChampionName) { return; } #region Spells Q = new Spell(SpellSlot.Q, 1000f); Q.SetSkillshot(0.7f, 55f, float.MaxValue, true, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 610f); W.SetTargetted(0.103f, 550f); E = new Spell(SpellSlot.E, 610f); E.SetTargetted(.5f, 550f); R = new Spell(SpellSlot.R); R.SetSkillshot(2.5f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle); #endregion IgniteSlot = Player.GetSpellSlot("summonerdot"); TearOfGod = new Items.Item(3070, 0); Manamune = new Items.Item(3004, 0); Archangel = new Items.Item(3003, 0); #region Menu Menu = new Menu("SurvivorRyze", "SurvivorRyze", true).SetFontStyle(System.Drawing.FontStyle.Bold, SharpDX.Color.AliceBlue); Menu OrbwalkerMenu = Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); Orbwalker = new SebbyLib.Orbwalking.Orbwalker(OrbwalkerMenu); Menu TargetSelectorMenu = Menu.AddSubMenu(new Menu("Target Selector", "TargetSelector")); TargetSelector.AddToMenu(TargetSelectorMenu); Menu ComboMenu = Menu.AddSubMenu(new Menu("Combo", "Combo")); ComboMenu.AddItem(new MenuItem("ComboMode", "Combo Mode:").SetValue(new StringList(new[] { "Burst", "Survivor Mode (Shield)" })).SetTooltip("Survivor Mode - Will try to stack Shield 99% of the time.")); ComboMenu.AddItem(new MenuItem("CUseQ", "Cast Q").SetValue(true)); ComboMenu.AddItem(new MenuItem("CUseW", "Cast W").SetValue(true)); ComboMenu.AddItem(new MenuItem("CUseE", "Cast E").SetValue(true)); ComboMenu.AddItem(new MenuItem("CBlockAA", "Block AA in Combo Mode").SetValue(true)); ComboMenu.AddItem(new MenuItem("Combo2TimesMana", "Champion needs to have mana for atleast 2 times (Q/W/E)?").SetValue(false).SetTooltip("If it's set to 'false' it'll need atleast mana for Q/W/E [1x] Post in thread if needs a change")); ComboMenu.AddItem(new MenuItem("CUseR", "Ultimate (R) in Ultimate Menu")); ComboMenu.AddItem(new MenuItem("CUseIgnite", "Use Ignite (Smart)").SetValue(true)); Menu HarassMenu = Menu.AddSubMenu(new Menu("Harass", "Harass")); HarassMenu.AddItem(new MenuItem("HarassQ", "Use Q").SetValue(true)); HarassMenu.AddItem(new MenuItem("HarassW", "Use W").SetValue(false)); HarassMenu.AddItem(new MenuItem("HarassE", "Use E").SetValue(false)); HarassMenu.AddItem(new MenuItem("HarassManaManager", "Mana Manager (%)").SetValue(new Slider(30, 1, 100))); Menu LaneClearMenu = Menu.AddSubMenu(new Menu("Lane Clear", "LaneClear")); LaneClearMenu.AddItem(new MenuItem("UseQLC", "Use Q to LaneClear").SetValue(true)); LaneClearMenu.AddItem(new MenuItem("UseELC", "Use E to LaneClear").SetValue(true)); LaneClearMenu.AddItem(new MenuItem("LaneClearManaManager", "Mana Manager (%)").SetValue(new Slider(30, 1, 100))); Menu LastHitMenu = Menu.AddSubMenu(new Menu("Last Hit", "LastHit")); LastHitMenu.AddItem(new MenuItem("UseQLH", "Use Q to LastHit").SetValue(true)); LastHitMenu.AddItem(new MenuItem("UseELH", "Use E to LastHit").SetValue(true)); LastHitMenu.AddItem(new MenuItem("LaneHitManaManager", "Mana Manager (%)").SetValue(new Slider(30, 1, 100))); Menu ItemsMenu = Menu.AddSubMenu(new Menu("Items Menu", "ItemsMenu")); ItemsMenu.AddItem(new MenuItem("UsePotions", "Use Potions").SetValue(true)); ItemsMenu.AddItem(new MenuItem("UseSmartPotion", "Use Smart Potion Logic").SetValue(true).SetTooltip("If Enabled, it'll check if enemy's around so it doesn't waste potions.")); ItemsMenu.AddItem(new MenuItem("UsePotionsAtHPPercent", "Use Potions at HP Percent 'X'").SetValue(new Slider(30, 0, 100))); ItemsMenu.AddItem(new MenuItem("UseSeraph", "Use [Seraph's Embrace]?").SetValue(true)); ItemsMenu.AddItem(new MenuItem("Hextech", "Use [Hextech Gunblade]?").SetValue(true)); ItemsMenu.AddItem(new MenuItem("Protobelt", "Use [Hextech Protobelt-01]?").SetValue(true)); ItemsMenu.AddItem(new MenuItem("GLP800", "Use [Hextech GLP-800]?").SetValue(true)); ItemsMenu.AddItem(new MenuItem("StackTear", "Stack Tear/Manamune/Archangel in Fountain?").SetValue(true).SetTooltip("Stack it in Fountain?")); ItemsMenu.AddItem(new MenuItem("StackTearNF", "Stack Tear/Manamune/Archangel if You've Blue Buff?").SetValue(false)); Menu.Item("UseSmartPotion").ValueChanged += (sender, eventArgs) => { if (!Menu.Item("UsePotions").GetValue <bool>() && eventArgs.GetNewValue <bool>()) { Menu.Item("UsePotions").SetValue(true); } }; Menu SkinMenu = Menu.AddSubMenu(new Menu("Skins Menu", "SkinMenu")); SkinMenu.AddItem(new MenuItem("SkinID", "Skin ID")).SetValue(new Slider(10, 0, 10)); var UseSkin = SkinMenu.AddItem(new MenuItem("UseSkin", "Enabled")).SetValue(true); UseSkin.ValueChanged += (sender, eventArgs) => { if (!eventArgs.GetNewValue <bool>()) { ObjectManager.Player.SetSkin(ObjectManager.Player.CharData.BaseSkinName, ObjectManager.Player.BaseSkinId); } }; Menu HitChanceMenu = Menu.AddSubMenu(new Menu("HitChance Menu", "HitChance")); HitChanceMenu.AddItem(new MenuItem("HitChance", "Hit Chance").SetValue(new StringList(new[] { "Medium", "High", "Very High" }, 1))); Menu UltimateMenu = Menu.AddSubMenu(new Menu("Ultimate Menu", "UltMenu")); //UltimateMenu.AddItem(new MenuItem("DontREnemyCount", "Don't R If Enemy In 'X' Range").SetValue(new Slider(1000, 0, 2000))); //UltimateMenu.AddItem(new MenuItem("DontRIfAlly", "Don't R if Ally is Near Target 'X' Range").SetValue(new Slider(700, 0, 2000))); //UltimateMenu.AddItem(new MenuItem("DontRUnderTurret", "Don't use R if enemy is Under Turret").SetValue(true)); UltimateMenu.AddItem(new MenuItem("UseR", "Use R Automatically (Beta)").SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press)).SetTooltip("It'll Use the Ultimate if there's Ally turret nearby to teleport you to it")); //UltimateMenu.AddItem(new MenuItem("EnemiesAroundTarget", "Dont R If 'X' Enemies are around the Target").SetValue(new Slider(3, 0, 5))); Menu MiscMenu = Menu.AddSubMenu(new Menu("Misc Menu", "MiscMenu")); MiscMenu.AddItem(new MenuItem("KSQ", "Use Q to KS").SetValue(true)); MiscMenu.AddItem(new MenuItem("KSW", "Use W to KS").SetValue(true)); MiscMenu.AddItem(new MenuItem("KSE", "Use E to KS").SetValue(true)); MiscMenu.AddItem(new MenuItem("InterruptWithW", "Use W to Interrupt Channeling Spells").SetValue(true)); MiscMenu.AddItem(new MenuItem("WGapCloser", "Use W on Enemy GapCloser (Ex. Irelia's Q)").SetValue(true)); MiscMenu.AddItem(new MenuItem("ChaseWithR", "Use R to Chase (Being Added)")); MiscMenu.AddItem(new MenuItem("EscapeWithR", "Use R to Escape (Ultimate Menu)")); Menu AutoLevelerMenu = Menu.AddSubMenu(new Menu("AutoLeveler Menu", "AutoLevelerMenu")); AutoLevelerMenu.AddItem(new MenuItem("AutoLevelUp", "AutoLevel Up Spells?").SetValue(true)); AutoLevelerMenu.AddItem(new MenuItem("AutoLevelUp1", "First: ").SetValue(new StringList(new[] { "Q", "W", "E", "R" }, 3))); AutoLevelerMenu.AddItem(new MenuItem("AutoLevelUp2", "Second: ").SetValue(new StringList(new[] { "Q", "W", "E", "R" }, 0))); AutoLevelerMenu.AddItem(new MenuItem("AutoLevelUp3", "Third: ").SetValue(new StringList(new[] { "Q", "W", "E", "R" }, 2))); AutoLevelerMenu.AddItem(new MenuItem("AutoLevelUp4", "Fourth: ").SetValue(new StringList(new[] { "Q", "W", "E", "R" }, 1))); AutoLevelerMenu.AddItem(new MenuItem("AutoLvlStartFrom", "AutoLeveler Start from Level: ").SetValue(new Slider(2, 6, 1))); Menu DrawingMenu = Menu.AddSubMenu(new Menu("Drawing", "Drawing")); DrawingMenu.AddItem(new MenuItem("DrawQ", "Draw Q Range").SetValue(true)); DrawingMenu.AddItem(new MenuItem("DrawWE", "Draw W/E Range").SetValue(true)); DrawingMenu.AddItem(new MenuItem("DrawR", "Draw R Range").SetValue(false)); DrawingMenu.AddItem(new MenuItem("DrawRMinimap", "Draw R Range | On Minimap").SetValue(true)); Menu.AddToMainMenu(); #endregion #region DrawHPDamage var dmgAfterShave = new MenuItem("SurvivorRyze.DrawComboDamage", "Draw Combo Damage").SetValue(true); var drawFill = new MenuItem("SurvivorRyze.DrawColour", "Fill Color", true).SetValue( new Circle(true, Color.SeaGreen)); DrawingMenu.AddItem(drawFill); DrawingMenu.AddItem(dmgAfterShave); DrawDamage.DamageToUnit = CalculateDamage; DrawDamage.Enabled = dmgAfterShave.GetValue <bool>(); DrawDamage.Fill = drawFill.GetValue <Circle>().Active; DrawDamage.FillColor = drawFill.GetValue <Circle>().Color; dmgAfterShave.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DrawDamage.Enabled = eventArgs.GetNewValue <bool>(); }; drawFill.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { DrawDamage.Fill = eventArgs.GetNewValue <Circle>().Active; DrawDamage.FillColor = eventArgs.GetNewValue <Circle>().Color; }; #endregion #region Subscriptions Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += OnEndScene; Game.OnUpdate += Game_OnUpdate; Obj_AI_Base.OnLevelUp += Obj_AI_Base_OnLevelUp; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; #endregion Game.PrintChat("<font color='#800040'>[SurvivorSeries] Ryze</font> <font color='#ff6600'>Loaded.</font>"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.ChampionName != "Lux") { return; } Q = new Spell(SpellSlot.Q, 1175); W = new Spell(SpellSlot.W, 1075); E = new Spell(SpellSlot.E, 1100); R = new Spell(SpellSlot.R, 3340); Q.SetSkillshot(0.25f, 80f, 1200f, true, SkillshotType.SkillshotLine); W.SetSkillshot(0.25f, 150f, 1200f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.15f, 275f, 1300f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(1.35f, 190f, float.MaxValue, false, SkillshotType.SkillshotLine); IgniteSlot = Player.GetSpellSlot("SummonerDot"); Config = new Menu("花边汉化-Lightning拉克丝", "Lightning Lux", true); var targetSelectorMenu = new Menu("目标 选择", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); // Config.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); // var orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker")); var Menu_Orbwalker = new Menu("走 砍", "Orbwalker"); xSLxOrbwalker.AddToMenu(Menu_Orbwalker); Config.AddSubMenu(Menu_Orbwalker); Config.AddSubMenu(new Menu("连 招", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("ComboActive", "开 启!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.SubMenu("Combo").AddItem(new MenuItem("UseQ", "使用 Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseW", "使用 W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseE", "使用 E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseR", "可击杀时丨使用 R").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseItems", "使用 Items").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseIgnite", "使用 Ignite").SetValue(true)); Config.AddSubMenu(new Menu("骚 扰", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("HarassActive", "开 启!").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Harass").AddItem(new MenuItem("HQ", "使用 Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("HE", "使用 E").SetValue(true)); Config.AddSubMenu(new Menu("打 钱", "Farm")); Config.SubMenu("Farm").AddItem(new MenuItem("FarmActive", "打 钱!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm").AddItem(new MenuItem("JungSteal", "清 野!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm").AddItem(new MenuItem("FQ", "使用 Q").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FW", "使用 W").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FE", "使用 E").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FMP", "自己 MP %").SetValue(new Slider(15, 100, 0))); Config.AddSubMenu(new Menu("击 杀", "KillSteal")); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseQ", "使用 Q").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseE", "使用 E").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseR", "使用 R").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KIgnite", "使用 Ignite").SetValue(true)); Config.AddSubMenu(new Menu("自动 保护", "AutoShield")); Config.SubMenu("AutoShield").AddItem(new MenuItem("AutoW", "被针对时丨自动W").SetValue(true)); Config.SubMenu("AutoShield").AddItem(new MenuItem("WAllies", "自动给盟友套盾").SetValue(true)); Config.SubMenu("AutoShield").AddItem(new MenuItem("HP", "盟友 HP < %").SetValue(new Slider(60, 100, 0))); Config.SubMenu("AutoShield").AddItem(new MenuItem("Mikael", "使用 干锅").SetValue(false)); Config.SubMenu("AutoShield").AddItem(new MenuItem("Iron", "使用 鸟盾").SetValue(false)); Config.SubMenu("AutoShield").AddItem(new MenuItem("ItemHP", "对盟友使用物品丨 HP < %").SetValue(new Slider(15, 100, 0))); Config.SubMenu("AutoShield").AddItem(new MenuItem("MP", "自己 MP %").SetValue(new Slider(30, 100, 0))); Config.AddSubMenu(new Menu("额外 设置", "ExtraSettings")); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UseQE", "目标被束缚时丨使用E").SetValue(false)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("AutoE2", "自动E第二下").SetValue(true)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UseQGap", "被突进时丨使用Q").SetValue(true)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("TargetInvul", "敌人开免伤技能丨不使用技能").SetValue(false)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("YasuoWall", "亚索开风墙后丨不使用技能 ").SetValue(false)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("HitChance", "命 中").SetValue(new StringList(new[] { "低", "中", "高", "非常 高" }, 2))); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UsePacket", "使用 封包").SetValue(false)); Config.AddSubMenu(new Menu("大招 设置", "UltSettings")); Config.SubMenu("UltSettings").AddItem(new MenuItem("RHit", "可命中时丨自动R").SetValue(new StringList(new[] { "None", "2 Target", "3 Target", "4 Target", "5 Target" }, 0))); Config.SubMenu("UltSettings").AddItem(new MenuItem("RTrap", "敌人被束缚丨自动R").SetValue(false)); Config.AddSubMenu(new Menu("范围", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("QRange", "Q 范围").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("WRange", "W 范围").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E 范围").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.AddToMainMenu(); Game.PrintChat("花边汉化-Lightning拉克丝 加载成功!"); Game.OnGameUpdate += Game_OnGameUpdate; xSLxOrbwalker.BeforeAttack += Orbwalking_BeforeAttack; // Orbwalking.BeforeAttack += Orbwalking_BeforeAttack; Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; }
private void InitMenu() { config = new Menu("Nasus ", "Nasus", true); // Target Selector Menu menuTS = new Menu("Selector", "tselect"); TargetSelector.AddToMenu(menuTS); config.AddSubMenu(menuTS); // Orbwalker Menu menuOrb = new Menu("Orbwalker", "orbwalker"); orbwalker = new Orbwalking.Orbwalker(menuOrb); config.AddSubMenu(menuOrb); // Draw settings Menu menuD = new Menu("Drawings ", "dsettings"); menuD.AddItem(new MenuItem("drawww", "Draw W range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawee", "Draw E range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawrr", "Draw R range", true)) .SetValue(new Circle(false, Color.FromArgb(180, 100, 146, 166))); menuD.AddItem(new MenuItem("drawcombo", "Draw combo damage")).SetValue(true); config.AddSubMenu(menuD); // Combo Settings Menu menuC = new Menu("Combo ", "csettings"); menuC.AddItem(new MenuItem("useq", "Use Q")).SetValue(true); menuC.AddItem(new MenuItem("usew", "Use W")).SetValue(true); menuC.AddItem(new MenuItem("usee", "Use E")).SetValue(true); menuC.AddItem(new MenuItem("keepManaForR", " Keep mana for R")).SetValue(true); menuC.AddItem(new MenuItem("useeslow", " Only for slowed enemy")).SetValue(false); menuC.AddItem(new MenuItem("user", "Use R in 1v1")).SetValue(true); menuC.AddItem(new MenuItem("usertf", "R min enemy in teamfight")).SetValue(new Slider(2, 1, 5)); menuC.AddItem(new MenuItem("useIgnite", "Use Ignite")).SetValue(true); menuC = ItemHandler.addItemOptons(menuC); config.AddSubMenu(menuC); // Harass Settings Menu menuH = new Menu("Harass ", "Hsettings"); menuH.AddItem(new MenuItem("useeH", "Use E")).SetValue(true); menuH.AddItem(new MenuItem("minmanaH", "Keep X% mana")).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuH); // LaneClear Settings Menu menuLC = new Menu("LaneClear ", "Lcsettings"); menuLC.AddItem(new MenuItem("useqLC", "Use Q")).SetValue(true); menuLC.AddItem(new MenuItem("useeLC", "Use E")).SetValue(true); menuLC.AddItem(new MenuItem("ehitLC", " Min hit").SetValue(new Slider(4, 1, 10))); menuLC.AddItem(new MenuItem("minmana", "Keep X% mana")).SetValue(new Slider(1, 1, 100)); config.AddSubMenu(menuLC); Menu menuM = new Menu("Misc ", "Msettings"); menuM.AddItem(new MenuItem("autoQ", "Auto Q")).SetValue(true); menuM.AddItem(new MenuItem("Rdamage", "Combo damage with R")).SetValue(true); menuM.AddItem(new MenuItem("Qdamage", "Combo damage with Q")).SetValue(true); menuM = DrawHelper.AddMisc(menuM); config.AddSubMenu(menuM); config.AddItem(new MenuItem("UnderratedAIO", "by Soresu v" + Program.version.ToString().Replace(",", "."))); config.AddToMainMenu(); }
internal static void Init() { Menu = new Menu("mySeries: " + Me.ChampionName, "mySeries: " + Me.ChampionName, true); var targetSelectMenu = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); { TargetSelector.AddToMenu(targetSelectMenu); } var orbMenu = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); { Orbwalker = new Orbwalking.Orbwalker(orbMenu); } var comboMenu = Menu.AddSubMenu(new Menu("Combo", "Combo")); { comboMenu.AddItem(new MenuItem("ComboQ", "Use Q", true).SetValue(true)); comboMenu.AddItem(new MenuItem("ComboW", "Use W", true).SetValue(true)); comboMenu.AddItem(new MenuItem("ComboE", "Use E", true).SetValue(true)); comboMenu.AddItem(new MenuItem("ComboR", "Use R", true).SetValue(true)); comboMenu.AddItem(new MenuItem("ComboRKill", "Use R| KillSteal", true).SetValue(true)); comboMenu.AddItem(new MenuItem("ComboRCount", "Use R| Hit Count >= x", true).SetValue(new Slider(3, 1, 5))); comboMenu.AddItem(new MenuItem("ComboIgnite", "Use Ignite", true).SetValue(true)); } var harassMenu = Menu.AddSubMenu(new Menu("Harass", "Harass")); { harassMenu.AddItem(new MenuItem("HarassQ", "Use Q", true).SetValue(true)); harassMenu.AddItem(new MenuItem("HarassQLH", "Use Q|Last Hit", true).SetValue(true)); harassMenu.AddItem(new MenuItem("HarassW", "Use W", true).SetValue(false)); harassMenu.AddItem( new MenuItem("HarassMana", "When Player ManaPercent >= x%", true).SetValue(new Slider(60))); } var clearMenu = Menu.AddSubMenu(new Menu("Clear", "Clear")); { var laneClearMenu = clearMenu.AddSubMenu(new Menu("LaneClear", "LaneClear")); { laneClearMenu.AddItem(new MenuItem("LaneClearQ", "Use Q", true).SetValue(true)); laneClearMenu.AddItem(new MenuItem("LaneClearQLH", "Use Q|Only Last Hit", true).SetValue(true)); laneClearMenu.AddItem(new MenuItem("LaneClearW", "Use W", true).SetValue(true)); laneClearMenu.AddItem( new MenuItem("LaneClearWCount", "Use W| Hit Count >= x", true).SetValue(new Slider(3, 1, 10))); laneClearMenu.AddItem( new MenuItem("LaneClearMana", "When Player ManaPercent >= x%", true).SetValue(new Slider(60))); } var jungleClearMenu = clearMenu.AddSubMenu(new Menu("JungleClear", "JungleClear")); { jungleClearMenu.AddItem(new MenuItem("JungleClearQ", "Use Q", true).SetValue(true)); jungleClearMenu.AddItem(new MenuItem("JungleClearW", "Use W", true).SetValue(true)); jungleClearMenu.AddItem(new MenuItem("JungleClearE", "Use E", true).SetValue(true)); jungleClearMenu.AddItem( new MenuItem("JungleClearMana", "When Player ManaPercent >= x%", true).SetValue(new Slider(60))); } clearMenu.AddItem(new MenuItem("asdqweqwe", " ", true)); ManaManager.AddSpellFarm(clearMenu); } var killStealMenu = Menu.AddSubMenu(new Menu("KillSteal", "KillSteal")); { killStealMenu.AddItem(new MenuItem("KillStealQ", "Use Q", true).SetValue(true)); killStealMenu.AddItem(new MenuItem("KillStealW", "Use W", true).SetValue(true)); } var miscMenu = Menu.AddSubMenu(new Menu("Misc", "Misc")); { var antiGapcloserMenu = miscMenu.AddSubMenu(new Menu("AntiGapcloser", "AntiGapcloser")); { antiGapcloserMenu.AddItem(new MenuItem("AntiGapcloserQ", "Use Q", true).SetValue(true)); antiGapcloserMenu.AddItem(new MenuItem("AntiGapcloserW", "Use W", true).SetValue(true)); antiGapcloserMenu.AddItem(new MenuItem("AntiGapcloserE", "Use E", true).SetValue(true)); } var interruptMenu = miscMenu.AddSubMenu(new Menu("Interrupt", "Interrupt")); { interruptMenu.AddItem(new MenuItem("InterruptQ", "Use Q", true).SetValue(true)); interruptMenu.AddItem(new MenuItem("InterruptW", "Use W", true).SetValue(true)); interruptMenu.AddItem(new MenuItem("InterruptE", "Use E", true).SetValue(true)); } var flashRMenu = miscMenu.AddSubMenu(new Menu("Flash R", "Flash R")); { flashRMenu.AddItem( new MenuItem("EnableFlashR", "FlashR Key", true).SetValue(new KeyBind('T', KeyBindType.Press))); flashRMenu.AddItem( new MenuItem("FlashRCountsEnemiesinRange", "Min Hit Enemies Counts >= ", true).SetValue( new Slider(3, 1, 5))); flashRMenu.AddItem( new MenuItem("FlashRCountsAlliesinRange", "And Min Allies Counts >= (0 = off)", true).SetValue( new Slider(2, 0, 5))); flashRMenu.AddItem(new MenuItem("FlashRCanKillEnemy", "Or Can Kill", true).SetValue(true)); } var skinMenu = miscMenu.AddSubMenu(new Menu("SkinChange", "SkinChange")); { SkinManager.AddToMenu(skinMenu, 10); } var autoLevelMenu = miscMenu.AddSubMenu(new Menu("Auto Levels", "Auto Levels")); { LevelsManager.AddToMenu(autoLevelMenu); } miscMenu.AddItem(new MenuItem("SupportMode", "Support Mode", true).SetValue(false)); miscMenu.AddItem(new MenuItem("AutoFollow", "Auto Follow Bear Logic", true).SetValue(true)); } var drawMenu = Menu.AddSubMenu(new Menu("Drawings", "Drawings")); { drawMenu.AddItem(new MenuItem("DrawQ", "Draw Q Range", true).SetValue(false)); drawMenu.AddItem(new MenuItem("DrawW", "Draw W Range", true).SetValue(false)); drawMenu.AddItem(new MenuItem("DrawR", "Draw R Range", true).SetValue(false)); drawMenu.AddItem(new MenuItem("DrawFlashR", "Draw FlashR Range", true).SetValue(false)); ManaManager.AddDrawFarm(drawMenu); //DamageIndicator.AddToMenu(drawMenu, DamageCalculate.GetComboDamage); } Menu.AddItem(new MenuItem("asd ad asd ", " ", true)); Menu.AddItem(new MenuItem("Credit", "Credit: NightMoon", true)); Menu.AddToMainMenu(); }