void Start() { button = transform.GetComponent <Button>(); buttonText = transform.GetComponentInChildren <TMP_Text>(); removeButton = transform.GetChild(1).GetComponent <Button>(); color = ColorMenu.HexToColor(HexValue); Color32 temp2 = new Color32 { r = (byte)color.r, g = (byte)color.g, b = (byte)color.b, a = 255 }; button.GetComponent <Image>().color = temp2; buttonText.text = HexValue; gameObject.name = HexValue; Color32 temp = new Color { r = Color.white.r - color.r, g = Color.white.g - color.g, b = Color.white.b - color.b, a = Color.white.a }; temp2 = new Color32 { r = (byte)temp.r, g = (byte)temp.g, b = (byte)temp.b, a = 255 }; buttonText.color = temp2; removeButton.GetComponent <Image>().color = temp2; }
public static Game SetupGame(GameModeChoice gameMode, string p1Name, string p2Name) { Game game = null; if (gameMode == GameModeChoice.PvP) { game = new Game(new HumanPlayer(p1Name), new HumanPlayer(p2Name)); } else if (gameMode == GameModeChoice.PvC) { if (ColorMenu.GetColor() == ColorChoice.White) { game = new Game(new HumanPlayer(p1Name), new ComputerPlayer(p2Name)); } else { game = new Game(new ComputerPlayer(p1Name), new HumanPlayer(p2Name)); } } else if (gameMode == GameModeChoice.CvC) { game = new Game(new ComputerPlayer(p1Name), new ComputerPlayer(p2Name)); } return(game); }
void colorButton_MouseButtonClick(Widget source, EventArgs e) { ColorMenu.ShowColorMenu(source.AbsoluteLeft, source.AbsoluteTop + source.Height, color => { this.color = color; syncColorToButton(); setValue(); }); }
public override void clicked(TaskPositioner positioner) { IntVector2 location = positioner.findGoodWindowPosition(0, 0); ColorMenu colorMenu = ColorMenu.ShowColorMenu(location.x, location.y, delegate(Color color) { sceneViewController.ActiveWindow.BackColor = color; }); colorMenu.Hiding += (sender, e) => { fireItemClosed(); }; }
public virtual void Drawing_OnDraw(EventArgs args) { this.Draw(); // Spells Drawings foreach (var spell in SpellList) { var color = ColorMenu.Color(spell.Slot.ToString()); spell.SpellRange(color, DrawMenu.checkbox(spell.Slot.ToString())); } // Damage DrawingsManager.DrawTotalDamage(SpellList, DrawMenu.checkbox("damage")); }
// Start is called before the first frame update void Start() { mainMenuText = JsonUtility.FromJson <MainMenuText>(TextAssetLoader.GetCorrectTextAsset(textDirection).text); var panel = GameObject.Find("Canvas").transform; firstMenu = new FirstMenu(panel.Find("First Menu")); playersMenu = new PlayersMenu(panel.Find("Players Menu")); credistMenu = new CredistMenu(panel.Find("Credits Menu")); colorMenu = new ColorMenu(panel.Find("Color Menu")); clickManager = GameObject.Find("Click Manager").GetComponent <AudioSource>(); playersMenu.howManyPlayerText.text = mainMenuText.numberOfPlayerText; for (int i = 0; i < playersMenu.playersButtons.Length; i++) { playersMenu.playersButtons[i].GetComponentInChildren <Text>().text = $"{i + 2}"; } firstMenu.playButton.onClick.AddListener(() => ButtonFunction(ShowPlayerMenu)); firstMenu.infoButton.onClick.AddListener(() => ButtonFunction(ShowCreditMenu)); for (int i = 0; i < playersMenu.playersButtons.Length; i++) { int x = i + 2; playersMenu.playersButtons[i].onClick.AddListener(() => ButtonFunction(() => ShowColorMenu(x))); } firstMenu.configButton.onClick.AddListener(() => ButtonFunction(() => SceneManager.LoadScene("Configuration"))); firstMenu.howButton.onClick.AddListener(() => ButtonFunction(() => SceneManager.LoadScene("Help"))); playersMenu.returnButton.onClick.AddListener(() => ButtonFunction(ShowFirstMenu)); credistMenu.returnButton.onClick.AddListener(() => ButtonFunction(ShowFirstMenu)); credistMenu.malenyButton.onClick.AddListener(() => Application.OpenURL("https://www.linkedin.com/in/elena-hernández/")); credistMenu.pacoButton.onClick.AddListener(() => Application.OpenURL("https://www.linkedin.com/in/francisco-rovira/")); for (int i = 0; i < colorMenu.colorButton.Length; i++) { int x = i; colorMenu.colorButton[i].onClick.AddListener(() => ButtonFunction(() => SetColor(x))); } colorMenu.returnButton.onClick.AddListener(() => ButtonFunction(ReturnColorMenu)); credistMenu.madeText.text = mainMenuText.creditsBody; credistMenu.andText.text = mainMenuText.creditsSecondBody; musicManager = FindObjectOfType <MusicManager>(); musicManager.PlayNewClip(musicManager.menuMusic); }
static void Main(string[] args) { Console.WriteLine("Arac Kiralama Uygulamasi"); #region Uygulama Menusu Console.WriteLine("Arac Menusu icin : 1"); Console.WriteLine("Renkler Menusu icin : 2"); Console.WriteLine("Markalar Menusu icin : 3"); Console.WriteLine("Kullanicilar Menusu icin : 4"); Console.WriteLine("Musteriler Menusu icin : 5"); Console.WriteLine("Arac Kiralama Menusu icin : 6"); Console.WriteLine("Programi Kapatmak icin : 0"); string key; do { Console.WriteLine("-------------------------------------------------------------"); Console.Write("Menu Secin: "); key = Console.ReadLine(); switch (key) { case "1": CarMenu.Menu(); break; case "2": ColorMenu.Menu(); break; case "3": BrandMenu.Menu(); break; case "4": UserMenu.Menu(); break; case "5": CustomerMenu.Menu(); break; case "6": RentalMenu.Menu(); break; case "0": break; default: Console.WriteLine("Hatali giris yaptiniz."); break; } } while (key != "0"); #endregion }
static Brand() { try { Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1600, 120); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 650, -1, 200); E = new Spell.Targeted(SpellSlot.E, 630); R = new Spell.Targeted(SpellSlot.R, 750); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Brand", "Brand"); AutoMenu = Menuini.AddSubMenu("Auto"); ComboMenu = Menuini.AddSubMenu("Combo"); HarassMenu = Menuini.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass"); LaneClearMenu = Menuini.AddSubMenu("LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear"); JungleClearMenu = Menuini.AddSubMenu("JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear"); KillStealMenu = Menuini.AddSubMenu("Stealer"); DrawMenu = Menuini.AddSubMenu("Drawings"); ColorMenu = Menuini.AddSubMenu("Colors"); foreach (var spell in SpellList.Where(s => s != E && s != R)) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); Menuini.AddSeparator(0); } AutoMenu.AddGroupLabel("Auto Settings"); AutoMenu.Add("AutoR", new Slider("Auto R AoE hit [{0}] Targets or more", 2, 1, 6)); AutoMenu.Add("Gap", new CheckBox("Anti GapCloser")); AutoMenu.Add("Int", new CheckBox("Auto Interrupter")); AutoMenu.Add("Danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low")); AutoMenu.AddSeparator(0); AutoMenu.AddGroupLabel("Auto Hit Passive"); AutoMenu.Add("AutoQ", new CheckBox("Auto Q Dotnate Passive")); AutoMenu.Add("AutoW", new CheckBox("Auto W Dotnate Passive", false)); AutoMenu.Add("AutoE", new CheckBox("Auto E Dotnate Passive")); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.AddLabel("Extra Q Settings"); ComboMenu.Add("Qp", new CheckBox("Q Only for stun")); ComboMenu.Add(Q.Slot + "mana", new Slider("Use Q if Mana% is more than [{0}%]", 10)); ComboMenu.AddSeparator(1); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.AddLabel("Extra W Settings"); ComboMenu.Add("Wp", new CheckBox("W Only if target has brand passive", false)); ComboMenu.Add(W.Slot + "mana", new Slider("Use W if Mana% is more than [{0}%]", 5)); ComboMenu.AddSeparator(1); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.AddLabel("Extra E Settings"); ComboMenu.Add("Ep", new CheckBox("E Only if target has brand passive", false)); ComboMenu.Add(E.Slot + "mana", new Slider("Use E if Mana% is more than [{0}%]", 15)); ComboMenu.AddSeparator(1); ComboMenu.Add("RFinisher", new CheckBox("Use R Finisher")); ComboMenu.Add("RAoe", new CheckBox("Use R Aoe")); ComboMenu.Add("Rhit", new Slider("R AoE hit [{0}] Targets or more", 2, 1, 6)); ComboMenu.Add(R.Slot + "mana", new Slider("Use R if Mana% is more than [{0}%]")); foreach (var spell in SpellList.Where(s => s.Slot != SpellSlot.R)) { HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); HarassMenu.AddSeparator(1); LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); LaneClearMenu.AddSeparator(1); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); JungleClearMenu.AddSeparator(1); } KillStealMenu.AddGroupLabel("KillSteal"); foreach (var spell in SpellList) { KillStealMenu.Add(spell.Slot + "ks", new CheckBox("Use " + spell.Slot)); } KillStealMenu.AddSeparator(0); KillStealMenu.AddGroupLabel("JungleSteal"); foreach (var spell in SpellList) { KillStealMenu.Add(spell.Slot + "js", new CheckBox("Use " + spell.Slot)); } DrawMenu.AddGroupLabel("Drawings"); DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); DrawMenu.AddSeparator(1); foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; } catch (Exception e) { Common.Log(e.ToString()); } }
static Yasuo() { if (Game.MapId == GameMapId.SummonersRift) { //Blue team //Inside JumpSpots.Add(new Vector3(8299, 2662, 51), "SRU_KrugMini5.1.1"); //Krugsmall front JumpSpots.Add(new Vector3(8541, 2679, 50), "SRU_Krug5.1.2"); //Krugbig front JumpSpots.Add(new Vector3(7620, 4120, 54), "SRU_RedMini4.1.2"); //Redsmall front JumpSpots.Add(new Vector3(7850, 3930, 54), "SRU_RedMini4.1.3"); //Redsmall2 front JumpSpots.Add(new Vector3(6896, 5530, 55), "SRU_RazorbeakMini3.1.2"); //Birdsmall front JumpSpots.Add(new Vector3(3740, 6538, 52), "SRU_MurkwolfMini2.1.3"); //Wolfsmall front JumpSpots.Add(new Vector3(3916, 6430, 52), "SRU_MurkwolfMini2.1.2"); //Wolfsmall2 front JumpSpots.Add(new Vector3(3728, 8078, 51), "SRU_BlueMini1.1.2"); //Bluesmall front JumpSpots.Add(new Vector3(3610, 7928, 53), "SRU_BlueMini21.1.3"); //Bluesmall2 front JumpSpots.Add(new Vector3(3854, 7928, 51), "SRU_Blue1.1.1"); //Bluebig front JumpSpots.Add(new Vector3(2260, 8404, 51), "SRU_Gromp13.1.1"); //Gromp front //Outside JumpSpots.Add(new Vector3(8172, 3158, 51), "SRU_KrugMini5.1.1"); //Krugsmall Back JumpSpots.Add(new Vector3(8272, 3608, 53), "SRU_RedMini4.1.3"); //Redsmall2 Back JumpSpots.Add(new Vector3(6424, 5258, 48), "SRU_Razorbeak3.1.1"); //Birdsbig back JumpSpots.Add(new Vector3(7224, 5958, 52), "SRU_RazorbeakMini3.1.2"); //Birdsmall3 Back JumpSpots.Add(new Vector3(3674, 7058, 50), "SRU_MurkwolfMini2.1.3"); //Wolfsmall Back JumpSpots.Add(new Vector3(4324, 6258, 51), "SRU_MurkwolfMini2.1.2"); //Wolfsmall2 Back JumpSpots.Add(new Vector3(3624, 7408, 51), "SRU_BlueMini21.1.3"); //Bluesmall2 Back JumpSpots.Add(new Vector3(1674, 8356, 52), "SRU_Gromp13.1.1"); //Gromp Back //Red team //Inside JumpSpots.Add(new Vector3(6548, 12236, 56), "SRU_KrugMini11.1.1"); //Krugsmall front JumpSpots.Add(new Vector3(6324, 12256, 56), "SRU_Krug11.1.2"); //Krugbig front JumpSpots.Add(new Vector3(6980, 10978, 56), "SRU_RedMini10.1.3"); //Redsmall front JumpSpots.Add(new Vector3(7238, 10844, 56), "SRU_RedMini10.1.2"); //Redsmall2 front JumpSpots.Add(new Vector3(7906, 9382, 52), "SRU_RazorbeakMini9.1.2"); //Birdsmall front JumpSpots.Add(new Vector3(10868, 8354, 62), "SRU_MurkwolfMini8.1.3"); //Wolfsmall front JumpSpots.Add(new Vector3(11052, 8334, 61), "SRU_MurkwolfMini8.1.2"); //Wolfsmall2 front JumpSpots.Add(new Vector3(11188, 6990, 51), "SRU_BlueMini7.1.2"); //Bluesmall front JumpSpots.Add(new Vector3(10974, 7010, 51), "SRU_Blue7.1.1"); //Bluebig front JumpSpots.Add(new Vector3(12578, 6436, 51), "SRU_Gromp14.1.1"); //Gromp front //Outside JumpSpots.Add(new Vector3(6624, 11746, 53), "SRU_KrugMini11.1.1"); //Krugsmall Back JumpSpots.Add(new Vector3(6540, 11242, 56), "SRU_RedMini10.1.3"); //Redsmall Back JumpSpots.Add(new Vector3(8372, 9606, 50), "SRU_Razorbeak9.1.1"); //Birdsbig back JumpSpots.Add(new Vector3(7672, 8906, 52), "SRU_RazorbeakMini9.1.2"); //Birdsmall Back JumpSpots.Add(new Vector3(10372, 8506, 63), "SRU_MurkwolfMini8.1.3"); //Wolfsmall Back JumpSpots.Add(new Vector3(11122, 7806, 52), "SRU_MurkwolfMini8.1.2"); //Wolfsmall2 Back JumpSpots.Add(new Vector3(11122, 7506, 52), "SRU_BlueMini7.1.2"); //Bluesmall Back JumpSpots.Add(new Vector3(13172, 6408, 54), "SRU_Gromp14.1.1"); //Gromp Back } Q = new Spell.Skillshot(SpellSlot.Q, 475, SkillShotType.Linear, 250, int.MaxValue, 50); W = new Spell.Skillshot(SpellSlot.W, 400, SkillShotType.Linear, 250, int.MaxValue, 150); E = new Spell.Targeted(SpellSlot.E, 475); R = new Spell.Active(SpellSlot.R, 1200); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Yasuo", "Yasuo"); AutoMenu = Menuini.AddSubMenu("Auto"); ComboMenu = Menuini.AddSubMenu("Combo"); JumperMenu = Menuini.AddSubMenu("Flee"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("Color Picker"); Menuini.Add("Qhit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low")); AutoMenu.CreateCheckBox("Raoe", "Use AUTO R AOE"); AutoMenu.CreateSlider("Rhits", "Auto AOE R Hits {0}", 3, 1, 6); ComboMenu.CreateCheckBox("Q", "Use Q"); ComboMenu.CreateCheckBox("Q3", "Use Q3"); ComboMenu.CreateCheckBox("E", "Use E"); ComboMenu.CreateCheckBox("R", "Use R Finisher"); ComboMenu.CreateCheckBox("RCombo", "Use R For Combo Damage"); ComboMenu.CreateCheckBox("Raoe", "Use R AoE"); ComboMenu.CreateSlider("RHits", "R Hit {0} Enemies", 2, 1, 6); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("Advanced Settings"); ComboMenu.CreateCheckBox("EQ", "E > Q"); ComboMenu.CreateCheckBox("EQ3", "E > Q3"); ComboMenu.CreateCheckBox("Egap", "E GapClose To Selected Target"); ComboMenu.CreateCheckBox("Edive", "E Dive Towers", false); JumperMenu.CreateKeyBind("flee", "Flee Across all units", false, KeyBind.BindTypes.HoldActive, 'A'); JumperMenu.CreateKeyBind("wall", "Wall Jump", false, KeyBind.BindTypes.HoldActive, 'S'); //JumperMenu.CreateKeyBind("wall2", "Wall Jump OUTSIDE Camp > IN Camp", false, KeyBind.BindTypes.HoldActive, 'Z'); foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); KappaEvade.KappaEvade.Init(); //Messages.OnMessage += Messages_OnMessage; }
static Azir() { try { Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1000, 65) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Skillshot(SpellSlot.W, 525, SkillShotType.Circular); E = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 250, 1200, 80) { AllowedCollisionCount = int.MaxValue }; R = new Spell.Skillshot(SpellSlot.R, 350, SkillShotType.Linear, 500, 1000, 220) { AllowedCollisionCount = int.MaxValue }; if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerFlash")) != null) { Flash = new Spell.Skillshot(user.GetSpellSlotFromName("SummonerFlash"), 450, SkillShotType.Circular); } SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("KappAzir", "KappAzir"); AutoMenu = Menuini.AddSubMenu("Auto Settings"); JumperMenu = Menuini.AddSubMenu("Jumper Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); KillStealMenu = Menuini.AddSubMenu("KillSteal Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("ColorPicker"); foreach (var spell in SpellList.Where(s => s != E)) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); Menuini.AddSeparator(0); } AutoMenu.AddGroupLabel("Settings"); AutoMenu.Add("gap", new CheckBox("Anti-GapCloser")); AutoMenu.Add("int", new CheckBox("Interrupter")); AutoMenu.Add("Danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low")); AutoMenu.AddGroupLabel("Turret Settings"); AutoMenu.Add("tower", new CheckBox("Create Turrets")); AutoMenu.Add("Tenemy", new Slider("Create Turret If [{0}] Enemies Near", 3, 1, 6)); if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar)) { AutoMenu.Add("rengar", new CheckBox("Anti-Rengar Leap")); } JumperMenu.Add("jump", new KeyBind("WEQ Flee Key", false, KeyBind.BindTypes.HoldActive, 'A')); JumperMenu.Add("normal", new KeyBind("Normal Insec Key", false, KeyBind.BindTypes.HoldActive, 'S')); JumperMenu.Add("new", new KeyBind("New Insec Key", false, KeyBind.BindTypes.HoldActive, 'Z')); JumperMenu.Add("flash", new CheckBox("Use Flash for Possible AoE")); JumperMenu.Add("delay", new Slider("Delay EQ", 200, 0, 500)); JumperMenu.Add("range", new Slider("Check for soldiers Range", 800, 0, 1000)); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddGroupLabel("Q Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("WQ", new CheckBox("Use W > Q")); ComboMenu.Add("Qaoe", new CheckBox("Use Q Aoe", false)); ComboMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("W Settings"); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("Wsave", new CheckBox("Save 1 W Stack", false)); ComboMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("E Settings"); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("Ekill", new CheckBox("E Killable Enemy Only")); ComboMenu.Add("Edive", new CheckBox("E Dive Turrets", false)); ComboMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50)); ComboMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("R Settings"); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("Rkill", new CheckBox("R Finisher")); ComboMenu.Add("insec", new CheckBox("Try to insec in Combo")); ComboMenu.Add("Raoe", new Slider("R AoE Hit [{0}] Enemies", 3, 1, 6)); ComboMenu.Add("Rsave", new CheckBox("R Save Self")); ComboMenu.Add("RHP", new Slider("Push Enemy If my health is less than [{0}%]", 35)); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("toggle", new KeyBind("Auto Harass Key", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("Q Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("WQ", new CheckBox("Use W > Q")); HarassMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3)); HarassMenu.Add(Q.Slot + "mana", new Slider("Stop using Q if Mana < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("W Settings"); HarassMenu.Add("W", new CheckBox("Use W")); HarassMenu.Add("Wsave", new CheckBox("Save 1 W Stack")); HarassMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3)); HarassMenu.Add(W.Slot + "mana", new Slider("Stop using W if Mana < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("E Settings"); HarassMenu.Add("E", new CheckBox("Use E")); HarassMenu.Add("Edive", new CheckBox("E Dive Turrets", false)); HarassMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50)); HarassMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6)); HarassMenu.Add(E.Slot + "mana", new Slider("Stop using E if Mana < [{0}%]", 65)); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("Q", new CheckBox("Use Q")); LaneClearMenu.Add(Q.Slot + "mana", new Slider("Stop using Q if Mana < [{0}%]", 65)); LaneClearMenu.Add("W", new CheckBox("Use W")); LaneClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack")); LaneClearMenu.Add(W.Slot + "mana", new Slider("Stop using W if Mana < [{0}%]", 65)); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("Q", new CheckBox("Use Q")); JungleClearMenu.Add(Q.Slot + "mana", new Slider("Stop using Q if Mana < [{0}%]", 65)); JungleClearMenu.Add("W", new CheckBox("Use W")); JungleClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack")); JungleClearMenu.Add(W.Slot + "mana", new Slider("Stop using W if Mana < [{0}%]", 65)); KillStealMenu.AddGroupLabel("Stealer Settings"); foreach (var spell in SpellList.Where(s => s != W && s != E)) { KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot)); KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot)); } DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); DrawMenu.AddSeparator(1); foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } DrawMenu.Add("insec", new CheckBox("Draw Insec Helpers")); Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; GameObject.OnCreate += GameObject_OnCreate; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; } catch (Exception e) { Common.Logger.Error(e.ToString()); } }
public static void Execute() { Menuini = MainMenu.AddMenu("Kapp沙皇", "KappAzir"); Auto = Menuini.AddSubMenu("自动"); JumperMenu = Menuini.AddSubMenu("漂移"); ComboMenu = Menuini.AddSubMenu("连招"); HarassMenu = Menuini.AddSubMenu("骚扰"); LaneClearMenu = Menuini.AddSubMenu("清线"); JungleClearMenu = Menuini.AddSubMenu("清野"); KillstealMenu = Menuini.AddSubMenu("抢头"); DrawMenu = Menuini.AddSubMenu("线圈"); ColorMenu = Menuini.AddSubMenu("颜色"); Auto.AddGroupLabel("设置"); Auto.Add("gap", new CheckBox("防突进")); Auto.Add("int", new CheckBox("技能打断")); Auto.Add("danger", new ComboBox("技能危险等级打断", 1, "高", "中", "低")); Auto.AddGroupLabel("防御塔设置"); Auto.Add("tower", new CheckBox("召唤防御塔")); Auto.Add("Tenemy", new Slider("召唤防御塔当有 [{0}] 敌人", 3, 1, 6)); Auto.AddGroupLabel("自动防突进技能"); foreach (var spell in from spell in Gapcloser.GapCloserList from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName) select spell) { Auto.Add(spell.SpellName, new CheckBox(spell.ChampName + " " + spell.SpellSlot)); } if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar)) { Auto.Add("rengar", new CheckBox("狮子狗跳跃")); } JumperMenu.Add("jump", new KeyBind("WEQ 逃跑按键", false, KeyBind.BindTypes.HoldActive, 'A')); JumperMenu.Add("normal", new KeyBind("正常漂移推按键", false, KeyBind.BindTypes.HoldActive, 'S')); JumperMenu.Add("new", new KeyBind("新漂移推", false, KeyBind.BindTypes.HoldActive, 'Z')); JumperMenu.Add("flash", new CheckBox("尝试使用闪现进行大范围伤害")); JumperMenu.Add("delay", new Slider("延迟 EQ", 200, 0, 500)); JumperMenu.Add("range", new Slider("检查士兵距离", 800, 0, 1000)); ComboMenu.AddGroupLabel("连招设置"); ComboMenu.Add("key", new KeyBind("连招按键", false, KeyBind.BindTypes.HoldActive, 32)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("Q 设置"); ComboMenu.Add("Q", new CheckBox("使用 Q")); ComboMenu.Add("WQ", new CheckBox("使用 W > Q")); ComboMenu.Add("Qaoe", new CheckBox("使用 Q 范围伤害", false)); ComboMenu.Add("QS", new Slider("士兵数量使用Q", 1, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("W 设置"); ComboMenu.Add("W", new CheckBox("使用 W")); ComboMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数", false)); ComboMenu.Add("WS", new Slider("限制召唤几名士兵", 3, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("E 设置"); ComboMenu.Add("E", new CheckBox("使用 E")); ComboMenu.Add("Ekill", new CheckBox("E 只用于可击杀敌人")); ComboMenu.Add("Edive", new CheckBox("E 越塔", false)); ComboMenu.Add("EHP", new Slider("只使用 E 当我的血量高于 [{0}%]", 50)); ComboMenu.Add("Esafe", new Slider("不 E 进 [{0}] 个敌人", 3, 1, 6)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("R 设置"); ComboMenu.Add("R", new CheckBox("使用 R")); ComboMenu.Add("Rkill", new CheckBox("R 尾头")); ComboMenu.Add("insec", new CheckBox("连招尝试进行漂移推")); ComboMenu.Add("Raoe", new Slider("R 范围伤害 [{0}] 名敌人", 3, 1, 6)); ComboMenu.Add("Rsave", new CheckBox("R 自救")); ComboMenu.Add("RHP", new Slider("推开敌人当我的血量低于 [{0}%]", 35)); HarassMenu.AddGroupLabel("骚扰设置"); HarassMenu.Add("key", new KeyBind("骚扰按键", false, KeyBind.BindTypes.HoldActive, 'C')); HarassMenu.Add("toggle", new KeyBind("自动骚扰开关按键", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("Q 设置"); HarassMenu.Add("Q", new CheckBox("使用 Q")); HarassMenu.Add("WQ", new CheckBox("使用 W > Q")); HarassMenu.Add("QS", new Slider("士兵数量使用Q", 1, 1, 3)); HarassMenu.Add("Qmana", new Slider("蓝量Q限制 < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("W 设置"); HarassMenu.Add("W", new CheckBox("使用 W")); HarassMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数")); HarassMenu.Add("WS", new Slider("限制召唤几名士兵", 3, 1, 3)); HarassMenu.Add("Wmana", new Slider("蓝量W限制 < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("E 设置"); HarassMenu.Add("E", new CheckBox("使用 E")); HarassMenu.Add("Edive", new CheckBox("E Dive Turrets", false)); HarassMenu.Add("EHP", new Slider("只使用 E 当我的血量高于 [{0}%]", 50)); HarassMenu.Add("Esafe", new Slider("不 E 进 [{0}] 个敌人", 3, 1, 6)); HarassMenu.Add("Emana", new Slider("蓝量E限制 < [{0}%]", 65)); LaneClearMenu.AddGroupLabel("清线设置"); LaneClearMenu.Add("key", new KeyBind("清线按键", false, KeyBind.BindTypes.HoldActive, 'V')); LaneClearMenu.Add("Q", new CheckBox("使用 Q")); LaneClearMenu.Add("Qmana", new Slider("蓝量Q限制 < [{0}%]", 65)); LaneClearMenu.Add("W", new CheckBox("使用 W")); LaneClearMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数")); LaneClearMenu.Add("Wmana", new Slider("蓝量W限制 < [{0}%]", 65)); JungleClearMenu.AddGroupLabel("清野设置"); JungleClearMenu.Add("key", new KeyBind("清野按键", false, KeyBind.BindTypes.HoldActive, 'V')); JungleClearMenu.Add("Q", new CheckBox("使用 Q")); JungleClearMenu.Add("Qmana", new Slider("蓝量Q限制 < [{0}%]", 65)); JungleClearMenu.Add("W", new CheckBox("使用 W")); JungleClearMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数")); JungleClearMenu.Add("Wmana", new Slider("蓝量W限制 < [{0}%]", 65)); KillstealMenu.AddGroupLabel("抢头设置"); KillstealMenu.Add("Q", new CheckBox("使用 Q")); KillstealMenu.Add("E", new CheckBox("使用 E")); KillstealMenu.Add("R", new CheckBox("使用 R")); foreach (var spell in Azir.SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } DrawMenu.Add("insec", new CheckBox("显示漂移推助手")); }
static Malzahar() { Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 250, 500, 90); W = new Spell.Skillshot(SpellSlot.W, 600, SkillShotType.Circular, 250, int.MaxValue, 80); E = new Spell.Targeted(SpellSlot.E, 650); R = new Spell.Targeted(SpellSlot.R, 700); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Malzahar", "Malzahar"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); HarassMenu.AddGroupLabel("Harass"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); LaneClearMenu.AddGroupLabel("LaneClear"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); JungleClearMenu.AddGroupLabel("JungleClear"); KillStealMenu = Menuini.AddSubMenu("KillSteal Settings"); KillStealMenu.AddGroupLabel("Stealer"); MiscMenu = Menuini.AddSubMenu("Misc Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); DrawMenu.AddGroupLabel("Drawings"); ColorMenu = Menuini.AddSubMenu("ColorPicker"); ColorMenu.AddGroupLabel("ColorPicker"); foreach (var spell in SpellList.Where(s => s == Q)) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); } ComboMenu.AddGroupLabel("Combo"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("RCombo", new CheckBox("Use R Combo")); ComboMenu.Add("RFinisher", new CheckBox("Use R Finisher")); ComboMenu.Add("RTurret", new CheckBox("Use R if enemy Under Ally Turret")); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("Don't Use Ult On:"); foreach (var enemy in EntityManager.Heroes.Enemies) { var cb = new CheckBox(enemy.BaseSkinName + " (" + enemy.Name + ")") { CurrentValue = false }; ComboMenu.Add("DontUlt" + enemy.ID(), cb); } DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); foreach (var spell in SpellList) { if (spell != R) { HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use" + spell.Slot + " if Mana% is more than [{0}%]", 65)); LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot)); } KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot)); DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } KillStealMenu.AddGroupLabel("Don't Use Ult On:"); foreach (var enemy in EntityManager.Heroes.Enemies) { var cb = new CheckBox(enemy.BaseSkinName + " (" + enemy.Name + ")") { CurrentValue = false }; KillStealMenu.Add("DontUlt" + enemy.ID(), cb); } MiscMenu.AddGroupLabel("Misc"); MiscMenu.Add("RSave", new CheckBox("Block All Commands When Casting R")); MiscMenu.Add("Qgap", new CheckBox("Q on GapCloser")); MiscMenu.Add("Rgap", new CheckBox("R on GapCloser")); MiscMenu.Add("Qint", new CheckBox("Q interrupt DangerSpells")); MiscMenu.Add("Rint", new CheckBox("R interrupt DangerSpells")); MiscMenu.Add("RTurret", new CheckBox("R Enemy Under Ally Tower")); MiscMenu.Add("blockR", new CheckBox("Block R under Enemy Turret", false)); MiscMenu.Add("danger", new ComboBox("Spells DangerLevel to interrupt", 2, "High", "Medium", "Low")); Spellbook.OnCastSpell += Spellbook_OnCastSpell; Player.OnIssueOrder += Player_OnIssueOrder; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; GameObject.OnCreate += GameObject_OnCreate; Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; }
public static void Execute() { Menuini = MainMenu.AddMenu("KappAzir", "KappAzir"); Auto = Menuini.AddSubMenu("Auto Settings"); JumperMenu = Menuini.AddSubMenu("Jumper Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); KillstealMenu = Menuini.AddSubMenu("KillSteal Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("ColorPicker"); Auto.AddGroupLabel("Ayarlar"); Auto.Add("gap", new CheckBox("Anti-GapCloser")); Auto.Add("int", new CheckBox("Interrupter")); Auto.Add("danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low")); Auto.AddGroupLabel("Kule ayarları"); Auto.Add("tower", new CheckBox("Kule kur")); Auto.Add("Tenemy", new Slider("Kule kurmak için yakındaki düşman sayısı", 3, 1, 6)); Auto.AddGroupLabel("Anti GapCloser Büyüleri"); foreach (var spell in from spell in Gapcloser.GapCloserList from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName) select spell) { Auto.Add(spell.SpellName, new CheckBox(spell.ChampName + " " + spell.SpellSlot)); } if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar)) { Auto.Add("rengar", new CheckBox("Rengar Sıçraması")); } JumperMenu.Add("jump", new KeyBind("WEQ Kaçma tuşu", false, KeyBind.BindTypes.HoldActive, 'A')); JumperMenu.Add("normal", new KeyBind("Normal Insec Tuşu", false, KeyBind.BindTypes.HoldActive, 'S')); JumperMenu.Add("new", new KeyBind("Yeni Insec Tuşu", false, KeyBind.BindTypes.HoldActive, 'Z')); JumperMenu.Add("flash", new CheckBox("Pasif Flash kombosu kullan")); JumperMenu.Add("delay", new Slider("Gecikme EQ", 200, 0, 500)); JumperMenu.Add("range", new Slider("Asker menzilini kontrol et", 800, 0, 1000)); ComboMenu.AddGroupLabel("Combo Ayarları"); ComboMenu.Add("key", new KeyBind("Combo Tuşu", false, KeyBind.BindTypes.HoldActive, 32)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("Q Ayarları"); ComboMenu.Add("Q", new CheckBox("Kullan Q")); ComboMenu.Add("WQ", new CheckBox("Kullan W > Q")); ComboMenu.Add("Qaoe", new CheckBox("Kullan Q Aoe", false)); ComboMenu.Add("QS", new Slider("Askerlerle Q Kullan", 1, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("W Ayarları"); ComboMenu.Add("W", new CheckBox("Kullan W")); ComboMenu.Add("Wsave", new CheckBox("1 yük sakla", false)); ComboMenu.Add("WS", new Slider("Asker yaratma limitleyici", 3, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("E Ayarları"); ComboMenu.Add("E", new CheckBox("Kullan E")); ComboMenu.Add("Ekill", new CheckBox("E Sadece hedef ölecekse")); ComboMenu.Add("Edive", new CheckBox("E Kuleye dalış", false)); ComboMenu.Add("EHP", new Slider("Sadece benim canım şu kadar veya fazlaysa [{0}%]", 50)); ComboMenu.Add("Esafe", new Slider("Şu kadar düşmanın arasına atlama E ile", 3, 1, 6)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("R Ayarları"); ComboMenu.Add("R", new CheckBox("Kullan R")); ComboMenu.Add("Rkill", new CheckBox("R Bitirici")); ComboMenu.Add("insec", new CheckBox("İnsec kombosunda kullanmaya çalış")); ComboMenu.Add("Raoe", new Slider("R AoE Çarpacağı düşman sayısı", 3, 1, 6)); ComboMenu.Add("Rsave", new CheckBox("R yi Sakla güvenliğim için")); ComboMenu.Add("RHP", new Slider("Hedefi itmek için benim kalan canım [{0}%]", 35)); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("key", new KeyBind("Dürtme tuşu", false, KeyBind.BindTypes.HoldActive, 'C')); HarassMenu.Add("toggle", new KeyBind("Otomatik dürtme", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("Q Ayarları"); HarassMenu.Add("Q", new CheckBox("Kullan Q")); HarassMenu.Add("WQ", new CheckBox("Kullan W > Q")); HarassMenu.Add("QS", new Slider("Askerler Q kullansın", 1, 1, 3)); HarassMenu.Add("Qmana", new Slider("Q kullanması için gereken manam < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("W Ayarları"); HarassMenu.Add("W", new CheckBox("Kullan W")); HarassMenu.Add("Wsave", new CheckBox("1 yük sakla")); HarassMenu.Add("WS", new Slider("Asker çıkarma limitleyici", 3, 1, 3)); HarassMenu.Add("Wmana", new Slider("W kullanmayı durdur şu kadar mana varsa < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("E Ayarları"); HarassMenu.Add("E", new CheckBox("Kullan E")); HarassMenu.Add("Edive", new CheckBox("E ile Kuleye dal", false)); HarassMenu.Add("EHP", new Slider("Sadece benim canım şu kadar veya fazlaysa [{0}%]", 50)); HarassMenu.Add("Esafe", new Slider("Şu kadar düşman arasına E KUllanma", 3, 1, 6)); HarassMenu.Add("Emana", new Slider("E kullanmak için manam şundan çok [{0}%]", 65)); LaneClearMenu.AddGroupLabel("Lanetemizleme Ayarları"); LaneClearMenu.Add("key", new KeyBind("Lanetemizleme Tuşu", false, KeyBind.BindTypes.HoldActive, 'V')); LaneClearMenu.Add("Q", new CheckBox("Kullan Q")); LaneClearMenu.Add("Qmana", new Slider("Q kullanmayı durdur manam şundan azsa < [{0}%]", 65)); LaneClearMenu.Add("W", new CheckBox("Kullan W")); LaneClearMenu.Add("Wsave", new CheckBox("1 yük sakla")); LaneClearMenu.Add("Wmana", new Slider("W için gereken manam [{0}%]", 65)); JungleClearMenu.AddGroupLabel("Ormantemizleme Kullan"); JungleClearMenu.Add("key", new KeyBind("Ormantemizleme Tuşu", false, KeyBind.BindTypes.HoldActive, 'V')); JungleClearMenu.Add("Q", new CheckBox("Kullan Q")); JungleClearMenu.Add("Qmana", new Slider("Q kullanmak için gerekli mana [{0}%]", 65)); JungleClearMenu.Add("W", new CheckBox("Kullan W")); JungleClearMenu.Add("Wsave", new CheckBox("1 yük sakla")); JungleClearMenu.Add("Wmana", new Slider("W kullanmak için en az mana < [{0}%]", 65)); KillstealMenu.AddGroupLabel("Killçalma ayarları"); KillstealMenu.Add("Q", new CheckBox("Kullan Q")); KillstealMenu.Add("E", new CheckBox("Kullan E")); KillstealMenu.Add("R", new CheckBox("Kullan R")); foreach (var spell in Azir.SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } DrawMenu.Add("insec", new CheckBox("Insec yardımcısını göster")); }
static Xerath() { Scryb = new Item((int)ItemId.Farsight_Alteration, 3500f); Q = new Spell.Chargeable(SpellSlot.Q, 750, 1500, 1500, 500, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Skillshot(SpellSlot.W, 1100, SkillShotType.Circular, 250, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear, 250, 1600, 70) { AllowedCollisionCount = 0 }; R = new Spell.Skillshot(SpellSlot.R, 3200, SkillShotType.Circular, 500, int.MaxValue, 120) { AllowedCollisionCount = int.MaxValue }; SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Xerath", "Xerath"); RMenu = Menuini.AddSubMenu("R Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); ComboMenu.AddGroupLabel("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); HarassMenu.AddGroupLabel("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); KillStealMenu = Menuini.AddSubMenu("Stealer"); KillStealMenu.AddGroupLabel("Stealer Settings"); MiscMenu = Menuini.AddSubMenu("Misc Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("Color Picker"); foreach (var spell in SpellList) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); Menuini.AddSeparator(0); } RMenu.AddGroupLabel("R Settings"); RMenu.Add("R", new CheckBox("Use R")); RMenu.Add("scrybR", new CheckBox("Use Scrybing Orb while Ulting")); RMenu.Add("Rmode", new ComboBox("R Mode", 0, "Auto", "Custom Delays", "On Tap")); RMenu.Add("Rtap", new KeyBind("R Tap Key", false, KeyBind.BindTypes.HoldActive, 'S')); RMenu.AddGroupLabel("R Custom Delays"); for (var i = 1; i <= 5; i++) { RMenu.Add("delay" + i, new Slider("Delay " + i, 0, 0, 1500)); } RMenu.Add("Rblock", new CheckBox("Block Commands While Casting R")); RMenu.Add("Rnear", new CheckBox("Focus Targets Near Mouse Only")); RMenu.Add("Mradius", new Slider("Mouse Radius", 750, 300, 1500)); HarassMenu.Add("toggle", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'H')); foreach (var spell in SpellList.Where(s => s != R)) { ComboMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% > [{0}%]")); HarassMenu.AddSeparator(0); LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mode", new ComboBox(spell.Slot + " Mode", 0, "LaneClear", "LastHit", "Both")); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% > [{0}%]")); LaneClearMenu.AddSeparator(0); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% > [{0}%]")); JungleClearMenu.AddSeparator(0); KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot)); KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot)); KillStealMenu.AddSeparator(0); } MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gap", new CheckBox("E Anti-GapCloser")); MiscMenu.Add("int", new CheckBox("E Interrupter")); MiscMenu.Add("Danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low")); MiscMenu.Add("flee", new KeyBind("Escape with E", false, KeyBind.BindTypes.HoldActive, 'A')); MiscMenu.Add("Notifications", new CheckBox("Use Notifications")); MiscMenu.Add("autoECC", new CheckBox("Auto E On CC enemy")); MiscMenu.Add("scrybebuy", new CheckBox("Auto Scrybing Orb Buy")); MiscMenu.Add("scrybebuylevel", new Slider("Buy Orb at level [{0}]", 9, 1, 18)); foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); } DrawMenu.Add("Rmini", new CheckBox("Draw R Range (MiniMap)", false)); DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); foreach (var spell in SpellList) { ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse)); } Drawing.OnEndScene += Drawing_OnEndScene; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Player.OnIssueOrder += Player_OnIssueOrder; GameObject.OnCreate += GameObject_OnCreate; }
public override void Draw() { W2.SpellRange(ColorMenu.Color("W2"), DrawMenu.checkbox("w2")); }
static AurelionSol() { Q = new Spell.Skillshot(SpellSlot.Q, 600, SkillShotType.Linear, 0, 1000, 180); W = new Spell.Active(SpellSlot.W, 600); W2 = new Spell.Active(SpellSlot.W, 350); R = new Spell.Skillshot(SpellSlot.R, 1475, SkillShotType.Linear, 250, 1750, 180); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(R); Menuini = MainMenu.AddMenu("AurelionSol", "AurelionSol"); AutoMenu = Menuini.AddSubMenu("Auto Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); ComboMenu.AddGroupLabel("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); HarassMenu.AddGroupLabel("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); KillStealMenu = Menuini.AddSubMenu("KillSteal Settings"); KillStealMenu.AddGroupLabel("Stealer Settings"); DrawMenu = Menuini.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawings"); ColorMenu = Menuini.AddSubMenu("ColorPicker"); ColorMenu.AddGroupLabel("Color Picker"); Menuini.AddGroupLabel("Global Settings"); Menuini.Add("qrange", new Slider("Q Range [{0}]", 800, 350, 1500)); Menuini.Add("wmax", new Slider("Max W Range [{0}]", 750, 600, 1500)); Menuini.Add("wmin", new Slider("Min W Range [{0}]", 400, 200, 599)); foreach (var spell in SpellList.Where(s => s != W)) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); } AutoMenu.AddGroupLabel("Automated Settings"); AutoMenu.Add("GapQ", new CheckBox("Anti-Gapcloser Q")); AutoMenu.Add("GapR", new CheckBox("Anti-Gapcloser R")); AutoMenu.Add("IntQ", new CheckBox("Interrupter Q")); AutoMenu.Add("IntR", new CheckBox("Interrupter R")); AutoMenu.Add("Danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low")); DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); DrawMenu.AddSeparator(1); foreach (var spell in SpellList) { ComboMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); if (spell != R) { HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); if (spell != W) { LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); } } if (spell == W) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Max Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse)); } if (spell != W) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse)); KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot)); KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot)); } } ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("Extra Settings"); ComboMenu.Add("disableAA", new CheckBox("Disable AA When W Active", false)); ComboMenu.Add("qmode", new ComboBox("Cast Q2 mode", 0, "Anyone", "Only Target")); ComboMenu.Add("Rfinisher", new CheckBox("R Finisher")); ComboMenu.Add("Raoe", new Slider("R AoE hit", 2, 1, 6)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("Extra Settings"); HarassMenu.Add("qmode", new ComboBox("Q2 mode", 0, "Anyone", "Only Target")); DrawMenu.Add("w2", new CheckBox("W Min Range")); ColorMenu.Add("w2", new ColorPicker("W2 Color", Color.Chartreuse)); Gapcloser.OnGapcloser += Auto.Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Auto.Interrupter_OnInterruptableSpell; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; }
static Kindred() { Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, 250, int.MaxValue, -1); W = new Spell.Active(SpellSlot.W, 900); E = new Spell.Targeted(SpellSlot.E, 550); R = new Spell.Active(SpellSlot.R, 500); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Kindred", "Kindred"); AutoMenu = Menuini.AddSubMenu("Auto"); ComboMenu = Menuini.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo"); HarassMenu = Menuini.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass"); LaneClearMenu = Menuini.AddSubMenu("LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear"); JungleClearMenu = Menuini.AddSubMenu("JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear"); KillStealMenu = Menuini.AddSubMenu("Stealer"); DrawMenu = Menuini.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawings"); ColorMenu = Menuini.AddSubMenu("ColorPicker"); ColorMenu.AddGroupLabel("ColorPicker"); Menuini.Add("focusE", new CheckBox("Focus Target With E Mark")); Menuini.Add("focusP", new CheckBox("Focus Target Passive Mark", false)); Menuini.Add("wr", new Slider("Reduce W Range by [800 - {0}]", 250, 0, 500)); AutoMenu.AddGroupLabel("Auto Settings"); AutoMenu.Add("Gap", new CheckBox("Anti GapCloser - Q")); AutoMenu.AddSeparator(0); AutoMenu.AddGroupLabel("AutoR Settings"); AutoMenu.Add("R", new CheckBox("Use R")); AutoMenu.Add("Rhp", new Slider("Use R If MY HP under [{0}%]", 35)); AutoMenu.Add("Rally", new Slider("Use R If ALLY HP under [{0}%]", 25)); ComboMenu.Add("Qmode", new ComboBox("Q Mode", 0, "Auto", "Kite", "Chase", "To Mouse")); HarassMenu.Add("Qmode", new ComboBox("Q Mode", 0, "Auto", "Kite", "Chase", "To Mouse")); foreach (var spell in SpellList) { if (spell != R) { ComboMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); } DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse)); } ComboMenu.AddGroupLabel("Extra Settings"); ComboMenu.Add("QW", new CheckBox("Use Smart W Q")); KillStealMenu.Add(Q.Slot + "ks", new CheckBox("Q Killsteal")); KillStealMenu.Add(Q.Slot + "js", new CheckBox("Q JungleSteal")); DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); Orbwalker.OnUnkillableMinion += Clear.Orbwalker_OnUnkillableMinion; Orbwalker.OnPostAttack += Compat.Orbwalker_OnPostAttack; Obj_AI_Base.OnProcessSpellCast += Auto.Obj_AI_Base_OnProcessSpellCast; Gapcloser.OnGapcloser += Auto.Gapcloser_OnGapcloser; OnIncDmg += Kindred_OnIncDmg; }
/// <summary> /// Creates a reaction menu from an array of template embeds and sets up all required database fields, then sends the embed to the target <paramref name="Channel"/>. /// </summary> /// <param name="EmbedBuilders">The template for the set of pages the ReactionMenu may display.</param> /// <param name="Channel">The channel to send the ReactionMenu into.</param> /// <returns>A <c>Task</c> object, which can be awaited until this method completes successfully.</returns> public async Task CreateReactionMenu(EmbedBuilder[] EmbedBuilders, ISocketMessageChannel Channel) { RestUserMessage Message = await Channel.SendMessageAsync( embed : BuildEmbed(EmojiEnum.Unknown).WithTitle("Setting up reaction menu-").Build() ); List <uint> Colors = new (); foreach (EmbedBuilder Builder in EmbedBuilders) { Colors.Add(Builder.Color.HasValue ? Builder.Color.Value.RawValue : Color.Blue.RawValue); } int EmbedMenuID; string EmbedMenuJSON = JsonConvert.SerializeObject(EmbedBuilders); EmbedMenu EmbedMenu = ReactionMenuDB.EmbedMenus.AsQueryable() .Where(Menu => Menu.EmbedMenuJSON.Equals(EmbedMenuJSON)).FirstOrDefault(); if (EmbedMenu != null) { EmbedMenuID = EmbedMenu.EmbedIndex; } else { EmbedMenuID = ReactionMenuDB.EmbedMenus.AsQueryable().Count() + 1; ReactionMenuDB.EmbedMenus.Add( new EmbedMenu() { EmbedIndex = EmbedMenuID, EmbedMenuJSON = EmbedMenuJSON } ); } int ColorMenuID; string ColorMenuJSON = JsonConvert.SerializeObject(Colors.ToArray()); ColorMenu ColorMenu = ReactionMenuDB.ColorMenus.AsQueryable() .Where(Menu => Menu.ColorMenuJSON.Equals(ColorMenuJSON)).FirstOrDefault(); if (ColorMenu != null) { ColorMenuID = ColorMenu.ColorIndex; } else { ColorMenuID = ReactionMenuDB.ColorMenus.AsQueryable().Count() + 1; ReactionMenuDB.ColorMenus.Add(new ColorMenu() { ColorIndex = ColorMenuID, ColorMenuJSON = ColorMenuJSON }); } ReactionMenu ReactionMenu = new() { CurrentPage = 1, MessageID = Message.Id, ColorMenuIndex = ColorMenuID, EmbedMenuIndex = EmbedMenuID }; ReactionMenuDB.ReactionMenus.Add(ReactionMenu); ReactionMenuDB.SaveChanges(); await Message.ModifyAsync(MessageP => MessageP.Embed = CreateMenuEmbed(ReactionMenu)); await Message.AddReactionAsync(new Emoji("⬅️")); await Message.AddReactionAsync(new Emoji("➡️")); }
public void ShowColorMenu() { ColorMenu.Show(); }
void colorButton_MouseButtonClick(Widget source, EventArgs e) { ColorMenu.ShowColorMenu(this.Left, this.Top, (c) => { }); }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != ChampionName) { return; } Q = new Spell.Chargeable(SpellSlot.Q, 750, 1450, 1500, 500, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Skillshot(SpellSlot.W, 1100, SkillShotType.Circular, 250, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 1600, 70); R = new Spell.Skillshot(SpellSlot.R, 3200, SkillShotType.Circular, 600, int.MaxValue, 125) { AllowedCollisionCount = int.MaxValue }; SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Xerath", "Xerath"); RMenu = Menuini.AddSubMenu("R Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); KillStealMenu = Menuini.AddSubMenu("KillSteal Settings"); MiscMenu = Menuini.AddSubMenu("Misc Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("Color Picker"); RMenu.AddGroupLabel("R Settings"); RMenu.Add("R", new CheckBox("Use R")); RMenu.Add(R.Slot + "hit", new ComboBox("R HitChance", 0, "High", "Medium", "Low")); RMenu.Add("scrybR", new CheckBox("Use Scrybing Orb while Ulting")); RMenu.Add("Rmode", new ComboBox("R Mode", 0, "Auto", "Custom Delays", "On Tap")); RMenu.Add("Rtap", new KeyBind("R Tap Key", false, KeyBind.BindTypes.HoldActive, 'S')); RMenu.AddGroupLabel("R Custom Delays"); for (int i = 1; i <= 5; i++) { RMenu.Add("delay" + i, new Slider("Delay " + i, 0, 0, 1500)); } RMenu.Add("Rblock", new CheckBox("Block Commands While Casting R")); RMenu.Add("Rnear", new CheckBox("Focus Targets Near Mouse Only")); RMenu.Add("Mradius", new Slider("Mouse Radius", 750, 300, 1500)); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("key", new KeyBind("Combo Key", false, KeyBind.BindTypes.HoldActive, 32)); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add(Q.Slot + "hit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add(W.Slot + "hit", new ComboBox("W HitChance", 0, "High", "Medium", "Low")); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add(E.Slot + "hit", new ComboBox("E HitChance", 0, "High", "Medium", "Low")); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("key", new KeyBind("Harass Key", false, KeyBind.BindTypes.HoldActive, 'C')); HarassMenu.Add("toggle", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add(Q.Slot + "hit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low")); HarassMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]")); HarassMenu.Add("W", new CheckBox("Use W")); HarassMenu.Add(W.Slot + "hit", new ComboBox("W HitChance", 0, "High", "Medium", "Low")); HarassMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]")); HarassMenu.Add("E", new CheckBox("Use E")); HarassMenu.Add(E.Slot + "hit", new ComboBox("E HitChance", 0, "High", "Medium", "Low")); HarassMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]")); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("key", new KeyBind("LaneClear Key", false, KeyBind.BindTypes.HoldActive, 'V')); LaneClearMenu.Add("Q", new CheckBox("Use Q")); LaneClearMenu.Add("Qmode", new ComboBox("Q Mode", 0, "LaneClear", "LastHit", "Both")); LaneClearMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]")); LaneClearMenu.Add("W", new CheckBox("Use W")); LaneClearMenu.Add("Wmode", new ComboBox("W Mode", 0, "LaneClear", "LastHit", "Both")); LaneClearMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]")); LaneClearMenu.Add("E", new CheckBox("Use E")); LaneClearMenu.Add("Emode", new ComboBox("E Mode", 0, "LaneClear", "LastHit", "Both")); LaneClearMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]")); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("key", new KeyBind("JungleClear Key", false, KeyBind.BindTypes.HoldActive, 'V')); JungleClearMenu.Add("Q", new CheckBox("Use Q")); JungleClearMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]")); JungleClearMenu.Add("W", new CheckBox("Use W")); JungleClearMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]")); JungleClearMenu.Add("E", new CheckBox("Use E")); JungleClearMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]")); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("Q", new CheckBox("Use Q")); KillStealMenu.Add("W", new CheckBox("Use W")); KillStealMenu.Add("E", new CheckBox("Use E")); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gap", new CheckBox("E Anti-GapCloser")); MiscMenu.Add("int", new CheckBox("E Interrupter")); MiscMenu.Add("danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low")); MiscMenu.Add("flee", new KeyBind("Escape with E", false, KeyBind.BindTypes.HoldActive, 'A')); var notifi = MiscMenu.Add("Notifications", new CheckBox("Use Notifications")); MiscMenu.Add("autoECC", new CheckBox("Auto E On CC enemy")); MiscMenu.Add("scrybebuy", new CheckBox("Auto Scrybing Orb Buy")); MiscMenu.Add("scrybebuylevel", new Slider("Buy Orb at level [{0}]", 9, 1, 18)); MiscMenu.AddGroupLabel("Anti-GapCloser Spells"); foreach (var spell in from spell in Gapcloser.GapCloserList from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName) select spell) { MiscMenu.Add(spell.SpellName, new CheckBox(spell.ChampName + " - " + spell.SpellSlot)); } foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); } DrawMenu.Add("Rmini", new CheckBox("Draw R Range (MiniMap)", false)); foreach (var spell in SpellList) { ColorMenu.Add(spell.Slot + "Color", new ColorPicker(spell.Slot + " Color", Color.Chartreuse)); } if (notifi.CurrentValue) { Common.ShowNotification("KappaXerath - Loaded", 5000); } Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Player.OnIssueOrder += Player_OnIssueOrder; GameObject.OnCreate += GameObject_OnCreate; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
public static void Execute() { Menuini = MainMenu.AddMenu("KappAzir", "KappAzir"); Auto = Menuini.AddSubMenu("Auto Settings"); JumperMenu = Menuini.AddSubMenu("Jumper Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); KillstealMenu = Menuini.AddSubMenu("KillSteal Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("ColorPicker"); Auto.AddGroupLabel("Settings"); Auto.Add("gap", new CheckBox("Anti-GapCloser")); Auto.Add("int", new CheckBox("Interrupter")); Auto.Add("danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low")); Auto.AddGroupLabel("Turret Settings"); Auto.Add("tower", new CheckBox("Create Turrets")); Auto.Add("Tenemy", new Slider("Create Turret If [{0}] Enemies Near", 3, 1, 6)); Auto.AddGroupLabel("Anti GapCloser Spells"); foreach (var spell in from spell in Gapcloser.GapCloserList from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName) select spell) { Auto.Add(spell.SpellName, new CheckBox(spell.ChampName + " " + spell.SpellSlot)); } if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar)) { Auto.Add("rengar", new CheckBox("Rengar Leap")); } JumperMenu.Add("jump", new KeyBind("WEQ Flee Key", false, KeyBind.BindTypes.HoldActive, 'A')); JumperMenu.Add("normal", new KeyBind("Normal Insec Key", false, KeyBind.BindTypes.HoldActive, 'S')); JumperMenu.Add("new", new KeyBind("New Insec Key", false, KeyBind.BindTypes.HoldActive, 'Z')); JumperMenu.Add("flash", new CheckBox("Use Flash for Possible AoE")); JumperMenu.Add("delay", new Slider("Delay EQ", 200, 0, 500)); JumperMenu.Add("range", new Slider("Check for soldiers Range", 800, 0, 1000)); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("key", new KeyBind("Combo Key", false, KeyBind.BindTypes.HoldActive, 32)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("Q Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("WQ", new CheckBox("Use W > Q")); ComboMenu.Add("Qaoe", new CheckBox("Use Q Aoe", false)); ComboMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("W Settings"); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("Wsave", new CheckBox("Save 1 W Stack", false)); ComboMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("E Settings"); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("Ekill", new CheckBox("E Killable Enemy Only")); ComboMenu.Add("Edive", new CheckBox("E Dive Turrets", false)); ComboMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50)); ComboMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6)); ComboMenu.AddSeparator(0); ComboMenu.AddGroupLabel("R Settings"); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("Rkill", new CheckBox("R Finisher")); ComboMenu.Add("insec", new CheckBox("Try to insec in Combo")); ComboMenu.Add("Raoe", new Slider("R AoE Hit [{0}] Enemies", 3, 1, 6)); ComboMenu.Add("Rsave", new CheckBox("R Save Self")); ComboMenu.Add("RHP", new Slider("Push Enemy If my health is less than [{0}%]", 35)); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("key", new KeyBind("Harass Key", false, KeyBind.BindTypes.HoldActive, 'C')); HarassMenu.Add("toggle", new KeyBind("Auto Harass Key", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("Q Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("WQ", new CheckBox("Use W > Q")); HarassMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3)); HarassMenu.Add("Qmana", new Slider("Stop using Q if Mana < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("W Settings"); HarassMenu.Add("W", new CheckBox("Use W")); HarassMenu.Add("Wsave", new CheckBox("Save 1 W Stack")); HarassMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3)); HarassMenu.Add("Wmana", new Slider("Stop using W if Mana < [{0}%]", 65)); HarassMenu.AddSeparator(0); HarassMenu.AddGroupLabel("E Settings"); HarassMenu.Add("E", new CheckBox("Use E")); HarassMenu.Add("Edive", new CheckBox("E Dive Turrets", false)); HarassMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50)); HarassMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6)); HarassMenu.Add("Emana", new Slider("Stop using E if Mana < [{0}%]", 65)); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("key", new KeyBind("LaneClear Key", false, KeyBind.BindTypes.HoldActive, 'V')); LaneClearMenu.Add("Q", new CheckBox("Use Q")); LaneClearMenu.Add("Qmana", new Slider("Stop using Q if Mana < [{0}%]", 65)); LaneClearMenu.Add("W", new CheckBox("Use W")); LaneClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack")); LaneClearMenu.Add("Wmana", new Slider("Stop using W if Mana < [{0}%]", 65)); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("key", new KeyBind("JungleClear Key", false, KeyBind.BindTypes.HoldActive, 'V')); JungleClearMenu.Add("Q", new CheckBox("Use Q")); JungleClearMenu.Add("Qmana", new Slider("Stop using Q if Mana < [{0}%]", 65)); JungleClearMenu.Add("W", new CheckBox("Use W")); JungleClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack")); JungleClearMenu.Add("Wmana", new Slider("Stop using W if Mana < [{0}%]", 65)); KillstealMenu.AddGroupLabel("KillSteal Settings"); KillstealMenu.Add("Q", new CheckBox("Use Q")); KillstealMenu.Add("E", new CheckBox("Use E")); KillstealMenu.Add("R", new CheckBox("Use R")); foreach (var spell in Azir.SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } DrawMenu.Add("insec", new CheckBox("Draw Insec Helpers")); }