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 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()); } }
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; }