public Azir() { SpellManager.Q = new Spell(SpellSlot.Q, 1150); SpellManager.Q2 = new Spell(SpellSlot.Q, 875); SpellManager.W = new Spell(SpellSlot.W, 450); SpellManager.E = new Spell(SpellSlot.E, 1100); SpellManager.R = new Spell(SpellSlot.R, 450); SpellManager.R2 = new Spell(SpellSlot.R); SpellManager.Q.SetSkillshot(0, 80, 1600, false, SkillshotType.SkillshotCircle); SpellManager.Q2.SetSkillshot(0, 80, 1600, false, SkillshotType.SkillshotCircle); SpellManager.E.SetSkillshot(0.25f, 100, 1200, false, SkillshotType.SkillshotLine); SpellManager.R.SetSkillshot(0.5f, 700, 1400, false, SkillshotType.SkillshotLine); SpellManager.SpellList.Add(Q); SpellManager.SpellList.Add(W); SpellManager.SpellList.Add(E); SpellManager.SpellList.Add(R); var spell = new Menu("Spell", "Spell"); { var qMenu = new Menu("QSpell", "QSpell"); { qMenu.AddItem(new MenuItem("qOutRange", "Only Use When target out of range", true).SetValue(true)); qMenu.AddItem(new MenuItem("qMulti", "Q if 2+ Soldier", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); spell.AddSubMenu(qMenu); } var wMenu = new Menu("WSpell", "WSpell"); { wMenu.AddItem(new MenuItem("wAtk", "Always Atk Enemy", true).SetValue(true)); spell.AddSubMenu(wMenu); } var eMenu = new Menu("ESpell", "ESpell"); { eMenu.AddItem(new MenuItem("eKill", "If Killable Combo", true).SetValue(false)); eMenu.AddItem(new MenuItem("eKnock", "Always Knockup/DMG", true).SetValue(false)); eMenu.AddItem(new MenuItem("eHP", "if HP >", true).SetValue(new Slider(100))); spell.AddSubMenu(eMenu); } var rMenu = new Menu("RSpell", "RSpell"); { rMenu.AddItem(new MenuItem("rHP", "if HP <", true).SetValue(new Slider(20))); rMenu.AddItem(new MenuItem("rWall", "R Enemy Into Wall", true).SetValue(true)); spell.AddSubMenu(rMenu); } Menu.AddSubMenu(spell); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(false)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 60); Menu.AddSubMenu(harass); } var killSteal = new Menu("KillSteal", "KillSteal"); { killSteal.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); killSteal.AddItem(new MenuItem("eKS", "Use E KS", true).SetValue(false)); killSteal.AddItem(new MenuItem("wqKS", "Use WQ KS", true).SetValue(true)); killSteal.AddItem(new MenuItem("qeKS", "Use WQE KS", true).SetValue(false)); killSteal.AddItem(new MenuItem("rKS", "Use R KS", true).SetValue(true)); Menu.AddSubMenu(killSteal); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("qFarm", "Only Q if > minion", true).SetValue(new Slider(3, 0, 5))); ManaManager.AddManaManagertoMenu(farm, "Farm", 50); Menu.AddSubMenu(farm); } var Jungle = new Menu("JungleClear", "JungleClear"); { Jungle.AddItem(new MenuItem("UseQJungle", "Use Q", true).SetValue(true)); Jungle.AddItem(new MenuItem("UseWJungle", "Use W", true).SetValue(true)); ManaManager.AddManaManagertoMenu(Jungle, "Jungle", 50); Menu.AddSubMenu(Jungle); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, false, false, true)); misc.AddItem(new MenuItem("qeCombo", "Q->E stun Nearest target", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); misc.AddItem(new MenuItem("UseInt", "Use E to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use R for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("FleeDelay", "Escape Delay Decrease", true).SetValue(new Slider(0, 0, 300))); misc.AddItem(new MenuItem("insec", "Insec Selected target", true).SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Press))); misc.AddItem(new MenuItem("InsecMode", "Insec Mode: ", true).SetValue(new StringList(new[] { "Player Position", "Cursor" }, 1))); Menu.AddSubMenu(misc); } //Drawings menu: var draw = new Menu("Drawings", "Drawings"); { draw.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("InsecPos", "Insec Position", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); draw.AddItem(drawComboDamageMenu); draw.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(draw); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Escape Active: ", "Flee")); customMenu.AddItem(myCust.AddToMenu("Insec Active: ", "insec")); customMenu.AddItem(myCust.AddToMenu("Q when 2+ Only: ", "qMulti")); Menu.AddSubMenu(customMenu); } }
public Karthus() { SpellManager.Q = new Spell(SpellSlot.Q, 875); SpellManager.W = new Spell(SpellSlot.W, 1000); SpellManager.E = new Spell(SpellSlot.E, 520); SpellManager.R = new Spell(SpellSlot.R); SpellManager.Q.SetSkillshot(.5f, 190f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.W.SetSkillshot(0.25f, 50f, 1600f, false, SkillshotType.SkillshotCircle); SpellManager.R.SetSkillshot(3f, float.MaxValue, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(SpellManager.Q); SpellList.Add(SpellManager.W); SpellList.Add(SpellManager.E); SpellList.Add(SpellManager.R); var spells = new Menu("Spell", "Spell"); { var qMenu = new Menu("QSpell", "QSpell"); { qMenu.AddItem(new MenuItem("qImmo", "Auto Q Immobile", true).SetValue(true)); qMenu.AddItem(new MenuItem("qDash", "Auto Q Dashing", true).SetValue(true)); spells.AddSubMenu(qMenu); } var wMenu = new Menu("WSpell", "WSpell"); { wMenu.AddItem(new MenuItem("wTower", "Auto W Enemy in Tower", true).SetValue(true)); ManaManager.AddManaManagertoMenu(wMenu, "WMana", 30); spells.AddSubMenu(wMenu); } var eMenu = new Menu("ESpell", "ESpell"); { eMenu.AddItem(new MenuItem("eManaCombo", "Min Mana Combo", true).SetValue(new Slider(10))); eMenu.AddItem(new MenuItem("eManaHarass", "Min Mana Harass", true).SetValue(new Slider(70))); eMenu.AddItem(new MenuItem("EDelay", "E Delay Before Turning Off (Milliseconds)", true).SetValue(new Slider(100, 0, 2000))); spells.AddSubMenu(eMenu); } var rMenu = new Menu("RSpell", "RSpell"); { rMenu.AddItem(new MenuItem("rPing", "Ping if Enemy Is Killable", true).SetValue(true)); spells.AddSubMenu(rMenu); } Menu.AddSubMenu(spells); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(harass, "Farm", 30); Menu.AddSubMenu(farm); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, false)); misc.AddItem(new MenuItem("wTar", "Cast W On Selected", true).SetValue(new KeyBind("W".ToCharArray()[0], KeyBindType.Press))); misc.AddItem(new MenuItem("UseGap", "Use W for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); Menu.AddSubMenu(misc); } var drawMenu = new Menu("Drawings", "Drawings"); { drawMenu.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("drawUlt", "Killable With ult", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); //DamageIndicator.DamageToUnit = GetComboDamage; //DamageIndicator.Enabled = drawComboDamageMenu.GetValue<bool>(); //DamageIndicator.Fill = drawFill.GetValue<Circle>().Active; //DamageIndicator.FillColor = drawFill.GetValue<Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("W Target Active: ", "wTar")); customMenu.AddItem(myCust.AddToMenu("Lasthit Q Active: ", "LastHit")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("R_Nearest_Killable", "R Nearest Killable", true).SetValue(new KeyBind("R".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("Force_R", "Force R Lowest", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Max_Range", "Q Max Range", true).SetValue(new Slider(1050, 500, 1200))); qMenu.AddItem(new MenuItem("Auto_Q_Slow", "Auto W Slow", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Immobile", "Auto W Immobile", true).SetValue(true)); spellMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem( new MenuItem("W_Max_Range", "W Max Range Sliders", true).SetValue(new Slider(900, 500, 1050))); spellMenu.AddSubMenu(wMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("E_On_Killable", "E if enemy Killable", true).SetValue(true)); eMenu.AddItem(new MenuItem("E_On_Safe", "E Safety check", true).SetValue(true)); spellMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_Min_Range", "R Min Range Sliders", true).SetValue(new Slider(300, 0, 1000))); rMenu.AddItem(new MenuItem("R_Max_Range", "R Max Range Sliders", true).SetValue(new Slider(2000, 0, 4000))); rMenu.AddSubMenu(new Menu("Don't use R on", "Dont_R")); foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team) ) { rMenu.SubMenu("Dont_R") .AddItem(new MenuItem("Dont_R" + enemy.CharData.BaseSkinName, enemy.CharData.BaseSkinName, true).SetValue(false)); } spellMenu.AddSubMenu(rMenu); } menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); //add to menu menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); //add to menu menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddItem(new MenuItem("Misc_Use_WE", "Cast WE to mouse", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); //aoe miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, true, false, true)); //add to menu menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R_Killable", "Draw R Mark on Killable", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("R Nearest Kill: ", "R_Nearest_Killable")); customMenu.AddItem(myCust.AddToMenu("Force R: ", "Force_R")); menu.AddSubMenu(customMenu); } }
public Syndra() { SpellManager.Q = new Spell(SpellSlot.Q, 800); SpellManager.W = new Spell(SpellSlot.W, 950); SpellManager.E = new Spell(SpellSlot.E, 700); SpellManager.R = new Spell(SpellSlot.R, 750); SpellManager.QE = new Spell(SpellSlot.Q, 1250); SpellManager.Q.SetSkillshot(.5f, 130f, 2000f, false, SkillshotType.SkillshotCircle); SpellManager.W.SetSkillshot(.25f, 140f, 1600f, false, SkillshotType.SkillshotCircle); SpellManager.E.SetSkillshot(.25f, (float)(45 * 0.5), 2500f, false, SkillshotType.SkillshotCircle); SpellManager.QE.SetSkillshot(.900f, 70f, 2100f, false, SkillshotType.SkillshotCircle); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseQECombo", "Use QE", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseQEHarass", "Use QE", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); Menu.AddSubMenu(farm); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("forceR", "Force R to best Target", true).SetValue(new KeyBind("R".ToCharArray()[0], KeyBindType.Press))); rMenu.AddItem(new MenuItem("R_Overkill_Check", "Overkill Check", true).SetValue(true)); rMenu.AddSubMenu(new Menu("Don't use R on", "Dont_R")); foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { rMenu.SubMenu("Dont_R").AddItem(new MenuItem("Dont_R" + enemy.CharData.BaseSkinName, enemy.ChampionName, true).SetValue(false)); } Menu.AddSubMenu(rMenu); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, true, false)); miscMenu.AddItem(new MenuItem("Q_Auto_Immobile", "Auto Q on Immobile", true).SetValue(true)); miscMenu.AddItem(new MenuItem("W_Only_Orb", "Use W| Only Pick Up Orb", true).SetValue(false)); miscMenu.AddItem(new MenuItem("E_Gap_Closer", "Use E On Gap Closer", true).SetValue(true)); miscMenu.AddItem(new MenuItem("Misc_QE_Mouse", "QE to Nearest Target To Mouse", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); miscMenu.AddItem(new MenuItem("Misc_QE_Mouse2", "QE to Mouse", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); miscMenu.AddItem(new MenuItem("QE_Interrupt", "Use QE to Interrupt", true).SetValue(true)); miscMenu.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_QE", "Draw QE", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_QE_Line", "Draw QE Line", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R_Killable", "Draw R Mark on Killable", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("QE Nearest Active: ", "Misc_QE_Mouse")); customMenu.AddItem(myCust.AddToMenu("QE Mouse Active: ", "Misc_QE_Mouse2")); customMenu.AddItem(myCust.AddToMenu("Force R Active: ", "forceR")); Menu.AddSubMenu(customMenu); } }
public Jayce() { SpellManager.Q = new Spell(SpellSlot.Q, 1050f); SpellManager.QExtend = new Spell(SpellSlot.Q, 1650f); SpellManager.Q2 = new Spell(SpellSlot.Q, 600f); SpellManager.W = new Spell(SpellSlot.W); SpellManager.W2 = new Spell(SpellSlot.W, 350f); SpellManager.E = new Spell(SpellSlot.E, 650f); SpellManager.E2 = new Spell(SpellSlot.E, 240f); SpellManager.R = new Spell(SpellSlot.R); SpellManager.Q.SetSkillshot(0.25f, 79f, 1200f, true, SkillshotType.SkillshotLine); SpellManager.QExtend.SetSkillshot(0.35f, 98f, 1900f, true, SkillshotType.SkillshotLine); SpellManager.Q2.SetTargetted(0.25f, float.MaxValue); SpellManager.E.SetSkillshot(0.1f, 120, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.E2.SetTargetted(.25f, float.MaxValue); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Cannon Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use Cannon W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use Cannon E", true).SetValue(true)); combo.AddItem(new MenuItem("UseQComboHam", "Use Hammer Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWComboHam", "Use Hammer W", true).SetValue(true)); combo.AddItem(new MenuItem("UseEComboHam", "Use Hammer E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R to Switch", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("UseQHarassHam", "Use Q Hammer", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarassHam", "Use W Hammer", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarassHam", "Use E Hammer", true).SetValue(true)); harass.AddItem(new MenuItem("UseRHarass", "Use R to switch", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 60); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseRFarm", "Use R to switch", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); Menu.AddSubMenu(farm); } var jungle = new Menu("JungleClear", "JungleClear"); { jungle.AddItem(new MenuItem("UseQJungle", "Use Q", true).SetValue(true)); jungle.AddItem(new MenuItem("UseWJungle", "Use W", true).SetValue(true)); jungle.AddItem(new MenuItem("UseEJungle", "Use E", true).SetValue(true)); jungle.AddItem(new MenuItem("UseQJungleHam", "Use Q Hammer", true).SetValue(true)); jungle.AddItem(new MenuItem("UseWJungleHam", "Use W Hammer", true).SetValue(true)); jungle.AddItem(new MenuItem("UseEJungleHam", "Use E Hammer", true).SetValue(true)); jungle.AddItem(new MenuItem("UseRJungle", "Use R to switch", true).SetValue(true)); ManaManager.AddManaManagertoMenu(jungle, "JungleClear", 30); Menu.AddSubMenu(jungle); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, false, false, false, true)); misc.AddItem(new MenuItem("shoottheQE", "Shoot QE", true).SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press))); misc.AddItem( new MenuItem("shootmode", "Shoot QE Mode", true).SetValue(new StringList(new[] { "Target", "Mouse" }))); misc.AddItem(new MenuItem("UseInt", "Use E to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use E for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("forceGate", "Force Gate After Q", true).SetValue(false)); misc.AddItem(new MenuItem("gatePlace", "Gate Distance", true).SetValue(new Slider(50, 50, 600))); misc.AddItem(new MenuItem("UseQAlways", "Use Q When E onCD", true).SetValue(true)); misc.AddItem(new MenuItem("autoE", "EPushInCombo HP < %", true).SetValue(new Slider(20))); misc.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); Menu.AddSubMenu(misc); } var drawMenu = new Menu("Drawings", "Drawings"); { drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_QExtend", "Draw Q Cannon Extended", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(false)); drawMenu.AddItem(new MenuItem("drawcds", "Draw Cooldowns", true).SetValue(false)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("LaneClear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Flee Active: ", "Flee")); customMenu.AddItem(myCust.AddToMenu("Shoot QE: ", "shoottheQE")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("escape", "Escape", true).SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("insec", "Insec Selected target", true).SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("qeCombo", "Q->E stun Nearest target", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("qMulti", "Q if 2+ Soilder", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); //add to menu menu.AddSubMenu(key); } //Spell Menu var spell = new Menu("Spell", "Spell"); { var qMenu = new Menu("QSpell", "QSpell"); { qMenu.AddItem(new MenuItem("qOutRange", "Only Use When target out of range", true).SetValue(true)); spell.AddSubMenu(qMenu); } //W Menu var wMenu = new Menu("WSpell", "WSpell"); { wMenu.AddItem(new MenuItem("wAtk", "Always Atk Enemy", true).SetValue(true)); spell.AddSubMenu(wMenu); } //E Menu var eMenu = new Menu("ESpell", "ESpell"); { eMenu.AddItem(new MenuItem("eKill", "If Killable Combo", true).SetValue(false)); eMenu.AddItem(new MenuItem("eKnock", "Always Knockup/DMG", true).SetValue(false)); eMenu.AddItem(new MenuItem("eHP", "if HP >", true).SetValue(new Slider(100))); spell.AddSubMenu(eMenu); } //R Menu var rMenu = new Menu("RSpell", "RSpell"); { rMenu.AddItem(new MenuItem("rHP", "if HP <", true).SetValue(new Slider(20))); rMenu.AddItem(new MenuItem("rWall", "R Enemy Into Wall", true).SetValue(true)); spell.AddSubMenu(rMenu); } menu.AddSubMenu(spell); } //Combo menu: var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, false, false)); menu.AddSubMenu(combo); } //Harass menu: var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(false)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, false, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 60); menu.AddSubMenu(harass); } //killsteal var killSteal = new Menu("KillSteal", "KillSteal"); { killSteal.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); killSteal.AddItem(new MenuItem("eKS", "Use E KS", true).SetValue(false)); killSteal.AddItem(new MenuItem("wqKS", "Use WQ KS", true).SetValue(true)); killSteal.AddItem(new MenuItem("qeKS", "Use WQE KS", true).SetValue(false)); killSteal.AddItem(new MenuItem("rKS", "Use R KS", true).SetValue(true)); menu.AddSubMenu(killSteal); } //farm menu var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("qFarm", "Only Q if > minion", true).SetValue(new Slider(3, 0, 5))); ManaManager.AddManaManagertoMenu(farm, "Farm", 50); menu.AddSubMenu(farm); } //Misc Menu: var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, false, false, true)); misc.AddItem(new MenuItem("UseInt", "Use E to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use R for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("escapeDelay", "Escape Delay Decrease", true).SetValue(new Slider(0, 0, 300))); menu.AddSubMenu(misc); } //Drawings menu: var draw = new Menu("Drawings", "Drawings"); { draw.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); draw.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); draw.AddItem(drawComboDamageMenu); draw.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(draw); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("Escape Active: ", "escape")); customMenu.AddItem(myCust.AddToMenu("Insec Active: ", "insec")); customMenu.AddItem(myCust.AddToMenu("Q when 2+ Only: ", "qMulti")); menu.AddSubMenu(customMenu); } }
private void LoadMenu() { var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Poison", "Auto Q Poison Target", true).SetValue(true)); qMenu.AddItem(new MenuItem("ForceE", "Require to use E first if Enemy is in E range", true).SetValue(false)); spellMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem(new MenuItem("W_If_HP", "W If HP <= ", true).SetValue(new Slider(50))); wMenu.AddItem(new MenuItem("W_Always", "Always W At start Of Combo", true).SetValue(false)); spellMenu.AddSubMenu(wMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_Safe_Net", "Do not ult into >= enemies after swap", true).SetValue(new Slider(2, 0, 5))); rMenu.AddItem(new MenuItem("R_If_UnderTurret", "Ult Enemy If they are under ally Turret", true).SetValue(true)); rMenu.AddItem(new MenuItem("R_On_Killable", "Ult Enemy If they are Killable", true).SetValue(true)); rMenu.AddSubMenu(new Menu("Don't use R on", "Dont_R")); foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team) ) { rMenu.SubMenu("Dont_R") .AddItem(new MenuItem("Dont_R" + enemy.BaseSkinName, enemy.BaseSkinName, true).SetValue(false)); } spellMenu.AddSubMenu(rMenu); } menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, true, false)); menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, true, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 50); menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { //aoe miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, false, true, false)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); //add to menu menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); menu.AddSubMenu(customMenu); } }
private void LoadMenu() { var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("Flee", "Flee!", true).SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Auto_Q_Slow", "Auto Q Slow", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Dashing", "Auto Q Dashing", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Immobile", "Auto Q Immobile", true).SetValue(true)); spellMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem(new MenuItem("W_On_Cc", "W On top of Hard CC", true).SetValue(true)); spellMenu.AddSubMenu(wMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("E_If_UnderTurret", "E Under Enemy Turret", true).SetValue(new KeyBind("H".ToCharArray()[0], KeyBindType.Toggle))); eMenu.AddItem(new MenuItem("Do_Not_E", "Do not E if >= Enemies Around location", true).SetValue(new Slider(3, 1, 5))); eMenu.AddItem(new MenuItem("Do_Not_E_HP", "Do not E if HP <= %", true).SetValue(new Slider(20))); spellMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_Safe_Net", "R If Player Take % dmg > in Past 4 Seconds", true).SetValue(new Slider(60))); rMenu.AddItem(new MenuItem("R_Safe_Net2", "R If Player HP <= %", true).SetValue(new Slider(10))); rMenu.AddItem(new MenuItem("R_AOE", "AOE R If Will Hit Holding Combo", true).SetValue(new Slider(3, 1, 5))); rMenu.AddItem(new MenuItem("R_AOE_Global", "AOE R If Will Hit Global check", true).SetValue(new Slider(4, 1, 5))); rMenu.AddItem(new MenuItem("No_R_Aoe", "Do not AOE if old HP <= %", true).SetValue(new Slider(15))); rMenu.AddItem(new MenuItem("R_On_Killable", "Ult Enemy If they are Killable with combo", true).SetValue(true)); rMenu.AddItem(new MenuItem("R_KS", "Smart R KS", true).SetValue(true)); spellMenu.AddSubMenu(rMenu); } menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, true, false)); menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, true, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("MinFarm", "Min Minion >= ", true).SetValue(new Slider(3, 1, 6))); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 50); menu.AddSubMenu(farm); } var flee = new Menu("Flee", "Flee"); { flee.AddItem(new MenuItem("UseQFlee", "Use Q", true).SetValue(true)); flee.AddItem(new MenuItem("UseWFlee", "Use W", true).SetValue(true)); flee.AddItem(new MenuItem("UseEFlee", "Use E", true).SetValue(true)); menu.AddSubMenu(flee); } var miscMenu = new Menu("Misc", "Misc"); { //aoe miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, true, false, false)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); miscMenu.AddItem(new MenuItem("UseInt", "Use W to Interrupt", true).SetValue(true)); miscMenu.AddItem(new MenuItem("UseGapQ", "Use Q for GapCloser", true).SetValue(true)); miscMenu.AddItem(new MenuItem("UseGapW", "Use W for GapCloser", true).SetValue(true)); //add to menu menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("Flee Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("E Turret Active: ", "Flee")); menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //key var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LastHitKey", "Last Hit!", true).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("Combo_Switch", "Switch mode Key", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Min_Distance", "Min range to Q", true).SetValue(new Slider(300, 0, 600))); qMenu.AddItem(new MenuItem("Q_Gap_Close", "Q Minion to Gap Close", true).SetValue(true)); spellMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem(new MenuItem("W_Incoming", "W Block incoming Atk Always", true).SetValue(true)); wMenu.AddItem(new MenuItem("W_Tower", "Don't W block under Tower", true).SetValue(true)); wMenu.AddItem(new MenuItem("W_minion", "W Block Minion", true).SetValue(false)); spellMenu.AddSubMenu(wMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("E_Reset", "E Auto-Attack Reset", true).SetValue(true)); spellMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_If_HP", "R If HP <=", true).SetValue(new Slider(20))); //evading spells var dangerous = new Menu("Dodge Dangerous", "Dodge Dangerous"); { foreach (var hero in ObjectManager.Get <Obj_AI_Hero>().Where(x => x.IsEnemy)) { dangerous.AddSubMenu(new Menu(hero.ChampionName, hero.ChampionName)); dangerous.SubMenu(hero.ChampionName).AddItem(new MenuItem(hero.Spellbook.GetSpell(SpellSlot.Q).Name + "R_Dodge", hero.Spellbook.GetSpell(SpellSlot.Q).Name, true).SetValue(false)); dangerous.SubMenu(hero.ChampionName).AddItem(new MenuItem(hero.Spellbook.GetSpell(SpellSlot.W).Name + "R_Dodge", hero.Spellbook.GetSpell(SpellSlot.W).Name, true).SetValue(false)); dangerous.SubMenu(hero.ChampionName).AddItem(new MenuItem(hero.Spellbook.GetSpell(SpellSlot.E).Name + "R_Dodge", hero.Spellbook.GetSpell(SpellSlot.E).Name, true).SetValue(false)); dangerous.SubMenu(hero.ChampionName).AddItem(new MenuItem(hero.Spellbook.GetSpell(SpellSlot.R).Name + "R_Dodge", hero.Spellbook.GetSpell(SpellSlot.R).Name, true).SetValue(false)); } rMenu.AddSubMenu(dangerous); } spellMenu.AddSubMenu(rMenu); } menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("Combo_mode", "Combo Mode", true).SetValue(new StringList(new[] { "Normal", "Q-AA-Q-AA-Ult" }))); combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); //add to menu menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); //add to menu menu.AddSubMenu(harass); } var lastHit = new Menu("Lasthit", "Lasthit"); { lastHit.AddItem(new MenuItem("UseQLastHit", "Use Q", true).SetValue(true)); ManaManager.AddManaManagertoMenu(lastHit, "Lasthit", 30); //add to menu menu.AddSubMenu(lastHit); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseQFarm_Tower", "Do not Q under Tower", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); //add to menu menu.AddSubMenu(farm); } var misc = new Menu("Misc", "Misc"); { misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); //add to menu menu.AddSubMenu(misc); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R_Killable", "Draw R Mark on Killable", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; //add to menu menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("LastHit Active: ", "LastHitKey")); menu.AddSubMenu(customMenu); } }
public Lissandra() { SpellManager.Q = new Spell(SpellSlot.Q, 725); SpellManager.QExtend = new Spell(SpellSlot.Q, 850); SpellManager.W = new Spell(SpellSlot.W, 450); SpellManager.E = new Spell(SpellSlot.E, 1050); SpellManager.R = new Spell(SpellSlot.R, 700); SpellManager.Q.SetSkillshot(0.50f, 100, 1300, false, SkillshotType.SkillshotLine); SpellManager.QExtend.SetSkillshot(0.50f, 150, 1300, true, SkillshotType.SkillshotLine); SpellManager.W.SetSkillshot(0.25f, 450, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.E.SetSkillshot(0.50f, 110, 850, false, SkillshotType.SkillshotLine); SpellManager.SpellList.Add(Q); SpellManager.SpellList.Add(W); SpellManager.SpellList.Add(E); SpellManager.SpellList.Add(R); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("alwaysR", "Always Cast R", true).SetValue(new KeyBind("H".ToCharArray()[0], KeyBindType.Toggle))); combo.AddItem(new MenuItem("rHp", "R if HP <", true).SetValue(new Slider(20))); combo.AddItem(new MenuItem("defR", "R Self if > enemy", true).SetValue(new Slider(3, 0, 5))); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(harass, "Farm", 30); Menu.AddSubMenu(farm); } var lastHit = new Menu("LastHit", "LastHit"); { lastHit.AddItem(new MenuItem("UseQLastHit", "Use Q", true).SetValue(true)); ManaManager.AddManaManagertoMenu(harass, "LastHit", 30); Menu.AddSubMenu(lastHit); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, true, true, false)); misc.AddItem(new MenuItem("stunMelles", "Stun Enemy Melle Range", true).SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle))); misc.AddItem(new MenuItem("stunTowers", "Stun Enemy under Tower", true).SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle))); misc.AddItem(new MenuItem("UseInt", "Use R to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use W for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); misc.AddItem(new MenuItem("UseHAM", "Always use E", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); misc.AddItem(new MenuItem("UseEGap", "Use E to Gap Close", true).SetValue(true)); misc.AddItem(new MenuItem("gapD", "Min Distance", true).SetValue(new Slider(600, 300, 1050))); Menu.AddSubMenu(misc); } var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("qExtend", "Extended Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("LastHit Q Active: ", "LastHitQQ")); customMenu.AddItem(myCust.AddToMenu("StunMelle Active: ", "stunMelles")); customMenu.AddItem(myCust.AddToMenu("StunTower Active: ", "stunTowers")); customMenu.AddItem(myCust.AddToMenu("Always R Active: ", "alwaysR")); customMenu.AddItem(myCust.AddToMenu("Always E Active: ", "UseHAM")); Menu.AddSubMenu(customMenu); } }
public Ahri() { SpellManager.Q = new Spell(SpellSlot.Q, 900f); SpellManager.W = new Spell(SpellSlot.W, 600f); SpellManager.E = new Spell(SpellSlot.E, 950f); SpellManager.R = new Spell(SpellSlot.R, 850f); SpellManager.Q.SetSkillshot(0.25f, 90f, 1550f, false, SkillshotType.SkillshotLine); SpellManager.E.SetSkillshot(0.25f, 60f, 1550f, true, SkillshotType.SkillshotLine); SpellManager.SpellList.Add(Q); SpellManager.SpellList.Add(W); SpellManager.SpellList.Add(E); SpellManager.SpellList.Add(R); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("rSpeed", "Use All R fast Duel", true).SetValue(true)); combo.AddItem(new MenuItem("charmCombo", "Q if Charmed in Combo", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("longQ", "Cast Long range Q", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 60); Menu.AddSubMenu(harass); } var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); ManaManager.AddManaManagertoMenu(farm, "Farm", 50); Menu.AddSubMenu(farm); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, false)); misc.AddItem(new MenuItem("UseInt", "Use E to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use E for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("EQ", "Use Q onTop of E", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); Menu.AddSubMenu(misc); } var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem( new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("cursor", "Draw R Dash Range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Require Charm: ", "charmCombo")); Menu.AddSubMenu(customMenu); } }
public Ekko() { SpellManager.Q = new Spell(SpellSlot.Q, 750f); SpellManager.W = new Spell(SpellSlot.W, 1600f); SpellManager.E = new Spell(SpellSlot.E, 325f); SpellManager.R = new Spell(SpellSlot.R, 375f); SpellManager.Q.SetSkillshot(0.25f, 60f, 1650f, false, SkillshotType.SkillshotLine); SpellManager.W.SetSkillshot(2.5f, 200f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.R.SetSkillshot(0.4f, 280f, float.MaxValue, false, SkillshotType.SkillshotCircle); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem( new MenuItem("UseRComboKill", "Use R| Kill Target", true).SetValue(true)); combo.AddItem( new MenuItem("UseRComboSafe", "Use R| Safe Myself", true).SetValue(true)); combo.AddItem( new MenuItem("UseRComboSafeHp", "Use R| Safe MySelf Hp <= x%", true).SetValue(new Slider(20))); combo.AddItem( new MenuItem("UseRComboHit", "Use R| Hit Enemies", true).SetValue(true)); combo.AddItem( new MenuItem("UseRComboHitCount", "Use R| Hit Enemies Count >= x", true).SetValue(new Slider(3, 1, 5))); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem( new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("MinFarm", "Min Minion >= ", true).SetValue(new Slider(3, 1, 6))); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 50); Menu.AddSubMenu(farm); } var jungle = new Menu("JungleClear", "JungleClear"); { jungle.AddItem(new MenuItem("JungleClearQ", "Use Q", true).SetValue(true)); jungle.AddItem(new MenuItem("JungleClearW", "Use W", true).SetValue(true)); jungle.AddItem(new MenuItem("JungleClearE", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(jungle, "JungleClear", 30); Menu.AddSubMenu(jungle); } var flee = new Menu("Flee", "Flee"); { flee.AddItem(new MenuItem("UseEFlee", "Use E", true).SetValue(true)); Menu.AddSubMenu(flee); } var miscMenu = new Menu("Misc", "Misc"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Auto_Q_Kill", "Auto Q KillSteal", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Slow", "Auto Q Slow", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Dashing", "Auto Q Dashing", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Immobile", "Auto Q Immobile", true).SetValue(true)); miscMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem(new MenuItem("W_On_Cc", "W On top of Hard CC", true).SetValue(true)); miscMenu.AddSubMenu(wMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("Auto_E_Kill", "Auto E KillSteal", true).SetValue(true)); eMenu.AddItem( new MenuItem("E_If_UnderTurret", "E Under Enemy Turret", true).SetValue( new KeyBind("H".ToCharArray()[0], KeyBindType.Toggle))); eMenu.AddItem( new MenuItem("Do_Not_E", "Do not E if >= Enemies Around location", true).SetValue(new Slider(3, 1, 5))); eMenu.AddItem(new MenuItem("Do_Not_E_HP", "Do not E if HP <= %", true).SetValue(new Slider(20))); miscMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_Safe_Net2", "R If Player HP <= %", true).SetValue(new Slider(10))); miscMenu.AddSubMenu(rMenu); } Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem( new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Flee Active: ", "Flee")); customMenu.AddItem(myCust.AddToMenu("E Turret Active: ", "E_If_UnderTurret")); Menu.AddSubMenu(customMenu); } }
//Load Menu private void LoadMenu() { //key var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("charmCombo", "Q if Charmed in Combo", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); //add to menu menu.AddSubMenu(key); } //Combo menu: var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("rSpeed", "Use All R fast Duel", true).SetValue(true)); //hitchance combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, true, false)); //add to menu menu.AddSubMenu(combo); } //Harass menu: var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("longQ", "Cast Long range Q", true).SetValue(true)); //hitchance harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, true, false)); //mana ManaManager.AddManaManagertoMenu(harass, "Harass", 60); //add to menu menu.AddSubMenu(harass); } //Farming menu: var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); //mana ManaManager.AddManaManagertoMenu(farm, "Farm", 50); //add to menu menu.AddSubMenu(farm); } //Misc Menu: var misc = new Menu("Misc", "Misc"); { //aoe misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, false)); misc.AddItem(new MenuItem("UseInt", "Use E to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use E for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("EQ", "Use Q onTop of E", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); //add to menu menu.AddSubMenu(misc); } //Drawings menu: var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem( new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem( new MenuItem("cursor", "Draw R Dash Range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("Require Charm: ", "charmCombo")); menu.AddSubMenu(customMenu); } }
public Orianna() { SpellManager.Q = new Spell(SpellSlot.Q, 800f); SpellManager.W = new Spell(SpellSlot.W); SpellManager.E = new Spell(SpellSlot.E, 1100f); SpellManager.R = new Spell(SpellSlot.R); SpellManager.Q.SetSkillshot(0.05f, 70f, 1150f, false, SkillshotType.SkillshotCircle); SpellManager.W.SetSkillshot(0.25f, 210f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.E.SetSkillshot(0.25f, 100f, 1700f, false, SkillshotType.SkillshotLine); SpellManager.R.SetSkillshot(0.4f, 370f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.SpellList.Add(Q); SpellManager.SpellList.Add(W); SpellManager.SpellList.Add(E); SpellManager.SpellList.Add(R); SpellManager.Flash = Player.GetSpellSlot("SummonerFlash"); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("autoRCombo", "Use R if hit", true).SetValue(new Slider(2, 1, 5))); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); farm.AddItem(new MenuItem("qFarm", "Only Q/W if > minion", true).SetValue(new Slider(3, 0, 5))); ManaManager.AddManaManagertoMenu(farm, "Farm", 50); Menu.AddSubMenu(farm); } var lasthit = new Menu("LastHit", "LastHit"); { farm.AddItem(new MenuItem("UseQLH", "Use Q", true).SetValue(false)); ManaManager.AddManaManagertoMenu(farm, "LastHit", 50); Menu.AddSubMenu(lasthit); } var misc = new Menu("Misc", "Misc"); { var initator = new Menu("Initiator", "Initiator"); { foreach (var hero in ObjectManager.Get <AIHeroClient>().Where(hero => hero.IsAlly)) { foreach (var intiator in Initiator.InitatorList) { if (intiator.HeroName == hero.BaseSkinName) { initator.AddItem(new MenuItem(intiator.SpellName, intiator.SpellName, true)).SetValue(false); } } } misc.AddSubMenu(initator); } var wMenu = new Menu("W Settings", "WSettings"); { wMenu.AddItem(new MenuItem("autoW", "Use W if hit", true).SetValue(new Slider(2, 1, 5))); misc.AddSubMenu(wMenu); } var eMenu = new Menu("E Settings", "ESettings"); { eMenu.AddItem(new MenuItem("saveEMana", "Do not E To save Mana for Q+W", true).SetValue(true)); eMenu.AddItem(new MenuItem("UseEDmg", "Use E to Dmg", true).SetValue(true)); eMenu.AddSubMenu(new Menu("E Ally Inc Spell", "shield")); eMenu.SubMenu("shield").AddItem(new MenuItem("eAllyIfHP", "If HP < %", true).SetValue(new Slider(40))); foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(ally => ally.IsAlly)) { eMenu.SubMenu("shield").AddItem(new MenuItem("shield" + ally.BaseSkinName, ally.BaseSkinName, true).SetValue(true)); } misc.AddSubMenu(eMenu); } var rMenu = new Menu("R Settings", "RSettings"); { rMenu.AddItem(new MenuItem("RFlash", "R Flash Key", true).SetValue(new KeyBind('G', KeyBindType.Press))); rMenu.AddItem( new MenuItem("RFlashCount", "Min RFlash Hit Count >= x", true).SetValue(new Slider(3, 1, 5))); rMenu.AddItem(new MenuItem("UseInt", "Use R to Interrupt", true).SetValue(true)); rMenu.AddItem(new MenuItem("autoR", "Use R if hit (Global check)", true).SetValue(new Slider(3, 1, 5))); rMenu.AddItem(new MenuItem("blockR", "Block R if no enemy", true).SetValue(true)); rMenu.AddItem(new MenuItem("overK", "OverKill Check", true).SetValue(true)); rMenu.AddItem(new MenuItem("killR", "Use R only if it hits multiple target", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle))); rMenu.AddSubMenu(new Menu("Auto use R on", "intR")); rMenu.SubMenu("intR").AddItem(new MenuItem("AdditonalTargets", "Require Addition targets", true).SetValue(new Slider(1, 0, 4))); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { rMenu.SubMenu("intR").AddItem(new MenuItem("intR" + enemy.BaseSkinName, enemy.BaseSkinName, true).SetValue(false)); } misc.AddSubMenu(rMenu); } Menu.AddSubMenu(misc); } var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("LastHit Active: ", "LastHit")); customMenu.AddItem(myCust.AddToMenu("Escape Active: ", "Flee")); customMenu.AddItem(myCust.AddToMenu("R Multi Only: ", "killR")); customMenu.AddItem(myCust.AddToMenu("R Flash: ", "RFlash")); Menu.AddSubMenu(customMenu); } }
public Jinx() { SpellManager.Q = new Spell(SpellSlot.Q); SpellManager.W = new Spell(SpellSlot.W, 1300); SpellManager.W.SetSkillshot(0.55f, 50, 3500, true, SkillshotType.SkillshotLine); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use W", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use W", true).SetValue(false)); Menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { //aoe miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); //add to menu Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); //DamageIndicator.DamageToUnit = GetComboDamage; //DamageIndicator.Enabled = drawComboDamageMenu.GetValue<bool>(); //DamageIndicator.Fill = drawFill.GetValue<Circle>().Active; //DamageIndicator.FillColor = drawFill.GetValue<Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); Menu.AddSubMenu(customMenu); } }
public Corki() { SpellManager.Q = new Spell(SpellSlot.Q, 825); SpellManager.Q.SetSkillshot(.3f, 250, 1225, false, SkillshotType.SkillshotCircle); SpellManager.W = new Spell(SpellSlot.W, 800); SpellManager.E = new Spell(SpellSlot.E, 600); SpellManager.E.SetSkillshot(.1f, 70, 1500, false, SkillshotType.SkillshotCircle); SpellManager.R = new Spell(SpellSlot.R, 1500); SpellManager.R.SetSkillshot(.2f, 50, 1500, true, SkillshotType.SkillshotLine); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("Always_Use", "Spell after AA in AA range", true).SetValue(true)); combo.AddItem(new MenuItem("ComboR_Limit", "Save R Stack", true).SetValue(new Slider(0, 0, 7))); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(false)); harass.AddItem(new MenuItem("UseRHarass", "Use R", true).SetValue(true)); harass.AddItem(new MenuItem("HarassR_Limit", "Save R Stack", true).SetValue(new Slider(5, 0, 7))); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); farm.AddItem(new MenuItem("UseRFarm", "Use R", true).SetValue(true)); farm.AddItem(new MenuItem("LaneClearR_Limit", "Save R Stack", true).SetValue(new Slider(5, 0, 7))); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 50); Menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); Menu.AddSubMenu(customMenu); } }
public Ashe() { SpellManager.Q = new Spell(SpellSlot.Q); SpellManager.W = new Spell(SpellSlot.W, 1200); SpellManager.E = new Spell(SpellSlot.E); SpellManager.R = new Spell(SpellSlot.R, 20000); SpellManager.W.SetSkillshot(0.25f, 70f, 1500f, true, SkillshotType.SkillshotCone); SpellManager.R.SetSkillshot(250f, 130f, 1600f, false, SkillshotType.SkillshotLine); var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Min_Stack", "Require Q Min Stacks", true).SetValue(new Slider(5, 0, 5))); spellMenu.AddSubMenu(qMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("Force_R", "Force R Lowest", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); rMenu.AddItem(new MenuItem("R_Min_Range", "R Min Range Sliders", true).SetValue(new Slider(300, 0, 1000))); rMenu.AddItem(new MenuItem("R_Max_Range", "R Max Range Sliders", true).SetValue(new Slider(2000, 0, 4000))); rMenu.AddSubMenu(new Menu("Don't use R on", "Dont_R")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { rMenu.SubMenu("Dont_R") .AddItem(new MenuItem("Dont_R" + enemy.BaseSkinName, enemy.BaseSkinName, true).SetValue(false)); } spellMenu.AddSubMenu(rMenu); } Menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); Menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, true, false, true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); miscMenu.AddItem(new MenuItem("ksR", "KS with R", true).SetValue(true)); miscMenu.AddItem(new MenuItem("UseInt", "Use R to Interrupt", true).SetValue(true)); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Force R: ", "Force_R")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use W", true).SetValue(true)); menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use W", true).SetValue(false)); menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { //aoe miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); //add to menu menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //Keys var keys = new Menu("Keys", "Keys"); { keys.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); keys.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press))); keys.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); keys.AddItem(new MenuItem("wTar", "Cast W On Selected", true).SetValue(new KeyBind("W".ToCharArray()[0], KeyBindType.Press))); keys.AddItem(new MenuItem("lastHitQ", "Last Hith Q", true).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); keys.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("X".ToCharArray()[0], KeyBindType.Press))); menu.AddSubMenu(keys); } //Spell Menu var spells = new Menu("Spell", "Spell"); { //Q Menu var qMenu = new Menu("QSpell", "QSpell"); { qMenu.AddItem(new MenuItem("qImmo", "Auto Q Immobile", true).SetValue(true)); qMenu.AddItem(new MenuItem("qDash", "Auto Q Dashing", true).SetValue(true)); spells.AddSubMenu(qMenu); } //W var wMenu = new Menu("WSpell", "WSpell"); { wMenu.AddItem(new MenuItem("wTower", "Auto W Enemy in Tower", true).SetValue(true)); ManaManager.AddManaManagertoMenu(wMenu, "WMana", 30); spells.AddSubMenu(wMenu); } //E var eMenu = new Menu("ESpell", "ESpell"); { eMenu.AddItem(new MenuItem("eManaCombo", "Min Mana Combo", true).SetValue(new Slider(10))); eMenu.AddItem(new MenuItem("eManaHarass", "Min Mana Harass", true).SetValue(new Slider(70))); eMenu.AddItem(new MenuItem("EDelay", "E Delay Before Turning Off (Milliseconds)", true).SetValue(new Slider(100, 0, 2000))); spells.AddSubMenu(eMenu); } //R var rMenu = new Menu("RSpell", "RSpell"); { rMenu.AddItem(new MenuItem("rPing", "Ping if Enemy Is Killable", true).SetValue(true)); spells.AddSubMenu(rMenu); } menu.AddSubMenu(spells); } //Combo menu: var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, true, false, false)); menu.AddSubMenu(combo); } //Harass menu: var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, true, false, false)); menu.AddSubMenu(harass); } //Farming menu: var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(harass, "Farm", 30); menu.AddSubMenu(farm); } //Misc Menu: var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, false, false)); misc.AddItem(new MenuItem("UseGap", "Use W for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); menu.AddSubMenu(misc); } //Drawings menu: var drawMenu = new Menu("Drawings", "Drawings"); { drawMenu.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawMenu.AddItem(new MenuItem("drawUlt", "Killable With ult", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("W Target Active: ", "wTar")); customMenu.AddItem(myCust.AddToMenu("Lasthit Q Active: ", "lastHitQ")); menu.AddSubMenu(customMenu); } }
public Zyra() { SpellManager.P = new Spell(SpellSlot.Q, 1470); SpellManager.Q = new Spell(SpellSlot.Q, 800); SpellManager.W = new Spell(SpellSlot.W, 825); SpellManager.E = new Spell(SpellSlot.E, 875); SpellManager.R = new Spell(SpellSlot.R, 700); SpellManager.P.SetSkillshot(0.5f, 70f, 1400f, false, SkillshotType.SkillshotLine); SpellManager.Q.SetSkillshot(0.8f, 60f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.E.SetSkillshot(0.25f, 70f, 1400f, false, SkillshotType.SkillshotLine); SpellManager.R.SetSkillshot(0.1f, 400f, float.MaxValue, false, SkillshotType.SkillshotCircle); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("disableAA", "Disable AA", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); Menu.AddSubMenu(farm); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, false, true, true)); misc.AddItem(new MenuItem("E_GapCloser", "Use E for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); misc.AddItem(new MenuItem("Auto_Bloom", "Auto bloom Plant if Enemy near", true).SetValue(true)); Menu.AddSubMenu(misc); } var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawing.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawing.AddItem(new MenuItem("Draw_W", "Draw Q", true).SetValue(true)); drawing.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawing.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); //DamageIndicator.DamageToUnit = GetComboDamage; //DamageIndicator.Enabled = drawComboDamageMenu.GetValue<bool>(); //DamageIndicator.Fill = drawFill.GetValue<Circle>().Active; //DamageIndicator.FillColor = drawFill.GetValue<Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Escape Active: ", "Flee")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //Keys var key = new Menu("Keys", "Keys"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("stunMelles", "Stun Enemy Melle Range", true).SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("stunTowers", "Stun Enemy under Tower", true).SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("alwaysR", "Always Cast R", true).SetValue(new KeyBind("H".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LastHitQQ", "Last hit with Q", true).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); menu.AddSubMenu(key); } //Combo menu: var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("rHp", "R if HP <", true).SetValue(new Slider(20))); combo.AddItem(new MenuItem("defR", "R Self if > enemy", true).SetValue(new Slider(3, 0, 5))); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, true, false)); menu.AddSubMenu(combo); } //Harass menu var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, true, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); menu.AddSubMenu(harass); } //Farming menu: var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(harass, "Farm", 30); menu.AddSubMenu(farm); } //Misc Menu: var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, true, true, false)); misc.AddItem(new MenuItem("UseInt", "Use R to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use W for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); misc.AddItem(new MenuItem("UseHAM", "Always use E", true).SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); misc.AddItem(new MenuItem("UseEGap", "Use E to Gap Close", true).SetValue(true)); misc.AddItem(new MenuItem("gapD", "Min Distance", true).SetValue(new Slider(600, 300, 1050))); menu.AddSubMenu(misc); } //Drawings menu: var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("qExtend", "Extended Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("LastHit Q Active: ", "LastHitQQ")); customMenu.AddItem(myCust.AddToMenu("StunMelle Active: ", "stunMelles")); customMenu.AddItem(myCust.AddToMenu("StunTower Active: ", "stunTowers")); customMenu.AddItem(myCust.AddToMenu("Always R Active: ", "alwaysR")); customMenu.AddItem(myCust.AddToMenu("Always E Active: ", "UseHAM")); menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //key var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LastHitKey", "Last Hit!", true).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Min_Distance", "Min range to Q", true).SetValue(new Slider(300, 0, 600))); qMenu.AddItem(new MenuItem("Q_Gap_Close", "Q Minion to Gap Close", true).SetValue(true)); qMenu.AddItem(new MenuItem("Q_Under_Tower", "Q Enemy Under Tower", true).SetValue(false)); spellMenu.AddSubMenu(qMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("E_Only_Stun", "Save E to Stun", true).SetValue(true)); eMenu.AddItem(new MenuItem("E_Running", "E On Running Enemy", true).SetValue(true)); spellMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_If_HP", "R If HP <=", true).SetValue(new Slider(20))); //rMenu.AddItem(new MenuItem("R_Wait_Sheen", "Wait for Sheen", true).SetValue(false)); spellMenu.AddSubMenu(rMenu); } menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); //add to menu menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); //add to menu menu.AddSubMenu(harass); } var lastHit = new Menu("Lasthit", "Lasthit"); { lastHit.AddItem(new MenuItem("UseQLastHit", "Use Q", true).SetValue(true)); ManaManager.AddManaManagertoMenu(lastHit, "Lasthit", 30); //add to menu menu.AddSubMenu(lastHit); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseQFarm_Tower", "Do not Q under Tower", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); farm.AddItem(new MenuItem("UseRFarm", "Use R", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 0); //add to menu menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { //miscMenu.AddItem(new MenuItem("Cast_EQ", "Cast EQ nearest target", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); miscMenu.AddItem(new MenuItem("E_Gap_Closer", "Use E On Gap Closer", true).SetValue(true)); miscMenu.AddItem(new MenuItem("QE_Interrupt", "Use Q/E to interrupt", true).SetValue(true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); //add to menu menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R_Killable", "Draw R Mark on Killable", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; //add to menu menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("LastHit Active: ", "LastHitKey")); menu.AddSubMenu(customMenu); } }
public Chogath() { SpellManager.Q = new Spell(SpellSlot.Q, 950); SpellManager.W = new Spell(SpellSlot.W, 650); SpellManager.R = new Spell(SpellSlot.R, 175); SpellManager.Q.SetSkillshot(.625f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.W.SetSkillshot(.25f, (float)(30 * 0.5), float.MaxValue, false, SkillshotType.SkillshotCone); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 60); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "Farm", 50); Menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(true, true, false, false)); miscMenu.AddItem(new MenuItem("Q_Gap_Closer", "Use Q On Gap Closer", true).SetValue(true)); miscMenu.AddItem(new MenuItem("UseInt", "Use Q/E to Interrupt", true).SetValue(true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); miscMenu.AddItem(new MenuItem("R_KS", "Use R to KS", true).SetValue(true)); miscMenu.AddItem(new MenuItem("R_KS2", "Use Flash R to KS", true).SetValue(true)); miscMenu.AddItem(new MenuItem("flashR", "Flash R", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("Flash R Active: ", "flashR")); Menu.AddSubMenu(customMenu); } }
public Lucian() { SpellManager.Q = new Spell(SpellSlot.Q, 650); SpellManager.Q.SetTargetted(0.25f, float.MaxValue); SpellManager.QExtend = new Spell(SpellSlot.Q, 900); SpellManager.QExtend.SetSkillshot(0.35f, 25f, float.MaxValue, false, SkillshotType.SkillshotLine); SpellManager.W = new Spell(SpellSlot.W, 1000); SpellManager.W.SetSkillshot(0.3f, 80f, 1600, true, SkillshotType.SkillshotLine); SpellManager.E = new Spell(SpellSlot.E, 425); SpellManager.E.SetSkillshot(0.25f, 1f, float.MaxValue, false, SkillshotType.SkillshotLine); SpellManager.R = new Spell(SpellSlot.R, 1200); SpellManager.R.SetSkillshot(0.2f, 110f, 2800, true, SkillshotType.SkillshotLine); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseQExtendCombo", "Use Q Extended", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseQExtendHarass", "Use Q Extended", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); Menu.AddSubMenu(farm); } var jungle = new Menu("JungleClear", "JungleClear"); { jungle.AddItem(new MenuItem("UseQJungle", "Use Q", true).SetValue(true)); jungle.AddItem(new MenuItem("UseWJungle", "Use W", true).SetValue(true)); jungle.AddItem(new MenuItem("UseEJungle", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(jungle, "JungleClear", 30); Menu.AddSubMenu(jungle); } var misc = new Menu("Misc", "Misc"); { misc.AddItem(new MenuItem("MovementCheck", "Only Cast Extended Q When Enemy is moving(More Accurate)", true).SetValue(false)); misc.AddItem(new MenuItem("Anti", "Anti Gapcloser E", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); misc.AddItem(new MenuItem("CheckECast", " Check E Cast", true)); misc.AddItem(new MenuItem("underE", "Dont E to Enemy Turret", true).SetValue(true)); misc.AddItem(new MenuItem("ECheck", "Check Wall/ Building", true).SetValue(true)); misc.AddItem(new MenuItem("SafeCheck", "Safe Check", true).SetValue(true)); Menu.AddSubMenu(misc); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_Q_Extended", "Draw Q Extended", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //key var key = new Menu("Key", "Key"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseQExtendCombo", "Use Q Extended", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(false, true, false, false)); //add to menu menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(false, true, false, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); //add to menu menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 30); //add to menu menu.AddSubMenu(farm); } var misc = new Menu("Misc", "Misc"); { misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, true, false, false)); misc.AddItem(new MenuItem("MovementCheck", "Only Cast Extended Q When Enemy is moving(More Accurate)", true).SetValue(false)); misc.AddItem(new MenuItem("CheckPassive", "Smart Passive", true).SetValue(true)); misc.AddItem(new MenuItem("smartKS", "Use Smart KS System", true).SetValue(true)); misc.AddItem(new MenuItem("E_If_HP", "Do not E If HP <=", true).SetValue(new Slider(20))); //add to menu menu.AddSubMenu(misc); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_Q_Extended", "Draw Q Extended", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; //add to menu menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); menu.AddSubMenu(customMenu); } }
public Urgot() { SpellManager.Q = new Spell(SpellSlot.Q, 1000); SpellManager.Q2 = new Spell(SpellSlot.Q, 1300); SpellManager.W = new Spell(SpellSlot.W); SpellManager.E = new Spell(SpellSlot.E, 850); SpellManager.R = new Spell(SpellSlot.R, 550); SpellManager.Q.SetSkillshot(0.2667f, 60f, 1600f, true, SkillshotType.SkillshotLine); SpellManager.Q2.SetSkillshot(0.3f, 60f, 1800f, false, SkillshotType.SkillshotLine); SpellManager.E.SetSkillshot(0.2658f, 120f, 1500f, false, SkillshotType.SkillshotCircle); var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Poison", "Auto Q Poison Target", true).SetValue(true)); qMenu.AddItem(new MenuItem("ForceE", "Require to use E first if Enemy is in E range", true).SetValue(false)); spellMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem(new MenuItem("W_If_HP", "W If HP <= ", true).SetValue(new Slider(50))); wMenu.AddItem(new MenuItem("W_Always", "Always W At start Of Combo", true).SetValue(false)); spellMenu.AddSubMenu(wMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_Safe_Net", "Do not ult into >= enemies after swap", true).SetValue(new Slider(2, 0, 5))); rMenu.AddItem(new MenuItem("R_If_UnderTurret", "Ult Enemy If they are under ally Turret", true).SetValue(true)); rMenu.AddItem(new MenuItem("R_On_Killable", "Ult Enemy If they are Killable", true).SetValue(true)); rMenu.AddSubMenu(new Menu("Don't use R on", "Dont_R")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { rMenu.SubMenu("Dont_R") .AddItem(new MenuItem("Dont_R" + enemy.BaseSkinName, enemy.BaseSkinName, true).SetValue(false)); } spellMenu.AddSubMenu(rMenu); } Menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 50); Menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, false, true, false)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //Keys var key = new Menu("Keys", "Keys"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("LaneClearActive", "Farm!", true).SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("LastHitQQ", "Last hit with Q", true).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("escape", "RUN FOR YOUR LIFE!", true).SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); //add to menu menu.AddSubMenu(key); } //Spell Menu var spellMenu = new Menu("SpellMenu", "SpellMenu"); { //W var wMenu = new Menu("WSpell", "WSpell"); { wMenu.AddItem(new MenuItem("autoW", "Use W if hit", true).SetValue(new Slider(2, 1, 5))); spellMenu.AddSubMenu(wMenu); } //E var eMenu = new Menu("ESpell", "ESpell"); { eMenu.AddItem(new MenuItem("saveEMana", "Do not E To save Mana for Q+W", true).SetValue(true)); eMenu.AddItem(new MenuItem("UseEDmg", "Use E to Dmg", true).SetValue(true)); eMenu.AddSubMenu(new Menu("E Ally Inc Spell", "shield")); eMenu.SubMenu("shield").AddItem(new MenuItem("eAllyIfHP", "If HP < %", true).SetValue(new Slider(40))); foreach (Obj_AI_Hero ally in ObjectManager.Get <Obj_AI_Hero>().Where(ally => ally.IsAlly)) { eMenu.SubMenu("shield").AddItem(new MenuItem("shield" + ally.CharData.BaseSkinName, ally.CharData.BaseSkinName, true).SetValue(true)); } spellMenu.AddSubMenu(eMenu); } //R var rMenu = new Menu("RSpell", "RSpell"); { rMenu.AddItem(new MenuItem("autoR", "Use R if hit (Global check)", true).SetValue(new Slider(3, 1, 5))); rMenu.AddItem(new MenuItem("blockR", "Block R if no enemy", true).SetValue(true)); rMenu.AddItem(new MenuItem("overK", "OverKill Check", true).SetValue(true)); rMenu.AddItem(new MenuItem("killR", "Use R only if it hits multiple target", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle))); rMenu.AddSubMenu(new Menu("Auto use R on", "intR")); rMenu.SubMenu("intR").AddItem(new MenuItem("AdditonalTargets", "Require Addition targets", true).SetValue(new Slider(1, 0, 4))); foreach (Obj_AI_Hero enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { rMenu.SubMenu("intR").AddItem(new MenuItem("intR" + enemy.CharData.BaseSkinName, enemy.CharData.BaseSkinName, true).SetValue(false)); } spellMenu.AddSubMenu(rMenu); } menu.AddSubMenu(spellMenu); } //Combo menu: var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); combo.AddItem(new MenuItem("autoRCombo", "Use R if hit", true).SetValue(new Slider(2, 1, 5))); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, false, false)); menu.AddSubMenu(combo); } //Harass menu: var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, false, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); menu.AddSubMenu(harass); } //Farming menu: var farm = new Menu("Farm", "Farm"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(false)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(false)); farm.AddItem(new MenuItem("qFarm", "Only Q/W if > minion", true).SetValue(new Slider(3, 0, 5))); ManaManager.AddManaManagertoMenu(farm, "Farm", 50); menu.AddSubMenu(farm); } //intiator list: var initator = new Menu("Initiator", "Initiator"); { foreach (Obj_AI_Hero hero in ObjectManager.Get <Obj_AI_Hero>().Where(hero => hero.IsAlly)) { foreach (Initiator intiator in Initiator.InitatorList) { if (intiator.HeroName == hero.CharData.BaseSkinName) { initator.AddItem(new MenuItem(intiator.SpellName, intiator.SpellName, true)).SetValue(false); } } } menu.AddSubMenu(initator); } //Misc Menu: var misc = new Menu("Misc", "Misc"); { misc.AddItem(new MenuItem("UseInt", "Use R to Interrupt", true).SetValue(true)); } //Drawings menu: var drawing = new Menu("Drawings", "Drawings"); { drawing.AddItem(new MenuItem("QRange", "Q range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("WRange", "W range", true).SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("ERange", "E range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); drawing.AddItem(new MenuItem("RRange", "R range", true).SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawing.AddItem(drawComboDamageMenu); drawing.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; //add to menu menu.AddSubMenu(drawing); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClearActive")); customMenu.AddItem(myCust.AddToMenu("LastHit Active: ", "LastHitQQ")); customMenu.AddItem(myCust.AddToMenu("Escape Active: ", "escape")); customMenu.AddItem(myCust.AddToMenu("R Multi Only: ", "killR")); menu.AddSubMenu(customMenu); } }
public Cassiopeia() { SpellManager.Q = new Spell(SpellSlot.Q, 850f); SpellManager.W = new Spell(SpellSlot.W, 900f); SpellManager.E = new Spell(SpellSlot.E, 700f); SpellManager.R = new Spell(SpellSlot.R, 875f); SpellManager.R2 = new Spell(SpellSlot.R, 1300f); SpellManager.Q.SetSkillshot(0.7f, 80f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellManager.W.SetSkillshot(0.75f, 90f, 2500, false, SkillshotType.SkillshotCircle); SpellManager.E.SetTargetted(0.125f, float.MaxValue); SpellManager.R.SetSkillshot(0.5f, (float)(80 * Math.PI / 180), 3200f, false, SkillshotType.SkillshotCone); SpellManager.R2.SetSkillshot(0.5f, (float)(80 * Math.PI / 180), 3200f, false, SkillshotType.SkillshotCone); var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem( new MenuItem("FarmT", "Harass (toggle)!", true).SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); ManaManager.AddManaManagertoMenu(harass, "Harass", 50); Menu.AddSubMenu(harass); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); farm.AddItem(new MenuItem("UseEFarm", "Use E", true).SetValue(false)); farm.AddItem( new MenuItem("EMode", "E Mode", true).SetValue( new StringList(new[] { "Poisoned", "LastHit", "PoisonLastHit" }))); farm.AddItem(new MenuItem("QMinHit", "Min Minion to Q", true).SetValue(new Slider(3, 1, 6))); farm.AddItem(new MenuItem("WMinHit", "Min Minion to W", true).SetValue(new Slider(3, 1, 6))); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 50); Menu.AddSubMenu(farm); } var jungle = new Menu("Jungle", "Jungle"); { jungle.AddItem(new MenuItem("UseQJungle", "Use Q", true).SetValue(true)); jungle.AddItem(new MenuItem("UseWJungle", "Use W", true).SetValue(true)); jungle.AddItem(new MenuItem("UseEJungle", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(jungle, "JungleClear", 30); Menu.AddSubMenu(jungle); } var miscMenu = new Menu("Misc", "Misc"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Auto_Q_Immobile", "Auto Q Immobile", true).SetValue(true)); qMenu.AddItem(new MenuItem("Auto_Q_Dashing", "Auto Q Dashing", true).SetValue(true)); miscMenu.AddSubMenu(qMenu); } var wMenu = new Menu("WMenu", "WMenu"); { wMenu.AddItem( new MenuItem("OnlyWIfnotPoison", "Only W if Q is offcd and enemy not poison", true).SetValue( false)); miscMenu.AddSubMenu(wMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("E_Poison", "Auto E Poison Target", true).SetValue(true)); eMenu.AddItem( new MenuItem("E_Delay", "Delay between 0-1500(Milliseconds or tick)", true).SetValue( new Slider(0, 0, 1500))); eMenu.AddItem( new MenuItem("LastHitE", "Last Hit With E", true).SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); miscMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { eMenu.AddItem(new MenuItem("UseGap", "Use R for GapCloser", true).SetValue(false)); rMenu.AddItem(new MenuItem("UseInt", "Use R to Interrupt", true).SetValue(true)); rMenu.AddItem(new MenuItem("forceUlt", "Ult Helper", true).SetValue(new KeyBind("H".ToCharArray()[0], KeyBindType.Press))); rMenu.AddItem(new MenuItem("flashUlt", "Ult Flash", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); rMenu.AddItem(new MenuItem("aoeUltOnly", "AOE Ult Only", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); rMenu.AddItem(new MenuItem("overKillCheck", "Over Kill Check", true).SetValue(true)); rMenu.AddItem(new MenuItem("blockR", "Block R if no enemy hit", true).SetValue(true)); rMenu.AddItem(new MenuItem("AOEStun", "Ult if Stun >= ", true).SetValue(new Slider(3, 1, 5))); rMenu.AddItem(new MenuItem("KillableCombo", "Cast If target is Killable with Combo", true).SetValue(true)); rMenu.AddItem(new MenuItem("faceCheck", "Face Check for Killable with combo", true).SetValue(true)); rMenu.AddItem(new MenuItem("faceCheckHelper", "Face Check with UltHelper", true).SetValue(true)); rMenu.AddSubMenu(new Menu("Don't use R on", "Dont_R")); foreach (var enemy in HeroManager.Enemies) { rMenu.SubMenu("Dont_R") .AddItem(new MenuItem("Dont_R" + enemy.CharData.BaseSkinName, enemy.CharData.BaseSkinName, true).SetValue(false)); } miscMenu.AddSubMenu(rMenu); } miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); miscMenu.AddItem(new MenuItem("disableAA", "Disable AA on Combo if spells are Ready", true).SetValue(true)); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_W", "Draw W", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); drawMenu.AddItem(new MenuItem("FlashUltNotification", "Ult Flash Killable Notification", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem( new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "FarmT")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("LastHitE Active: ", "LastHitE")); customMenu.AddItem(myCust.AddToMenu("Ult help Active: ", "forceUlt")); customMenu.AddItem(myCust.AddToMenu("Ult Flash Active: ", "flashUlt")); customMenu.AddItem(myCust.AddToMenu("AOE Ult Active: ", "aoeUltOnly")); Menu.AddSubMenu(customMenu); } }
public Irelia() { SpellManager.Q = new Spell(SpellSlot.Q, 650); SpellManager.W = new Spell(SpellSlot.W); SpellManager.E = new Spell(SpellSlot.E, 425); SpellManager.R = new Spell(SpellSlot.R, 1000); SpellManager.R.SetSkillshot(0, 80f, 1400f, false, SkillshotType.SkillshotLine); var spellMenu = new Menu("SpellMenu", "SpellMenu"); { var qMenu = new Menu("QMenu", "QMenu"); { qMenu.AddItem(new MenuItem("Q_Min_Distance", "Min range to Q", true).SetValue(new Slider(300, 0, 600))); qMenu.AddItem(new MenuItem("Q_Gap_Close", "Q Minion to Gap Close", true).SetValue(true)); qMenu.AddItem(new MenuItem("Q_Under_Tower", "Q Enemy Under Tower", true).SetValue(false)); spellMenu.AddSubMenu(qMenu); } var eMenu = new Menu("EMenu", "EMenu"); { eMenu.AddItem(new MenuItem("E_Only_Stun", "Save E to Stun", true).SetValue(true)); eMenu.AddItem(new MenuItem("E_Running", "E On Running Enemy", true).SetValue(true)); spellMenu.AddSubMenu(eMenu); } var rMenu = new Menu("RMenu", "RMenu"); { rMenu.AddItem(new MenuItem("R_If_HP", "R If HP <=", true).SetValue(new Slider(20))); spellMenu.AddSubMenu(rMenu); } Menu.AddSubMenu(spellMenu); } var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R", true).SetValue(true)); Menu.AddSubMenu(combo); } var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(false)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); ManaManager.AddManaManagertoMenu(harass, "Harass", 30); Menu.AddSubMenu(harass); } var LastHit = new Menu("Lasthit", "Lasthit"); { LastHit.AddItem(new MenuItem("UseQLastHit", "Use Q", true).SetValue(true)); ManaManager.AddManaManagertoMenu(LastHit, "Lasthit", 30); Menu.AddSubMenu(LastHit); } var farm = new Menu("LaneClear", "LaneClear"); { farm.AddItem(new MenuItem("UseQFarm", "Use Q", true).SetValue(true)); farm.AddItem(new MenuItem("UseQFarm_Tower", "Do not Q under Tower", true).SetValue(true)); farm.AddItem(new MenuItem("UseWFarm", "Use W", true).SetValue(true)); farm.AddItem(new MenuItem("UseRFarm", "Use R", true).SetValue(true)); ManaManager.AddManaManagertoMenu(farm, "LaneClear", 0); Menu.AddSubMenu(farm); } var miscMenu = new Menu("Misc", "Misc"); { miscMenu.AddItem(new MenuItem("E_Gap_Closer", "Use E On Gap Closer", true).SetValue(true)); miscMenu.AddItem(new MenuItem("QE_Interrupt", "Use Q/E to interrupt", true).SetValue(true)); miscMenu.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); Menu.AddSubMenu(miscMenu); } var drawMenu = new Menu("Drawing", "Drawing"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R", "Draw R", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_R_Killable", "Draw R Mark on Killable", true).SetValue(true)); var drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); var drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; Menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "Orbwalk")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "Farm")); customMenu.AddItem(myCust.AddToMenu("Laneclear Active: ", "LaneClear")); customMenu.AddItem(myCust.AddToMenu("LastHit Active: ", "LastHit")); Menu.AddSubMenu(customMenu); } }
private void LoadMenu() { //Keys var key = new Menu("Keys", "Keys"); { key.AddItem(new MenuItem("ComboActive", "Combo!", true).SetValue(new KeyBind(32, KeyBindType.Press))); key.AddItem(new MenuItem("HarassActive", "Harass!", true).SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press))); key.AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!", true).SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); key.AddItem(new MenuItem("shootMouse", "Shoot QE Mouse", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); menu.AddSubMenu(key); } //Combo menu: var combo = new Menu("Combo", "Combo"); { combo.AddItem(new MenuItem("UseQCombo", "Use Cannon Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWCombo", "Use Cannon W", true).SetValue(true)); combo.AddItem(new MenuItem("UseECombo", "Use Cannon E", true).SetValue(true)); combo.AddItem(new MenuItem("UseQComboHam", "Use Hammer Q", true).SetValue(true)); combo.AddItem(new MenuItem("UseWComboHam", "Use Hammer W", true).SetValue(true)); combo.AddItem(new MenuItem("UseEComboHam", "Use Hammer E", true).SetValue(true)); combo.AddItem(new MenuItem("UseRCombo", "Use R to Switch", true).SetValue(true)); combo.AddSubMenu(HitChanceManager.AddHitChanceMenuCombo(true, false, false, false)); menu.AddSubMenu(combo); } //Harass menu: var harass = new Menu("Harass", "Harass"); { harass.AddItem(new MenuItem("UseQHarass", "Use Q", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarass", "Use W", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarass", "Use E", true).SetValue(true)); harass.AddItem(new MenuItem("UseQHarassHam", "Use Q Hammer", true).SetValue(true)); harass.AddItem(new MenuItem("UseWHarassHam", "Use W Hammer", true).SetValue(true)); harass.AddItem(new MenuItem("UseEHarassHam", "Use E Hammer", true).SetValue(true)); harass.AddItem(new MenuItem("UseRHarass", "Use R to switch", true).SetValue(true)); harass.AddSubMenu(HitChanceManager.AddHitChanceMenuHarass(true, false, false, false)); ManaManager.AddManaManagertoMenu(harass, "Harass", 60); menu.AddSubMenu(harass); } //Misc Menu: var misc = new Menu("Misc", "Misc"); { //aoe misc.AddSubMenu(AoeSpellManager.AddHitChanceMenuCombo(false, false, false, false, true)); misc.AddItem(new MenuItem("UseInt", "Use E to Interrupt", true).SetValue(true)); misc.AddItem(new MenuItem("UseGap", "Use E for GapCloser", true).SetValue(true)); misc.AddItem(new MenuItem("forceGate", "Force Gate After Q", true).SetValue(false)); misc.AddItem(new MenuItem("gatePlace", "Gate Distance", true).SetValue(new Slider(300, 50, 600))); misc.AddItem(new MenuItem("UseQAlways", "Use Q When E onCD", true).SetValue(true)); misc.AddItem(new MenuItem("autoE", "EPushInCombo HP < %", true).SetValue(new Slider(20))); misc.AddItem(new MenuItem("smartKS", "Smart KS", true).SetValue(true)); menu.AddSubMenu(misc); } //Drawings menu: var drawMenu = new Menu("Drawings", "Drawings"); { drawMenu.AddItem(new MenuItem("Draw_Disabled", "Disable All", true).SetValue(false)); drawMenu.AddItem(new MenuItem("Draw_Q", "Draw Q Cannon", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_QExtend", "Draw Q Cannon Extended", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E", "Draw E Cannon", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_Q2", "Draw Q Hammer", true).SetValue(true)); drawMenu.AddItem(new MenuItem("Draw_E2", "Draw E Hammer", true).SetValue(true)); drawMenu.AddItem(new MenuItem("drawcds", "Draw Cooldowns", true).SetValue(true)); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Draw Combo Damage", true).SetValue(true); MenuItem drawFill = new MenuItem("Draw_Fill", "Draw Combo Damage Fill", true).SetValue(new Circle(true, Color.FromArgb(90, 255, 169, 4))); drawMenu.AddItem(drawComboDamageMenu); drawMenu.AddItem(drawFill); DamageIndicator.DamageToUnit = GetComboDamage; DamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); DamageIndicator.Fill = drawFill.GetValue <Circle>().Active; DamageIndicator.FillColor = drawFill.GetValue <Circle>().Color; drawComboDamageMenu.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; }; menu.AddSubMenu(drawMenu); } var customMenu = new Menu("Custom Perma Show", "Custom Perma Show"); { var myCust = new CustomPermaMenu(); customMenu.AddItem(new MenuItem("custMenu", "Move Menu", true).SetValue(new KeyBind("L".ToCharArray()[0], KeyBindType.Press))); customMenu.AddItem(new MenuItem("enableCustMenu", "Enabled", true).SetValue(true)); customMenu.AddItem(myCust.AddToMenu("Combo Active: ", "ComboActive")); customMenu.AddItem(myCust.AddToMenu("Harass Active: ", "HarassActive")); customMenu.AddItem(myCust.AddToMenu("Harass(T) Active: ", "HarassActiveT")); customMenu.AddItem(myCust.AddToMenu("Shoot QE ", "shootMouse")); menu.AddSubMenu(customMenu); } }