private static void Game_OnGameLoad(EventArgs args) { EQDrawList = new List<Vector3>(); Player = ObjectManager.Player; if (Player.ChampionName != ChampionName) return; Q = new Spell(SpellSlot.Q, 700f); Q.SetSkillshot(0.5f, 70f, float.MaxValue, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 300f); E = new Spell(SpellSlot.E, 830f); E.SetSkillshot(0.5f, 70f, float.MaxValue, false, SkillshotType.SkillshotCircle); Config = new Menu("J4Helper", "J4Helper", true); //Orbwalker Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); //Misc Config.AddSubMenu(new Menu("Keys", "Keys")); Config.SubMenu("Keys") .AddItem( new MenuItem("EQMouse", "EQ to Mouse").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); Config.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Game.PrintChat("J4Helper Loaded."); Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; }
public override void OnMenu() { menu.AddToMainMenu(); menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboQ", "UseQ", true).SetValue(true)); menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboW", "UseW", true).SetValue(false)); menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboE", "UseE", true).SetValue(true)); menu.SubMenu(name).SubMenu("Combo").AddItem(new MenuItem("ComboR", "UseR", true).SetValue(true)); menu.SubMenu(name).SubMenu("Harass").AddItem(new MenuItem("HarassQ", "UseQ", true).SetValue(true)); menu.SubMenu(name).SubMenu("Harass").AddItem(new MenuItem("HarassE", "UseE", true).SetValue(true)); menu.SubMenu(name).SubMenu("LaneClear").AddItem(new MenuItem("LaneClearQ", "UseQ", true).SetValue(false)); menu.SubMenu(name).SubMenu("LaneClear").AddItem(new MenuItem("LaneClearE", "UseE", true).SetValue(false)); menu.SubMenu(name).SubMenu("JungleClear").AddItem(new MenuItem("JungleClearQ", "UseQ", true).SetValue(true)); menu.SubMenu(name).SubMenu("JungleClear").AddItem(new MenuItem("JungleClearE", "UseE", true).SetValue(true)); menu.SubMenu(name).SubMenu("Creadits : kywooo"); var movingMenu = new Menu("OrbWalker", "orbWalker", true); moving = new Orbwalking.Orbwalker(movingMenu); menu.SubMenu(name).AddSubMenu(movingMenu); var TargetMenu = new Menu("TargetSelector", "targetselector", true); TargetSelector.AddToMenu(TargetMenu); menu.SubMenu(name).AddSubMenu(TargetMenu); }
private static void OnGameLoad(EventArgs e) { if (Player.ChampionName != "Kalista") { return; } Q = new Spell(SpellSlot.Q, 1130); W = new Spell(SpellSlot.W, 5200); E = new Spell(SpellSlot.E, 1000); R = new Spell(SpellSlot.R, 1400f); Q.SetSkillshot(0.25f, 30f, 1700f, true, SkillshotType.SkillshotLine); Text = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Arial", Height = 35, Width = 12, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default }); root = new Menu("HastaKalistaBaby", "hkalista", true); draw = new Menu("Drawings Settings", "drawing"); Orbwalker = new Orbwalking.Orbwalker(root.SubMenu("Orbwalker Settings")); MenuManager.Create(); DamageIndicator.Init(Damage.GetEdamage); ee = new EarlyEvade(); AutoLevel.Init(); Game.OnUpdate += OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Helper.OnProcessSpellCast; Spellbook.OnCastSpell += Helper.OnCastSpell; }
internal static void Load() { //Menu principal Menu = new Menu("[Fenix] AIO", "By: Maskov", true); Orbwalker = new Orbwalking.Orbwalker(Menu.AddSubMenu(new Menu(Player.ChampionName + ": Orbwalker", "Orbwalker"))); TargetSelector.AddToMenu(Menu.AddSubMenu(new Menu(Player.ChampionName + ": Target Selector", "Target Selector"))); Menu.AddSubMenu(new Menu(Player.ChampionName + ": Drawings", "Drawings")); Menu.SubMenu("Drawings").AddItem(new MenuItem("drawingTarget", "AA Target").SetValue(true)); Menu.AddToMainMenu(); //Menu - FIM Utilidades.Autolevelup.Load(); Utilidades.SharedExperience.Load(); Utilidades.HbTracker.Load(); Utilidades.MActivator.Load(); Utilidades.Evade.Evade.Load(); if (Player.ChampionName == "Vayne") { Champions.Vayne.Load(); } if (Player.ChampionName == "Kalista") { Champions.Kalista.Load(); } }
public void CreateMenu() { Config = new Menu("Vicroious Blitzcrank", "menu", true).SetFontStyle(System.Drawing.FontStyle.Regular, SharpDX.Color.GreenYellow); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Config.SubMenu("Q option").AddItem(new MenuItem("minGrab", "Min range grab", true).SetValue(new Slider(450, 125, (int)Q.Range))); Config.SubMenu("Q option").AddItem(new MenuItem("maxGrab", "Max range grab", true).SetValue(new Slider((int)Q.Range, 125, (int)Q.Range))); Config.SubMenu("Q option").AddItem(new MenuItem("qTur", "Auto Q under turret", true).SetValue(false)); foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) Config.SubMenu("Q option").SubMenu("Grab").AddItem(new MenuItem("grab" + enemy.ChampionName, enemy.ChampionName).SetValue(true)); Config.SubMenu("R option").AddItem(new MenuItem("rCount", "Auto R if enemies in range", true).SetValue(new Slider(3, 0, 5))); Config.SubMenu("R option").AddItem(new MenuItem("afterGrab", "Auto R after grab", true).SetValue(true)); Config.SubMenu("R option").AddItem(new MenuItem("afterAA", "Auto R befor AA", true).SetValue(true)); Config.SubMenu("R option").AddItem(new MenuItem("inter", "OnPossibleToInterrupt", true)).SetValue(true); Config.SubMenu("R option").AddItem(new MenuItem("Gap", "OnEnemyGapcloser", true)).SetValue(true); Config.SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range", true).SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("rRange", "R range", true).SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw when skill rdy", true).SetValue(true)); Config.AddItem(new MenuItem("autoW", "Auto W", true).SetValue(true)); Config.AddItem(new MenuItem("autoE", "Auto E", true).SetValue(true)); Config.AddToMainMenu(); Game.OnUpdate += Game_OnGameUpdate; Orbwalking.BeforeAttack += BeforeAttack; Orbwalking.AfterAttack += afterAttack; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; }
static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Heimerdinger") { return; } Q = new Spell(SpellSlot.Q, 50); W = new Spell(SpellSlot.W, 1075); E = new Spell(SpellSlot.E, 920); R = new Spell(SpellSlot.R); W.SetSkillshot(.25f, 40, 2500, true, SkillshotType.SkillshotLine); E.SetSkillshot(.25f, 120, 1000, false, SkillshotType.SkillshotCircle); Config = new Menu("HeisenDonger", "HeisenDonger", 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.AddSubMenu(new Menu("Logic+Spacebar=win :^)", "kappa")); Config.AddToMainMenu(); //who needs a menu when you're busy memeing :^) Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.OnUpdate += Game_OnUpdate; }
public void LoadAssembly() { //Initilize Menus Menus.HumanizerMenu _HumanizerMenu = new Menus.HumanizerMenu(); Menus.MinonsMenu _MinonsMenu = new Menus.MinonsMenu(); Menus.ItemsMenu _ItemsMenu = new Menus.ItemsMenu(); Menus.TrinketMenu _TrinketMenu = new Menus.TrinketMenu(); Menus.LevelMenu _LevelMenu = new Menus.LevelMenu(); Menus.ChampionMenu _ChampMenu = new Menus.ChampionMenu(); //Load Data _Champion.Player = ObjectManager.Player; //Load Menus into SMenu _HumanizerMenu.Load(); _MinonsMenu.Load(); _ItemsMenu.Load(); _TrinketMenu.Load(); _LevelMenu.Load(); _ChampMenu.Load(); //_Assembly.CheckVersion(); //Load Menus + Events //Add Orbwalker to menu //SMenu.AddSubMenu(new Menu(".Orbwalker", ".Orbwalker")); CommonOrbwalker = new Orbwalking.Orbwalker(SMenu.SubMenu(".CommonOrbwalker")); //Add SMenu to main menu SMenu.AddToMainMenu(); }
public static void Load() { _MainMenu = new Menu("FreshBooster (" + ObjectManager.Player.ChampionName + ")", "FreshBooster", true).SetFontStyle(System.Drawing.FontStyle.Regular, SharpDX.Color.Aqua); _MainMenu.AddToMainMenu(); 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); Type t = Type.GetType("FreshBooster.Champion." + ObjectManager.Player.ChampionName); if (t != null) { //Object obj = Activator.CreateInstance(t); var target = t.GetConstructor(Type.EmptyTypes); var dynamic = new DynamicMethod(string.Empty, t, new Type[0], target.DeclaringType); var il = dynamic.GetILGenerator(); il.DeclareLocal(target.DeclaringType); il.Emit(OpCodes.Newobj, target); il.Emit(OpCodes.Stloc_0); il.Emit(OpCodes.Ldloc_0); il.Emit(OpCodes.Ret); var method = (Func<object>)dynamic.CreateDelegate(typeof(Func<object>)); method(); } else { Game.PrintChat("Can't Load FreshBooster. Please send Message to KorFresh, Error Code 99"); } }
private static void Game_OnGameLoad(EventArgs args) { Q = new Spell(SpellSlot.Q, 340); W = new Spell(SpellSlot.W, 800); E = new Spell(SpellSlot.E, 500); R = new Spell(SpellSlot.R, 550); Config = new Menu("Kindred - Yin Yang", "Kindred - Yin Yang", true); { Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu(":: Orbwalker Settings")); Config.AddItem(new MenuItem("language.supx", "Language").SetValue(new StringList(new[] { "English", "Korean", "Türkçe", "Portuguese","French" }, 0))); Language.MenuInit(); Config.AddToMainMenu(); } Game.PrintChat("<font color='#ff3232'>Kindred - Yin Yang: </font> <font color='#d4d4d4'>If you like this assembly feel free to upvote on Assembly DB</font>"); Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.OnUpdate += Game_OnGameUpdate; GameObject.OnCreate += GameObject_OnCreate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnDoCast += OnDoCast; }
/// <summary> /// Initializes a new instance of the <see cref="MenuWrapper"/> class. /// </summary> /// <param name="menuName">Name of the menu.</param> /// <param name="addTargetSelector">if set to <c>true</c> [add target selector].</param> /// <param name="addOrbwalker">if set to <c>true</c> [add orbwalker].</param> public MenuWrapper(string menuName, bool addTargetSelector = true, bool addOrbwalker = true) { // Create menu _menu = new Menu(menuName, Regex.Replace(menuName.ToLower(), @"\s+", ""), true); if (addTargetSelector) { // Target selector _targetSelectorMenu = new Menu("Target Selector", "ts"); TargetSelector.AddToMenu(_targetSelectorMenu); _menu.AddSubMenu(_targetSelectorMenu); } if (addOrbwalker) { // Orbwalker _orbwalkerMenu = new Menu("Orbwalker", "orbwalker"); _orbwalker = new Orbwalking.Orbwalker(_orbwalkerMenu); _menu.AddSubMenu(_orbwalkerMenu); } // Create main menu wrapper _mainMenu = new SubMenu(_menu); // Finalize menu _menu.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (ObjectManager.Player.BaseSkinName != Champion) return; Q = new Spell(SpellSlot.Q, 770); W = new Spell(SpellSlot.W, 525); E = new Spell(SpellSlot.E, 800); R = new Spell(SpellSlot.R, 650); IgniteSlot = Player.GetSpellSlot("SummonerDot"); Q.SetSkillshot(0.25f, 70f, 1450f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.5f, 175f, int.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Config = new Menu(Champion, "StonedJarvan", 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.AddSubMenu(new Menu("Combo", "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("UseEQCombo", "Use EQ")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawQ", "Draw Q")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawW", "Draw W")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawE", "Draw E")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawR", "Draw R")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("CircleLag", "Lag Free Circles").SetValue(true)); Config.SubMenu("Drawings").AddItem(new MenuItem("CircleThickness", "Circles Thickness").SetValue(new Slider(1, 10, 1))); Config.AddSubMenu(new Menu("Misc", "Misc")); Config.SubMenu("Misc").AddItem(new MenuItem("EQmouse", "EQ To Mouse").SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Misc").AddItem(new MenuItem("Ignite", "Use Ignite").SetValue(true)); Config.AddToMainMenu(); Game.OnGameUpdate += OnGameUpdate; Drawing.OnDraw += OnDraw; //Obj_AI_Hero.OnCreate += OnCreateObj; //Obj_AI_Hero.OnDelete += OnDeleteObj; Game.PrintChat("<font color='#FF00BF'>Stoned Jarvan Loaded By</font> <font color='#FF0000'>The</font><font color='#FFFF00'>Kush</font><font color='#40FF00'>Style</font>"); }
public void Update(LeagueSharp.Common.Orbwalking.Orbwalker orb) { int time = Environment.TickCount; foreach (EnemyInfo enemy in enemyInfo.Where(x => x.Player.IsVisible)) { enemy.LastSeen = time; } if (enemyInfo.Count == 0) { var champions = ObjectManager.Get <Obj_AI_Hero>().ToList(); var EnemyTeam = champions.Where(x => x.IsEnemy); enemyInfo = EnemyTeam.Select(x => new EnemyInfo(x)).ToList(); } bool use = false; if (orb.ActiveMode == Orbwalking.OrbwalkingMode.Combo && _menu.Item("AutoBushEnabled_c").GetValue <bool>()) { use = true; } if (orb.ActiveMode == Orbwalking.OrbwalkingMode.Mixed && _menu.Item("AutoBushEnabled_h").GetValue <bool>()) { use = true; } if (_menu.Item("AutoBushEnabled_a").GetValue <bool>()) { use = true; } if (_menu.Item("AutoBushEnabled").GetValue <bool>() && use) { foreach (Obj_AI_Hero enemy in enemyInfo.Where(x => x.Player.IsValid && !x.Player.IsVisible && !x.Player.IsDead && x.Player.Distance(ObjectManager.Player.ServerPosition) < 1100 && time - x.LastSeen < 2500).Select(x => x.Player)) { var bestWardPos = GetWardPos(enemy.ServerPosition, 165, 2); if (bestWardPos != enemy.ServerPosition && bestWardPos != Vector3.Zero && bestWardPos.Distance(ObjectManager.Player.ServerPosition) <= 600) { int timedif = Environment.TickCount - _lastTimeWarded; if (timedif > 1250 && !(timedif < 2500 && GetNearObject("SightWard", bestWardPos, 200) != null)) //no near wards { var wardSlot = GetWardSlot(); if (wardSlot != null && wardSlot.Id != ItemId.Unknown) { wardSlot.UseItem(bestWardPos); _lastTimeWarded = Environment.TickCount; } } } } } }
public CommonForceUltimate(ZedMenu zedMenu, ZedSpells zedSpells, Orbwalking.Orbwalker orbwalker) { player = ObjectManager.Player; this.zedMenu = zedMenu; r = zedSpells.R; zedOrbwalker = orbwalker; mouseImage1 = new Render.Sprite(Resources.mouse1, new Vector2(0, 0)); mouseImage1.Scale = new Vector2(0.50f, 0.50f); mouseImage1.Add(); mouseImage2 = new Render.Sprite(Resources.mouse2, new Vector2(0, 0)); mouseImage2.Scale = new Vector2(0.50f, 0.50f); mouseImage2.Add(); denyMouseImage = new Render.Sprite(Resources.denymouse, new Vector2(0, 0)); denyMouseImage.Scale = new Vector2(0.50f, 0.50f); denyMouseImage.Add(); denyMouseImage.Visible = false; Text.Add(); Text.Visible = false; Game.OnWndProc += CheckMouseButtons; Game.OnUpdate += ShowAnimation; }
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, 70f, 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 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").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").AddItem(new MenuItem("noti", "Show notification").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("wRange", "W range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw when skill rdy").SetValue(true)); Config.SubMenu("Draw").AddItem(new MenuItem("orb", "Orbwalker target").SetValue(true)); Config.SubMenu("Draw").AddItem(new MenuItem("wTarget", "W Target").SetValue(true)); Config.SubMenu("Draw").AddItem(new MenuItem("semi", "Semi-manual R target").SetValue(false)); Config.AddItem(new MenuItem("pots", "Use pots").SetValue(true)); Config.AddItem(new MenuItem("Hit", "Hit Chance W").SetValue(new Slider(2, 3, 0))); Config.AddItem(new MenuItem("debug", "Debug").SetValue(false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnGameUpdate += Game_OnGameUpdate; Orbwalking.BeforeAttack += BeforeAttack; Orbwalking.AfterAttack += afterAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat("<font color=\"#ff00d8\">J</font>inx full automatic AI ver 2.7 <font color=\"#000000\">by sebastiank1</font> - <font color=\"#00BFFF\">Loaded</font>"); }
private static void OnGameLoad(EventArgs args) { if (ObjectManager.Player.ChampionName != ChampionName) { return; } Q = new Spell(SpellSlot.Q, 650f); W = new Spell(SpellSlot.W, 900f); E = new Spell(SpellSlot.E, 525f); R = new Spell(SpellSlot.R, 900f); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); 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.AddSubMenu(new Menu("Combo", "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("ComboActive", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.AddToMainMenu(); Game.OnUpdate += OnGameUpdate; }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Heimerdinger") return; Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 1100); E = new Spell(SpellSlot.E, 925); R = new Spell(SpellSlot.R); Menu = new Menu(Player.ChampionName, Player.ChampionName, true); Menu orbwalkerMenu = Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); TargetSelector.AddToMenu(ts); Menu drawMenu = Menu.AddSubMenu(new Menu("Drawings", "Drawings")); drawMenu.AddItem(new MenuItem("drawQ", "Draw Q").SetValue(true)); drawMenu.AddItem(new MenuItem("drawW", "Draw W").SetValue(true)); drawMenu.AddItem(new MenuItem("drawE", "Draw E").SetValue(true)); Menu.AddToMainMenu(); Drawing.OnDraw += Drawing_OnDraw; Notifications.AddNotification("Heimerwalker Loaded!", 10000); }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Tryndamere") return; Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 400f); E = new Spell(SpellSlot.E, 660f); R = new Spell(SpellSlot.R); E.SetSkillshot(0f, 93f, 600, false, SkillshotType.SkillshotLine); Menu = new Menu(Player.ChampionName, Player.ChampionName, true); Menu orbwalkerMenu = Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); ; TargetSelector.AddToMenu(ts); Menu spellMenu = Menu.AddSubMenu(new Menu("Spells", "Spells")); spellMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true)); spellMenu.AddItem(new MenuItem("qBelow", "Q below % hp").SetValue(new Slider(20, 0, 95))); spellMenu.AddItem(new MenuItem("useW", "Use W").SetValue(true)); spellMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true)); spellMenu.AddItem(new MenuItem("useR", "Use R Before Death").SetValue(true)); spellMenu.AddItem(new MenuItem("rBelow", "R below % hp").SetValue(new Slider(15, 0, 95))); Menu fleeMenu = Menu.AddSubMenu(new Menu("Flee", "Run Nigger")); fleeMenu.AddItem(new MenuItem("useEFlee", "Use E")).SetValue(new KeyBind('Z', KeyBindType.Press)); Menu.AddToMainMenu(); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnGameUpdate; Game.PrintChat("I'm a DK"); }
private static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.ChampionName != "Lucian") return; _q = new Spell(SpellSlot.Q, 700); _q2 = new Spell(SpellSlot.Q, 1200); _w = new Spell(SpellSlot.W, 700); _w2 = new Spell(SpellSlot.W, 1100); _q2.SetSkillshot(0.25f, 70, 3000, false, SkillshotType.SkillshotLine); _w.SetSkillshot(0.25f, 70, 1500, false, SkillshotType.SkillshotLine); _w2.SetSkillshot(0.25f, 70, 1500, true, SkillshotType.SkillshotLine); _config = new Menu("Lucian", "Lucian", true); _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking")); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); _config.AddSubMenu(targetSelectorMenu); _config.AddItem(new MenuItem("qexk", "Q ex in combo only if killable").SetValue(true)); _config.AddItem(new MenuItem("qexk2", "Q ex in combo only selected champion in harass menu").SetValue(true)); foreach (var hero in HeroManager.Enemies) { _config.SubMenu("Harass").AddItem(new MenuItem("auto" + hero.ChampionName, hero.ChampionName).SetValue(select.Contains(hero.ChampionName))); } _config.SubMenu("Harass").AddItem(new MenuItem("manah", "%mana").SetValue(new Slider(33, 100, 0))); _config.AddToMainMenu(); Obj_AI_Base.OnProcessSpellCast += oncast; Orbwalking.AfterAttack += Orbwalking_AfterAttack; Game.OnUpdate += Game_OnUpdate; }
public static void loadMenu() { menu = new Menu("AwesomeBlitz", "AwesomeBlitz", true); var orbWalkerMenu = new Menu("Orbwalker", "Orbwalker"); orb = new Orbwalking.Orbwalker(orbWalkerMenu); var TargetSelectorMenu = new Menu("TargetSelector", "TargetSelector"); var comboMenu = new Menu("Combo", "Combo"); { comboMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true)); comboMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true)); comboMenu.AddItem(new MenuItem("useR", "Use R").SetValue(true)); comboMenu.AddItem(new MenuItem("dontuseR", "Dont Use R if target will dead").SetValue(true)); } var DrawMenu = new Menu("Combo", "Combo"); { DrawMenu.AddItem(new MenuItem("QD", "Q draw").SetValue(true)); DrawMenu.AddItem(new MenuItem("RD", "R draw").SetValue(true)); } TargetSelector.AddToMenu(TargetSelectorMenu); menu.AddSubMenu(orbWalkerMenu); //ORBWALKER menu.AddSubMenu(TargetSelectorMenu); menu.AddSubMenu(comboMenu); menu.AddSubMenu(DrawMenu); menu.AddToMainMenu(); }
public static void Init(Yasuo yas) { Yas = yas; Config = new Menu("YasuoPro", "YasuoPro", true); Menu OWMenu = Config.AddSubMenu("Orbwalking"); Orbwalker = new Orbwalking.Orbwalker(OWMenu); Menu Combo = Config.AddSubMenu("Combo"); YasuoMenu.Combo.Attach(Combo); Menu Harass = Config.AddSubMenu("Harass"); YasuoMenu.Harass.Attach(Harass); Menu Evade = Config.AddSubMenu("Evade"); YasuoMenu.Evade.Attach(Evade); Menu Killsteal = Config.AddSubMenu("Killsteal"); YasuoMenu.Killsteal.Attach(Killsteal); Menu Farming = Config.AddSubMenu("LastHitting"); YasuoMenu.Farm.Attach(Farming); Menu Waveclear = Config.AddSubMenu("Waveclear"); YasuoMenu.Waveclear.Attach(Waveclear); Menu Misc = Config.AddSubMenu("Misc"); YasuoMenu.Misc.Attach(Misc); Menu Drawings = Config.AddSubMenu("Drawings"); YasuoMenu.Drawings.Attach(Drawings); Config.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.ChampionName != "Diana") return; _q = new Spell(SpellSlot.Q, 830); _q2 = new Spell(SpellSlot.Q, 350); _w = new Spell(SpellSlot.W, 200); _e = new Spell(SpellSlot.E, 350); _r = new Spell(SpellSlot.R, 825); _q.SetSkillshot(0.25f, 90, 900, false, SkillshotType.SkillshotCircle); _q2.SetSkillshot(0.25f, 60, 2500, false, SkillshotType.SkillshotCircle); _config = new Menu("Diana", "Diana", true); _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking")); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); _config.AddSubMenu(targetSelectorMenu); _config.AddItem(new MenuItem("ec", "E mode").SetValue(new StringList(new[]{"after W", "in mid jump", "E off"}))); _config.SubMenu("autokill").AddItem(new MenuItem("autokil", "autokill").SetValue(true)); _config.SubMenu("autokill").AddItem(new MenuItem("kill", "autokill only if <= x enemys in 1600 range").SetValue(new Slider(5, 5, 1))); foreach (var hero in HeroManager.Enemies) { _config.SubMenu("autokill").SubMenu("autokill champion select").AddItem(new MenuItem("auto" + hero.ChampionName, hero.ChampionName).SetValue(false)); } _config.AddToMainMenu(); Obj_AI_Base.OnProcessSpellCast += oncast; Game.OnUpdate += Game_OnUpdate; }
private static void CreateMenu() { Menu = new Menu("iDzKatarina", "com.idzkatarina", true); Menu tsMenu = new Menu("Katarina - Target Selector", "com.idzkatarina.ts"); TargetSelector.AddToMenu(tsMenu); Menu.AddSubMenu(tsMenu); Menu orbMenu = new Menu("Katarina - Orbwalker", "com.idzkatarina.orbwalker"); _orbwalker = new Orbwalking.Orbwalker(orbMenu); Menu.AddSubMenu(orbMenu); Menu comboMenu = new Menu("Katarina - Combo", "com.idzkatarina.combo"); comboMenu.AddModeMenu( Mode.Combo, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E, SpellSlot.R }, new[] { true, true, true, true }); Menu.AddSubMenu(comboMenu); Menu harassMenu = new Menu("Katarina - Harass", "com.idzkatarina.harass"); harassMenu.AddModeMenu( Mode.Harass, new[] { SpellSlot.Q, SpellSlot.W, SpellSlot.E }, new[] { true, false, false }); Menu.AddSubMenu(harassMenu); Menu skillOptions = new Menu("Katarina - Skill Options", "com.idzkatarina.skilloptions"); skillOptions.AddItem(new MenuItem("procQ", "Always try to proc Q").SetValue(false)); Menu.AddSubMenu(skillOptions); Menu.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Twitch") return; _w = new Spell(SpellSlot.W, wRange); _w.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle); _e = new Spell(SpellSlot.E, eRange); _config = new Menu("Twitch", "Twitch", true); _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking")); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); _config.AddSubMenu(targetSelectorMenu); _config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); _config.SubMenu("Combo").AddItem(new MenuItem("ghost", "Use Ghostblade").SetValue(true)); _config.SubMenu("Combo").AddItem(new MenuItem("botrk", "Use Botrk").SetValue(true)); _config.SubMenu("Drawings").AddItem(new MenuItem("ultDraw", "Draw ult range").SetValue(true)); _config.SubMenu("Drawings").AddItem(new MenuItem("EDamage", "E Damage").SetValue(new Circle(true, Color.White))); _config.SubMenu("Drawings").AddItem(new MenuItem("stealthColor", "Stealth indicator").SetValue(new Circle(true, Color.Purple))); _config.AddToMainMenu(); CustomDamageIndicator.Initialize(GetEDamage); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += OnSpellProcess; Obj_AI_Base.OnDamage += OnDamage; }
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("drawQE", "Draw Q, E range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(125, 0, 255, 0)))); 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("packetCast", "Packet Cast").SetValue(true)); _itemDFG = Utility.Map.GetMap().Type == Utility.Map.MapType.TwistedTreeline ? new Items.Item(3188, 750) : new Items.Item(3128, 750); _spellQ = new Spell(SpellSlot.Q, 990); _spellW = new Spell(SpellSlot.W, 795 - 95); _spellE = new Spell(SpellSlot.E, 1000 - 10); _spellR = new Spell(SpellSlot.R, 1000 - 100); _spellQ.SetSkillshot(.215f, 100, 1600f, false, SkillshotType.SkillshotLine); _spellW.SetSkillshot(.71f, _spellW.Range, float.MaxValue, false, SkillshotType.SkillshotLine); _spellE.SetSkillshot(.23f, 60, 1500f, true, SkillshotType.SkillshotLine); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue<bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue<bool>(); }; Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Game.PrintChat("<font color=\"#1eff00\">AhriSharp by Beaving</font> - <font color=\"#00BFFF\">Loaded</font>"); }
static void Game_OnGameLoad(EventArgs args) { _menu = new Menu("Standalone Orbwalker","Orb",true); var orbMenu = new Menu("Orbwalker", "orbStand"); _orbwalker = new Orbwalking.Orbwalker(orbMenu); _menu.AddSubMenu(orbMenu); _menu.AddToMainMenu(); }
public static void OnLoad() { Config = new Menu(Menuname, Menuname, true); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); var combomenu = new Menu("Combo Settings", "Combo Settings"); { combomenu.AddItem(new MenuItem("qmodes", "Q Modes")) .SetValue(new StringList(new[] {"Q To Mouse", "Safe Q", "Dont Use Q"})); AddBool(combomenu, "Use W", "usew", true); AddBool(combomenu, "Use E", "use", true); AddBool(combomenu, "Focus E target", "focusetarget", true); AddBool(combomenu, "Use R", "user", true); AddValue(combomenu, "Minimum Allies in Range R", "minallies", 2, 1, 5); AddValue(combomenu, "Minimum Enemies in Range R", "minenemies", 2, 1, 5); AddValue(combomenu, "Min HP To R", "minhpr", 30); } Config.AddSubMenu(combomenu); var laneclear = new Menu("Lane Clear Settings", "Lane Clear Settings"); { AddBool(laneclear, "Use [Q]", "useql", true); AddBool(laneclear, "Use [W]", "usewl", true); AddBool(laneclear, "Use [E]", "useel", true); AddValue(laneclear, "[Q] Minion Slider", "qminslider", 3, 1, 10); AddValue(laneclear, "[W] Minion Slider", "wminslider", 3, 1, 10); AddValue(laneclear, "Min Mana", "minmana", 30); } Config.AddSubMenu(laneclear); var jungleclear = new Menu("Jungle Clear Settings", "Jungle Clear settings"); { AddBool(jungleclear, "Use [Q]", "useqjungleclear", true); AddBool(jungleclear, "Use [W]", "usewjungleclear", true); AddBool(jungleclear, "Use [E]", "useejungleclear", true); } Config.AddSubMenu(jungleclear); var drawmenu = new Menu("Drawing Settings", "Drawing Settings"); { AddBool(drawmenu, "Enable Drawings", "draws", true); AddBool(drawmenu, "Draw [Q]", "drawq", true); AddBool(drawmenu, "Draw [W]", "draww", true); AddBool(drawmenu, "Draw [E]", "drawe", true); AddBool(drawmenu, "Draw [R]", "drawr", true); } Config.AddSubMenu(drawmenu); AddKeyBind(Config, "Wall Hops", "wallhops", 'Z', KeyBindType.Press); Config.AddToMainMenu(); }
static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Irelia") return; Q = new Spell(SpellSlot.Q, 650f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 425f); R = new Spell(SpellSlot.R, 1000f); R.SetSkillshot(.25f, 65f, 1000f, false, SkillshotType.SkillshotLine); Menu = new Menu(Player.ChampionName, Player.ChampionName, true); Menu orbwalkerMenu = Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); TargetSelector.AddToMenu(ts); Menu spellMenu = Menu.AddSubMenu(new Menu("Spells", "Spells")); spellMenu.AddItem(new MenuItem("useQ", "use Q").SetValue(true)); spellMenu.AddItem( new MenuItem("useQdistance", "Use Q if enemy > X distance").SetValue(new Slider(450, 0, 650))); spellMenu.AddItem(new MenuItem("useQchase", "Use Q to chase?").SetValue(true)); spellMenu.AddItem(new MenuItem("qchasekey", "Key to chase").SetValue(new KeyBind('G', KeyBindType.Press))); spellMenu.AddItem(new MenuItem("useQflee", "Use Q to flee?").SetValue(true)); spellMenu.AddItem(new MenuItem("qfleekey", "Key to flee").SetValue(new KeyBind('Z', KeyBindType.Press))); spellMenu.AddItem(new MenuItem("useW", "use W").SetValue(true)); spellMenu.AddItem(new MenuItem("useWhp", "Use W at % hp").SetValue(new Slider(70, 0, 100))); spellMenu.AddItem(new MenuItem("useE", "use E").SetValue(true)); spellMenu.AddItem(new MenuItem("useEstunonly", "Only use E to stun?").SetValue(false)); spellMenu.AddItem(new MenuItem("useEflee", "Use E to flee?").SetValue(true)); spellMenu.AddItem(new MenuItem("useR", "use R").SetValue(true)); spellMenu.AddItem(new MenuItem("useRhp", "Use R at % hp").SetValue(new Slider(70, 0, 100))); spellMenu.AddItem(new MenuItem("useRdistance", "Use R if target >= X distance away").SetValue(new Slider(500, 0, 1000))); spellMenu.AddItem(new MenuItem("useRnologic", "Use R in combo no matter what").SetValue(false)); Menu Drawings = Menu.AddSubMenu(new Menu("Drawings", "Drawings")); Drawings.AddItem(new MenuItem("drawQ", "Draw Q").SetValue(true)); Drawings.AddItem(new MenuItem("drawE", "Draw E").SetValue(true)); Drawings.AddItem(new MenuItem("drawR", "Draw R").SetValue(true)); Menu Farm = Menu.AddSubMenu(new Menu("Farming", "Farming")); Farm.AddItem(new MenuItem("qFarm", "Use Q for last hitting").SetValue(false)); Farm.AddItem(new MenuItem("qFarmMana", "Min % mana to lasthit with Q").SetValue(new Slider(60, 1, 100))); Farm.AddItem(new MenuItem("qClear", "Use Q for laneclear").SetValue(true)); Farm.AddItem(new MenuItem("qClearMana", "Min % mana to laneclear with Q").SetValue(new Slider(30, 1, 100))); Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Drawing.OnDraw += Drawing_OnDraw; var lel = Menu.AddSubMenu((new Menu("Dont use E on", "DontE"))); foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.IsEnemy)) lel.AddItem(new MenuItem("DontE" + enemy.ChampionName, enemy.ChampionName).SetValue(false)); Menu.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; }
private static void Game_OnGameStart(EventArgs args) { config = new Menu("Plain orbwalker", "main", true); Menu orb = config.AddSubMenu(new Menu("Orbwalker", "main.orbwalker")); orbwalker = new Orbwalking.Orbwalker(orb); Menu targetSelector = config.AddSubMenu(new Menu("Target selector", "main.targetselector")); TargetSelector.AddToMenu(targetSelector); config.AddToMainMenu(); }
/// <summary> /// Initializes a new instance of the <see cref="Item" /> class. /// </summary> /// <param name="orbwalker"> /// The orbwalker. /// </param> public Item(Orbwalking.Orbwalker orbwalker) { Orbwalker=orbwalker; _offensive=new Offensive(); _defensive=new Defensive(); Orbwalking.AfterAttack+=After_Attack; Orbwalking.BeforeAttack+=Before_Attack; Game.OnUpdate+=OnUpdate; }
static void OnLoad(EventArgs args) { RootMenu = new Menu("CarryAshe", "CarryAsheMenu", true); var orbwalkerMenu = new Menu("Orbwalker", "orbwalker"); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); RootMenu.AddSubMenu(orbwalkerMenu); RootMenu.AddSubMenu(ItemManager.Menu); Champion.OnLoad(args); }
public void Update(LeagueSharp.Common.Orbwalking.Orbwalker orb) { }
private static void Game_OnGameLoad(EventArgs args) { AutoUpdater.InitializeUpdater(); Helper = new Helper(); Menu = new Menu("UltimateCarry", "UltimateCarry_" + ObjectManager.Player.ChampionName, true); var targetSelectorMenu = new Menu("Target Selector", "TargetSelector"); SimpleTs.AddToMenu(targetSelectorMenu); Menu.AddSubMenu(targetSelectorMenu); var orbwalking = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(orbwalking); //var overlay = new Overlay(); var potionManager = new PotionManager(); var activator = new Activator(); var bushRevealer = new AutoBushRevealer(); new BaseUlt(); try { var handle = System.Activator.CreateInstance(null, "UltimateCarry." + ObjectManager.Player.ChampionName); Champion = (Champion) handle.Unwrap(); } catch (Exception) { //Champion = new Champion(); //Champ not supported } Menu.AddToMainMenu(); }