private static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Leona")) { return; } Chat.Print("The Horizon Leona - Loaded,"); Chat.Print("For best experience left-click target."); _Q = new Spell.Active(SpellSlot.Q, 175); _W = new Spell.Active(SpellSlot.W, 275); _E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Linear, 250, 2000, 70); _E.AllowedCollisionCount = int.MaxValue; _R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Circular, castDelay: 250, spellWidth: 200); _R.AllowedCollisionCount = int.MaxValue; _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); StartMenu = MainMenu.AddMenu("The Horizon Leona", "The Horizon Leona"); ComboMenu = StartMenu.AddSubMenu("Combo", "Combo"); DrawingsMenu = StartMenu.AddSubMenu("Drawings", "Drawings"); ActivatorMenu = StartMenu.AddSubMenu("Activator", "Activator"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Tick for enable/disable spells in Combo"); ComboMenu.Add("UseQ", new CheckBox("Use [Q]")); ComboMenu.Add("UseW", new CheckBox("Use [W]")); ComboMenu.Add("UseE", new CheckBox("Use [E]")); ComboMenu.Add("UseR", new CheckBox("Use [R]")); DrawingsMenu.AddGroupLabel("Drawing Settings"); DrawingsMenu.AddLabel("Tick for enable/disable Draw Spell Range"); DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range")); ActivatorMenu.AddGroupLabel("Activator Settings"); ActivatorMenu.AddLabel("Use Summoner Spell"); ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable")); ActivatorMenu.AddSeparator(0); ActivatorMenu.AddSeparator(1); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Sona")) { return; } Chat.Print("The Horizon Sona - Loaded !"); _Q = new Spell.Active(SpellSlot.Q, 825); _W = new Spell.Active(SpellSlot.W, 1000); _E = new Spell.Active(SpellSlot.E, 425); _R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Linear, 250, 2400, 140); _R.AllowedCollisionCount = int.MaxValue; _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); _FlashR = new Spell.Skillshot(SpellSlot.R, 1050, SkillShotType.Linear, 250, 2400, 140); StartMenu = MainMenu.AddMenu("The Horizon Sona", "The Horizon Sona"); ComboMenu = StartMenu.AddSubMenu("Combo", "Combo"); AHarrasMenu = StartMenu.AddSubMenu("Auto Harras", "Auto Harras"); DrawingsMenu = StartMenu.AddSubMenu("Drawings", "Drawings"); ActivatorMenu = StartMenu.AddSubMenu("Activator", "Activator"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Q Settings"); ComboMenu.Add("UseQ", new CheckBox("Use [Q]")); ComboMenu.AddLabel("W Settings"); ComboMenu.Add("UseW", new CheckBox("Use [W]")); ComboMenu.AddSeparator(1); ComboMenu.Add("HPW", new Slider("Ally Minimum Health Percentage %{0} Use W ", 60, 1)); ComboMenu.AddSeparator(1); ComboMenu.Add("HPWS", new Slider("Sona Minimum Health Percentage %{0} Use W ", 80, 1)); ComboMenu.AddSeparator(1); ComboMenu.AddLabel("E Settings"); ComboMenu.Add("UseE", new CheckBox("Use [E] in combo", false)); ComboMenu.Add("UseEA", new CheckBox("Use [E] for ally")); ComboMenu.Add("HPE", new Slider(" Ally Minimum Health Percentage %{0} Use E ", 30, 1)); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("UseR", new CheckBox("Use [R] in combo", false)); ComboMenu.AddSeparator(1); ComboMenu.AddLabel("Use for cast Flash + R To enemy "); ComboMenu.Add("FlashR", new KeyBind("Use Flash + R", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddSeparator(1); ComboMenu.AddLabel("Use for cast Ultimate to enemy by Prediction "); ComboMenu.Add("UltA", new KeyBind("Use Ultimate Assistance", false, KeyBind.BindTypes.HoldActive, 'R')); ComboMenu.Add("UseUA", new CheckBox("Tick for enable/disable Ultimate Assistance")); AHarrasMenu.AddGroupLabel("Auto Harras Settings"); AHarrasMenu.AddLabel("Tick for enable/disable auto harras with Q when enemy is in Range"); AHarrasMenu.Add("AHQ", new CheckBox("- Use [Q] For Auto Harras")); AHarrasMenu.Add("AHQM", new Slider(" Minimum Mana Percentage %{0} Use [Q] ", 65, 1)); DrawingsMenu.AddGroupLabel("Drawing Settings"); DrawingsMenu.AddLabel("Tick for enable/disable Draw Spell Range"); DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range")); ActivatorMenu.AddGroupLabel("Activator Settings"); ActivatorMenu.AddLabel("Use Summoner Spell"); ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable")); ActivatorMenu.AddSeparator(0); ActivatorMenu.AddSeparator(1); Game.OnTick += Game_OnTick; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }