private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Jax") { return; } Q = new Spell(SpellSlot.Q, 680f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); Q.SetTargetted(0.50f, 75f); Items = new Items(); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Create the menu Config = new Menu("xQx | Jax", "Jax", true); AssassinManager = new AssassinManager(); AssassinManager.Load(); Sprite.Load(); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Orbwalker.SetAttack(true); // Combo var menuCombo = new Menu("Combo", "Combo"); menuCombo.AddItem(new MenuItem("ComboUseQMinRange", "Min. Q Range").SetValue(new Slider(250, (int)Q.Range))); menuCombo.AddItem( new MenuItem("Combo.CastE", "E Setting:").SetValue( new StringList(new[] { "Cast E Before Q Jump", "Cast E After Q Jump" }, 1))); menuCombo.AddItem( new MenuItem("ComboActive", "Combo!").SetValue( new KeyBind(Config.Item("Orbwalk").GetValue <KeyBind>().Key, KeyBindType.Press)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); Config.AddSubMenu(menuCombo); // Harass Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass") .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+W", "Q+E", "Default" }))); 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)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // Lane Clear Config.AddSubMenu(new Menu("LaneClear", "LaneClear")); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false)); Config.SubMenu("LaneClear") .AddItem(new MenuItem("UseQLaneClearDontUnderTurret", "Don't Under Turret Q").SetValue(true)); 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("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)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // 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)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); ; // Misc var misc = new Menu("Misc", "Misc"); { misc.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true)); misc.AddItem(new MenuItem("Misc.AutoW", "Auto Hit W if possible").SetValue(true)) .Permashow(true, "Jax| Auto hit W if possible"); Config.AddSubMenu(misc); } Extra = new Extra(); Utils = new Utils(); PlayerSpells.Initialize(); // Drawing Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawQRange", "Q range").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem(new MenuItem("DrawQMinRange", "Min. Q range").SetValue(new Circle(true, Color.GreenYellow))); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawWard", "Ward Range").SetValue( new Circle(false, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); /* [ Damage After Combo ] */ 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>(); }; Config.AddItem( new MenuItem("Ward", "Ward Jump / Flee").SetValue(new KeyBind('A', KeyBindType.Press)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); Config.AddToMainMenu(); map = new Map(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Orbwalking.BeforeAttack += OrbwalkingBeforeAttack; Obj_AI_Base.OnBuffRemove += (sender, eventArgs) => { if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "sheen") { shenBuffActive = false; } if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "jaxcounterstrike") { eCounterStrike = false; } }; Obj_AI_Base.OnBuffAdd += (sender, eventArgs) => { if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "sheen") { shenBuffActive = true; } if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "jaxcounterstrike") { eCounterStrike = true; } }; Notifications.AddNotification(String.Format("{0} Loaded", ChampionName), 4000); }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Jax") return; Q = new Spell(SpellSlot.Q, 680f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); Q.SetTargetted(0.50f, 75f); Items = new Items(); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Create the menu Config = new Menu("xQx | Jax", "Jax", true); AssassinManager = new AssassinManager(); AssassinManager.Load(); Sprite.Load(); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Orbwalker.SetAttack(true); // Combo var menuCombo = new Menu("Combo", "Combo"); menuCombo.AddItem(new MenuItem("ComboUseQMinRange", "Min. Q Range").SetValue(new Slider(250, (int)Q.Range))); menuCombo.AddItem( new MenuItem("Combo.CastE", "E Setting:").SetValue( new StringList(new[] { "Cast E Before Q Jump", "Cast E After Q Jump" }, 1))); menuCombo.AddItem( new MenuItem("ComboActive", "Combo!").SetValue( new KeyBind(Config.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); Config.AddSubMenu(menuCombo); // Harass Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass") .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+W", "Q+E", "Default" }))); 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)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // Lane Clear Config.AddSubMenu(new Menu("LaneClear", "LaneClear")); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false)); Config.SubMenu("LaneClear") .AddItem(new MenuItem("UseQLaneClearDontUnderTurret", "Don't Under Turret Q").SetValue(true)); 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("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)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // 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)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); ; // Misc var misc = new Menu("Misc", "Misc"); { misc.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true)); misc.AddItem(new MenuItem("Misc.AutoW", "Auto Hit W if possible").SetValue(true)) .Permashow(true, "Jax| Auto hit W if possible"); Config.AddSubMenu(misc); } Extra = new Extra(); Utils = new Utils(); PlayerSpells.Initialize(); // Drawing Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawQRange", "Q range").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem(new MenuItem("DrawQMinRange", "Min. Q range").SetValue(new Circle(true, Color.GreenYellow))); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawWard", "Ward Range").SetValue( new Circle(false, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); /* [ Damage After Combo ] */ 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>(); }; Config.AddItem( new MenuItem("Ward", "Ward Jump / Flee").SetValue(new KeyBind('A', KeyBindType.Press)) .SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); Config.AddToMainMenu(); map = new Map(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Orbwalking.BeforeAttack += OrbwalkingBeforeAttack; Obj_AI_Base.OnBuffRemove += (sender, eventArgs) => { if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "sheen") { shenBuffActive = false; } if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "jaxcounterstrike") { eCounterStrike = false; } }; Obj_AI_Base.OnBuffAdd += (sender, eventArgs) => { if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "sheen") { shenBuffActive = true; } if (sender.IsMe && eventArgs.Buff.Name.ToLower() == "jaxcounterstrike") { eCounterStrike = true; } }; Notifications.AddNotification(String.Format("{0} Loaded", ChampionName), 4000); }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Jax") return; Q = new Spell(SpellSlot.Q, 680f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); Q.SetTargetted(0.50f, 75f); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); igniteSlot = Player.GetSpellSlot("SummonerDot"); //Create the menu Config = new Menu("xQx | Jax", "Jax", true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); AssassinManager = new AssassinManager(); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Orbwalker.SetAttack(true); // Combo Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo") .AddItem(new MenuItem("ComboUseQMinRange", "Min. Q Range").SetValue(new Slider(250, (int)Q.Range))); 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")); Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass") .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+W", "Q+E", "Default" }))); 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")); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false)); Config.SubMenu("LaneClear") .AddItem(new MenuItem("UseQLaneClearDontUnderTurret", "Don't Under Turret Q").SetValue(true)); 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("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))); // Extra MenuExtras = new Menu("Extras", "Extras"); Config.AddSubMenu(MenuExtras); MenuExtras.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true)); // Drawing Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawQRange", "Q range").SetValue( new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawQMinRange", "Min. Q range").SetValue( new Circle(true, System.Drawing.Color.GreenYellow))); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawWard", "Ward Range").SetValue( new Circle(false, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); /* [ Damage After Combo ] */ 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>(); }; Config.AddItem( new MenuItem("Ward", "Ward Jump / Flee").SetValue( new KeyBind('A', KeyBindType.Press))); Config.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Notifications.AddNotification(String.Format("{0} Loaded", ChampionName), 4000); }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Jax") { return; } Q = new Spell(SpellSlot.Q, 680f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); Q.SetTargetted(0.50f, 75f); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); igniteSlot = Player.GetSpellSlot("SummonerDot"); //Create the menu Config = new Menu("xQx | Jax", "Jax", true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); AssassinManager = new AssassinManager(); Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); Orbwalker.SetAttack(true); // Combo Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo") .AddItem(new MenuItem("ComboUseQMinRange", "Min. Q Range").SetValue(new Slider(250, (int)Q.Range))); Config.SubMenu("Combo") .AddItem( new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(Config.Item("Orbwalk").GetValue <KeyBind>().Key, KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // Harass Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass") .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+W", "Q+E", "Default" }))); 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)).SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // Lane Clear Config.AddSubMenu(new Menu("LaneClear", "LaneClear")); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(false)); Config.SubMenu("LaneClear") .AddItem(new MenuItem("UseQLaneClearDontUnderTurret", "Don't Under Turret Q").SetValue(true)); 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("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)).SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); // 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)).SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow));; // Extra MenuExtras = new Menu("Extras", "Extras"); Config.AddSubMenu(MenuExtras); MenuExtras.AddItem(new MenuItem("InterruptSpells", "Interrupt Spells").SetValue(true)); // Drawing Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawQRange", "Q range").SetValue( new Circle(true, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawQMinRange", "Min. Q range").SetValue( new Circle(true, System.Drawing.Color.GreenYellow))); Config.SubMenu("Drawings") .AddItem( new MenuItem("DrawWard", "Ward Range").SetValue( new Circle(false, System.Drawing.Color.FromArgb(255, 255, 255, 255)))); /* [ Damage After Combo ] */ 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>(); }; Config.AddItem( new MenuItem("Ward", "Ward Jump / Flee").SetValue(new KeyBind('A', KeyBindType.Press)).SetFontStyle(FontStyle.Regular, SharpDX.Color.GreenYellow)); Config.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Notifications.AddNotification(String.Format("{0} Loaded", ChampionName), 4000); }