public static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Diana")) { return; } Chat.Print("Diana - Bloody Lunari Loaded!"); /*Color.Crimson);*/ Chat.Print("By Horizon & Radi"); /*Color.OrangeRed);*/ Chat.Print("Good luck and have fun, summoner."); /*Color.DarkViolet);*/ _Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 250, 1400, 50); _W = new Spell.Active(SpellSlot.W, 200); _E = new Spell.Active(SpellSlot.E, 450); _R = new Spell.Targeted(SpellSlot.R, 825); _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); StartMenu = MainMenu.AddMenu("Diana", "Diana"); ComboMenu = StartMenu.AddSubMenu("Combo Settings", "Combo Settings"); HarrasMenu = StartMenu.AddSubMenu("Harras Settings", "Harras Settings"); AHarrasM = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings"); LastHitM = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings"); LCMenu = StartMenu.AddSubMenu("LaneClear Settings", "LaneClear Settings"); KSMenu = StartMenu.AddSubMenu("KillSteall Settings", "KillSteall Settings"); AntiSpellMenu = StartMenu.AddSubMenu("AntiSpell Settings", "AntiSpell Settings"); ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings"); DrawingsMenu = StartMenu.AddSubMenu("Drawings Settings", "Drawings Settings"); StartMenu.AddGroupLabel("Diana - Bloody Lunari"); StartMenu.AddSeparator(2); StartMenu.AddGroupLabel("Made By"); StartMenu.AddLabel("- Horizon"); StartMenu.AddLabel("- Radi"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Q Spell Settings"); ComboMenu.Add("UseQ", new CheckBox("Use [Q]")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("W Spell Settings"); ComboMenu.Add("UseW", new CheckBox("Use [W]")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("E Spell Settings"); ComboMenu.Add("UseE", new CheckBox("Use [E] (when enemy out of AA range)")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("R Spell Settings"); ComboMenu.Add("UseR", new CheckBox("Use [R] on Combo")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("R Spell Settings - tick only one option"); ComboMenu.Add("RONLY", new CheckBox("Use [R] (only when target got Q mark)")); ComboMenu.Add("RNO", new CheckBox("Use [R] (always) ", false)); HarrasMenu.AddGroupLabel("Harras Settings"); HarrasMenu.AddLabel("Q Spell Settings"); HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for Harras")); HarrasMenu.AddSeparator(0); HarrasMenu.AddLabel("W Spell Settings"); HarrasMenu.Add("UseWH", new CheckBox("Use [W] for Harras")); HarrasMenu.AddSeparator(0); HarrasMenu.AddLabel("E Spell Settings"); HarrasMenu.Add("UseEH", new CheckBox("Use [E] for Harras")); AHarrasM.AddGroupLabel("Auto Harras Settings"); AHarrasM.Add("AHQ", new CheckBox("Use Auto Harras")); AHarrasM.AddLabel("Q Spell Settings"); AHarrasM.Add("QAO", new CheckBox("Use [Q] for Auto Harras")); AHarrasM.AddSeparator(0); AHarrasM.AddLabel("Mana settings"); AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use [Q] in Auto Harras (%{0})", 50, 1)); LastHitM.AddGroupLabel("Last Hit Settings"); LastHitM.AddLabel("Q Spell Settings"); LastHitM.Add("Qlh", new CheckBox("Use Q to Last Hit")); LastHitM.AddSeparator(0); LastHitM.AddLabel("W Spell Settings"); LastHitM.Add("Elh", new CheckBox("Use W to Last Hit")); LastHitM.AddSeparator(0); LastHitM.AddLabel("Mana settings"); LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] [W] in Auto Harras (%{0})", 50, 1)); LCMenu.AddGroupLabel("Lane Clear Settings"); LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear")); LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 50, 1)); LCMenu.AddSeparator(1); LCMenu.Add("LCW", new CheckBox("Use [W] for Lane Clear")); LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [W] in Lane Clear (%{0})", 50, 1)); LCMenu.AddSeparator(2); LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear")); LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 50, 1)); LCMenu.Add("JGCW", new CheckBox("Use [W] for Jungle clear")); LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [W] in Jungle Clear (%{0})", 50, 1)); KSMenu.AddGroupLabel("KillSteal Settings"); KSMenu.AddLabel("Q Spell Settings"); KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q")); KSMenu.AddSeparator(0); KSMenu.AddLabel("W Spell Settings"); KSMenu.Add("KSW", new CheckBox(" - KillSteal with W")); KSMenu.AddSeparator(0); KSMenu.AddLabel("R Spell Settings"); KSMenu.Add("KSR", new CheckBox(" - KillSteal with R")); AntiSpellMenu.AddGroupLabel("Anti Spell Settings"); AntiSpellMenu.AddLabel("Use shield when playing against Morgana or Lux"); AntiSpellMenu.Add("ASLux", new CheckBox("- Anti Lux Passive")); AntiSpellMenu.AddSeparator(0); AntiSpellMenu.Add("ASMorgana", new CheckBox("- Anti Morgana")); AntiSpellMenu.AddLabel("Mana settings"); AntiSpellMenu.Add("ASPM", new Slider("Minimum mana percentage for Shield (%{0})", 80, 1)); ActivatorMenu.AddGroupLabel("Activator Settings"); ActivatorMenu.AddLabel("Use Summoner Spell"); ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable")); DrawingsMenu.AddGroupLabel("Drawing Settings"); DrawingsMenu.AddLabel("Tick for enable/disable spell drawings"); 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")); Game.OnUpdate += Game_OnUpdate; Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }
public static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Evelynn")) { return; } Chat.Print("Bloody Evelynn - Loaded", System.Drawing.Color.Crimson); _Q = new Spell.Active(SpellSlot.Q, 500); _W = new Spell.Active(SpellSlot.W); _E = new Spell.Targeted(SpellSlot.E, 225); _R = new Spell.Skillshot(SpellSlot.R, 625, SkillShotType.Circular, 250, int.MaxValue, 300); _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); StartMenu = MainMenu.AddMenu("Bloody Evelynn", "Bloody Evelynn"); ComboMenu = StartMenu.AddSubMenu("Combo Settings", "Combo Settings"); HarrasMenu = StartMenu.AddSubMenu("Harras Settings", "Harras Settings"); AHarrasM = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings"); LastHitM = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings"); LCMenu = StartMenu.AddSubMenu("Clear Settings", "Clear Settings"); FlyMenu = StartMenu.AddSubMenu("Flee Settings", "Flee Settings"); KSMenu = StartMenu.AddSubMenu("KillSteal Settings", "KillSteal Settings"); ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings"); DrawingsMenu = StartMenu.AddSubMenu("Drawing Settings", "Drawing Settings"); StartMenu.AddGroupLabel("Evelynn - Bloody Shadow"); StartMenu.AddSeparator(2); StartMenu.AddGroupLabel("Made By"); StartMenu.AddLabel("- Horizon"); StartMenu.AddLabel("- Radi"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Combos", new ComboBox("Combo Logic", 0, "Q->E->R", "E->Q->R", "R->Q->E", "E->R->Q", "Q->R->E")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("Q Spell Settings"); ComboMenu.Add("UseQ", new CheckBox("Use [Q]")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("W Spell Settings"); ComboMenu.Add("UseW", new CheckBox("Use [W] in Combo")); ComboMenu.Add("WRange", new Slider("Minimum range for W", 525, 1, 800)); ComboMenu.Add("Wn", new Slider("Minimum enemy in range for W", 1, 0, 5)); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("E Spell Settings"); ComboMenu.Add("UseE", new CheckBox("Use [E] ")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("R Spell Settings"); ComboMenu.Add("UseR", new CheckBox("Use [R] in Combo")); ComboMenu.Add("Rn", new Slider("Minimum enemy for R", 1, 0, 5)); ComboMenu.AddSeparator(0); HarrasMenu.AddGroupLabel("Harras Settings"); HarrasMenu.AddLabel("Q Spell Settings"); HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for harras")); HarrasMenu.AddSeparator(0); HarrasMenu.AddLabel("E Spell Settings"); HarrasMenu.Add("UseEH", new CheckBox("Use [E] for harras")); AHarrasM.AddGroupLabel("AutoHarras Settings"); AHarrasM.AddLabel("Q Spell Settings"); AHarrasM.Add("AHQ", new CheckBox("Use AutoHarras", false)); AHarrasM.Add("QAO", new CheckBox("Use [Q] for AutoHarras")); AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use[Q] in AutoHarras(%{ 0})", 65, 1)); LastHitM.AddGroupLabel("Last Hit Settings"); LastHitM.AddLabel("Q Spell Settings"); LastHitM.Add("Qlh", new CheckBox("Use Q to Last hit")); LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] in Last Hit(%{ 0})", 40, 1)); KSMenu.AddGroupLabel("KillSteal Settings"); KSMenu.AddLabel("Q Spell Settings"); KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q")); KSMenu.AddSeparator(0); KSMenu.AddLabel("E Spell Settings"); KSMenu.Add("KSE", new CheckBox(" - KillSteal with E")); KSMenu.AddSeparator(0); KSMenu.AddLabel("R Spell Settings"); KSMenu.Add("KSR", new CheckBox(" - KillSteal with R", false)); LCMenu.AddGroupLabel("LaneClear Settings"); LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear")); LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 30, 1)); LCMenu.AddSeparator(1); LCMenu.Add("LCW", new CheckBox("Use [E] for Lane Clear")); LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [E] in Lane Clear (%{0})", 30, 1)); LCMenu.AddSeparator(2); LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear")); LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 30, 1)); LCMenu.Add("JGCW", new CheckBox("Use [E] for Jungle clear")); LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [E] in Jungle Clear (%{0})", 30, 1)); FlyMenu.AddGroupLabel("Flee Settings"); FlyMenu.AddLabel("Tick for enable/disable skill usage in flee"); FlyMenu.AddSeparator(0); FlyMenu.AddLabel("Q Spell Settings"); FlyMenu.Add("UseQf", new CheckBox("Use Q to Flee")); ActivatorMenu.AddGroupLabel("Activator Settings"); ActivatorMenu.AddLabel("Use Summoner Spell"); ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable")); DrawingsMenu.AddGroupLabel("Drawing Settings"); DrawingsMenu.AddLabel("Tick for enable/disable Draw"); DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DRpred", new CheckBox("- Draw Ultimate prediction")); Game.OnUpdate += Game_OnUpdate; Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }
private static void OnLoad() { Menu = MainMenu.AddMenu("Aatrox", "Aatrox"); Menu.AddLabel("Ported from BrianSharp - Berb"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50)); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("RHpU", new Slider("-> If Enemy Hp <", 60)); ComboMenu.Add("RCountA", new Slider("-> Or Enemy >=", 2, 1, 5)); ComboMenu.AddSeparator(); HarassMenu = Menu.AddSubMenu("Harass"); HarassMenu.Add("AutoE", new KeyBind("Auto E", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.Add("AutoEHpA", new Slider("-> If Hp >=", 50)); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("QHpA", new Slider("-> If Hp >=", 20)); HarassMenu.Add("E", new CheckBox("Use E")); HarassMenu.AddSeparator(); ClearMenu = Menu.AddSubMenu("Clear"); ClearMenu.Add("Q", new CheckBox("Use Q")); ClearMenu.Add("W", new CheckBox("Use W")); ClearMenu.Add("WPriority", new CheckBox("-> Priority Heal")); ClearMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50)); ClearMenu.Add("E", new CheckBox("Use E")); ClearMenu.Add("Item", new CheckBox("Use Tiamat/Hydra Item")); ClearMenu.AddSeparator(); FleeMenu = Menu.AddSubMenu("Flee"); FleeMenu.Add("Q", new CheckBox("Use Q")); FleeMenu.Add("E", new CheckBox("Use E")); FleeMenu.AddSeparator(); KSMenu = Menu.AddSubMenu("Kill Steal"); KSMenu.Add("Q", new CheckBox("Use Q")); KSMenu.Add("E", new CheckBox("Use E")); KSMenu.Add("Smite", new CheckBox("Use Smite")); KSMenu.Add("Ignite", new CheckBox("Use Ignite")); KSMenu.AddSeparator(); GapMenu = Menu.AddSubMenu("Anti Gap Closer"); GapMenu.Add("Q", new CheckBox("Use Q")); foreach ( var spell in AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { GapMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } GapMenu.AddSeparator(); IntMenu = Menu.AddSubMenu("Interrupt"); IntMenu.Add("Q", new CheckBox("Use Q")); foreach ( var spell in Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { IntMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } IntMenu.AddSeparator(); SmiteMenu = Menu.AddSubMenu("Smite Mob"); SmiteMenu.Add("Smite", new CheckBox("Use Smite")); SmiteMenu.Add("Auto", new CheckBox("-> Auto Smite")); SmiteMenu.Add("Baron", new CheckBox("-> Baron Nashor")); SmiteMenu.Add("Dragon", new CheckBox("-> Dragon")); SmiteMenu.Add("Red", new CheckBox("-> Red Brambleback")); SmiteMenu.Add("Blue", new CheckBox("-> Blue Sentinel")); SmiteMenu.Add("Krug", new CheckBox("-> Ancient Krug")); SmiteMenu.Add("Gromp", new CheckBox("-> Gromp")); SmiteMenu.Add("Raptor", new CheckBox("-> Crimson Raptor")); SmiteMenu.Add("Wolf", new CheckBox("-> Greater Murk Wolf")); SmiteMenu.AddSeparator(); DrawMenu = Menu.AddSubMenu("Drawings"); DrawMenu.Add("Q", new CheckBox("Use Q")); DrawMenu.Add("E", new CheckBox("Use E")); DrawMenu.Add("R", new CheckBox("Use R")); DrawMenu.AddSeparator(); Q = new Spell(SpellSlot.Q, 650); Q2 = new Spell(SpellSlot.Q, 650); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 1075); R = new Spell(SpellSlot.R, 550); Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle); Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine); Tiamat = ItemData.Tiamat_Melee_Only.GetItem(); Hydra = ItemData.Ravenous_Hydra_Melee_Only.GetItem(); foreach ( var spell in myHero.Spellbook.Spells.Where( i => i.Name.ToLower().Contains("smite") && (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2))) { Smite = spell.Slot; } Ignite = myHero.GetSpellSlot("summonerdot"); Game.OnTick += OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt; Drawing.OnDraw += OnDraw; }
private static void OnLoad() { Menu = MainMenu.AddMenu("剑魔", "Aatrox"); Menu.AddLabel("原BrianSharp移植 - Berb"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("连招"); ComboMenu.Add("Q", new CheckBox("使用 Q")); ComboMenu.Add("W", new CheckBox("使用 W")); ComboMenu.Add("WHpU", new Slider("-> 切换W为治疗,当生命低于", 50)); ComboMenu.Add("E", new CheckBox("使用 E")); ComboMenu.Add("R", new CheckBox("使用 R")); ComboMenu.Add("RHpU", new Slider("-> 使用R 敌方生命低于 <", 60)); ComboMenu.Add("RCountA", new Slider("-> 或者敌方数量为 >=", 2, 1, 5)); ComboMenu.AddSeparator(); HarassMenu = Menu.AddSubMenu("骚扰"); HarassMenu.Add("AutoE", new KeyBind("自动 E", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.Add("AutoEHpA", new Slider("-> 如果生命大于>=", 50)); HarassMenu.Add("Q", new CheckBox("使用 Q")); HarassMenu.Add("QHpA", new Slider("-> 如果生命大于 >=", 20)); HarassMenu.Add("E", new CheckBox("使用 E")); HarassMenu.AddSeparator(); ClearMenu = Menu.AddSubMenu("清线"); ClearMenu.Add("Q", new CheckBox("使用 Q")); ClearMenu.Add("W", new CheckBox("使用 W")); ClearMenu.Add("WPriority", new CheckBox("-> 优先治疗")); ClearMenu.Add("WHpU", new Slider("-> 切换W为治疗,当生命低于", 50)); ClearMenu.Add("E", new CheckBox("使用 E")); ClearMenu.Add("Item", new CheckBox("使用 九头蛇/泰坦")); ClearMenu.AddSeparator(); FleeMenu = Menu.AddSubMenu("逃跑"); FleeMenu.Add("Q", new CheckBox("使用 Q")); FleeMenu.Add("E", new CheckBox("使用 E")); FleeMenu.AddSeparator(); KSMenu = Menu.AddSubMenu("抢头"); KSMenu.Add("Q", new CheckBox("使用 Q")); KSMenu.Add("E", new CheckBox("使用 E")); KSMenu.Add("Smite", new CheckBox("使用惩戒")); KSMenu.Add("Ignite", new CheckBox("使用点燃")); KSMenu.AddSeparator(); GapMenu = Menu.AddSubMenu("防突击"); GapMenu.Add("Q", new CheckBox("使用 Q")); foreach ( var spell in AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { GapMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } GapMenu.AddSeparator(); IntMenu = Menu.AddSubMenu("技能打断"); IntMenu.Add("Q", new CheckBox("使用 Q")); foreach ( var spell in Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { IntMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } IntMenu.AddSeparator(); SmiteMenu = Menu.AddSubMenu("惩戒"); SmiteMenu.Add("Smite", new CheckBox("使用惩戒")); SmiteMenu.Add("Auto", new CheckBox("-> 自动惩戒")); SmiteMenu.Add("Baron", new CheckBox("-> 男爵")); SmiteMenu.Add("Dragon", new CheckBox("-> 龙")); SmiteMenu.Add("Red", new CheckBox("-> 红")); SmiteMenu.Add("Blue", new CheckBox("-> 蓝")); SmiteMenu.Add("Krug", new CheckBox("-> 石头人")); SmiteMenu.Add("Gromp", new CheckBox("-> 青蛙")); SmiteMenu.Add("Raptor", new CheckBox("-> 4鸟")); SmiteMenu.Add("Wolf", new CheckBox("-> 狼")); SmiteMenu.AddSeparator(); DrawMenu = Menu.AddSubMenu("线圈"); DrawMenu.Add("Q", new CheckBox("显示 Q")); DrawMenu.Add("E", new CheckBox("显示 E")); DrawMenu.Add("R", new CheckBox("显示 R")); DrawMenu.AddSeparator(); Q = new Spell(SpellSlot.Q, 650); Q2 = new Spell(SpellSlot.Q, 650); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 1075); R = new Spell(SpellSlot.R, 550); Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle); Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine); Tiamat = ItemData.Tiamat_Melee_Only.GetItem(); Hydra = ItemData.Ravenous_Hydra_Melee_Only.GetItem(); foreach (var spell in myHero.Spellbook.Spells.Where(i => i.Name.ToLower().Contains("smite") && (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2))) { Smite = spell.Slot; } Ignite = myHero.GetSpellSlot("summonerdot"); Game.OnTick += OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt; Drawing.OnDraw += OnDraw; }
private static void OnLoad(EventArgs args) { if (myHero.Hero != Champion.Khazix) { return; } Chat.Print("Ported and Edited Have fun :)"); Menu = MainMenu.AddMenu("Ronin KhaZix", "KhaZix"); Menu.AddLabel("Have Fun ! by Taazuma"); ComboMenu = Menu.AddSubMenu("Combo", "KhaZix.Combo"); HarassMenu = Menu.AddSubMenu("Harass", "KhaZix.Harass"); LaneClearMenu = Menu.AddSubMenu("Lane Clear", "KhaZix.LaneClear"); JumpMenu = Menu.AddSubMenu("Double Jump", "KhaZix.DoubleJump"); SafetyMenu = Menu.AddSubMenu("Safety", "KhaZix.Safety"); KSMenu = Menu.AddSubMenu("Kill Steal", "KhaZix.KillSteal"); Menu.AddSeparator(); // --------------------------------- COMBO --------------------------------- ComboMenu.AddGroupLabel("Combo"); ComboMenu.Add("UseQCombo", new CheckBox("Use Q")); ComboMenu.Add("UseWCombo", new CheckBox("Use W")); ComboMenu.Add("UseECombo", new CheckBox("Use E")); ComboMenu.Add("UseRCombo", new CheckBox("Use R")); ComboMenu.Add("UseItems", new CheckBox("Use Items")); ComboMenu.AddSeparator(); ComboMenu.Add("UseEGapclose", new CheckBox("Use E To Gapclose for Q")); ComboMenu.Add("UseEGapcloseW", new CheckBox("Use E To Gapclose For W")); ComboMenu.Add("UseRGapcloseW", new CheckBox("Use R after long gapcloses")); ComboMenu.Add("UseIgnite", new CheckBox("Use Ignite")); ComboMenu.AddSeparator(); // --------------------------------- Harass --------------------------------- HarassMenu.AddGroupLabel("Harass"); HarassMenu.Add("UseQHarass", new CheckBox("Use Q")); HarassMenu.Add("UseWHarass", new CheckBox("Use W")); HarassMenu.Add("Harass.AutoWI", new CheckBox("Auto-W immobile")); HarassMenu.Add("Harass.AutoWD", new CheckBox("Auto W")); HarassMenu.AddSeparator(); // --------------------------------- Lane Clear --------------------------------- LaneClearMenu.AddGroupLabel("Lane Clear"); LaneClearMenu.Add("UseQFarm", new CheckBox("Use Q")); LaneClearMenu.Add("UseEFarm", new CheckBox("Use E")); LaneClearMenu.Add("UseWFarm", new CheckBox("Use W")); LaneClearMenu.Add("Farm.WHealth", new Slider("Health % to use W", 80, 0, 100)); LaneClearMenu.Add("UseItemsFarm", new CheckBox("Use Items", true)); LaneClearMenu.AddSeparator(); // --------------------------------- Double Jump --------------------------------- JumpMenu.AddGroupLabel("Double Jump"); JumpMenu.Add("djumpenabled", new CheckBox("Enabled")); JumpMenu.Add("delayQ", new Slider("Delay on Q", 1, 1, 5)); JumpMenu.Add("JEDelay", new Slider("Delay on jumps", 250, 250, 500)); JumpMenu.Add("jumpmode", new Slider("1 : Default (jumps towards your nexus) | 2 : Custom - Settings below", 1, 1, 2)); JumpMenu.AddSeparator(); JumpMenu.Add("save", new CheckBox("Save Double Jump Abilities")); JumpMenu.Add("noauto", new CheckBox("Wait for Q instead of autos")); JumpMenu.Add("jcursor", new CheckBox("Jump to Cursor (true) or false for script logic")); JumpMenu.Add("jcursor2", new CheckBox("Second Jump to Cursor (true) or false for script logic")); JumpMenu.AddSeparator(); // --------------------------------- Safe --------------------------------- SafetyMenu.AddGroupLabel("Safety"); SafetyMenu.Add("Safety.Enabled", new CheckBox("Enable Safety Checks")); SafetyMenu.Add("Safety.CountCheck", new CheckBox("Min Ally ratio to Enemies to jump")); SafetyMenu.Add("Safety.TowerJump", new CheckBox("Avoid Tower Diving")); SafetyMenu.Add("Safety.Override", new KeyBind("Safety Override Key", false, KeyBind.BindTypes.HoldActive, 'T')); SafetyMenu.Add("Safety.MinHealth", new Slider("Healthy %", 15, 0, 100)); SafetyMenu.Add("Safety.Ratio", new Slider("Ally:Enemy Ratio (/5)", 1, 0, 5)); SafetyMenu.AddSeparator(); // --------------------------------- KS --------------------------------- KSMenu.AddGroupLabel("Kill Steal Settings"); KSMenu.Add("Kson", new CheckBox("Use KillSteal")); KSMenu.Add("UseQKs", new CheckBox("Use Q")); KSMenu.Add("UseWKs", new CheckBox("Use W")); KSMenu.Add("UseEKs", new CheckBox("Use E")); KSMenu.Add("Ksbypass", new CheckBox("Bypass safety checks for E KS", false)); KSMenu.Add("UseEQKs", new CheckBox("Use EQ in KS")); KSMenu.Add("UseEWKs", new CheckBox("Use EW in KS")); KSMenu.Add("UseTiamatKs", new CheckBox("Use items")); KSMenu.Add("Edelay", new Slider("E Delay (ms)", 0, 0, 300)); KSMenu.AddSeparator(); var ign = Player.Spells.FirstOrDefault(o => o.SData.Name == "summonerdot"); if (ign != null) { SpellSlot igslot = EloBuddy.SDK.Extensions.GetSpellSlotFromName(myHero, "summonerdot"); ignite = new Spell.Targeted(igslot, 600); } Q = new Spell.Targeted(SpellSlot.Q, 325); W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 225, 828, 80); WE = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 225, 828, 100); E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Circular, 250, 1000, 100); R = new Spell.Active(SpellSlot.R, 0); foreach (var t in ObjectManager.Get <Obj_AI_Turret>().Where(t => t.IsEnemy)) { EnemyTurretPositions.Add(t.ServerPosition); } var shop = ObjectManager.Get <Obj_Shop>().FirstOrDefault(o => o.IsAlly); if (shop != null) { NexusPosition = shop.Position; } HeroList = EntityManager.Heroes.AllHeroes; Game.OnTick += OnTick; Game.OnTick += DoubleJump; Spellbook.OnCastSpell += Spellbook_OnCastSpell; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; }
static void MenuLB() { Lbmenu = MainMenu.AddMenu("SP-LeBlanc", "SP-LeBlanc"); Lbmenu.AddGroupLabel("SP-LeBlanc"); Lbmenu.AddSeparator(); Lbmenu.AddGroupLabel("Q-R-W-E = Combo || E-R-Q-W Combo 2"); Lbmenu.AddGroupLabel("Q-W-E = Harass"); Lbmenu.AddGroupLabel("W-Q = Lane Clear"); //Lbmenu.AddGroupLabel("Hydra,Tiamat,Youmuu's Item's Usage (Combo, Harass, LaneClear)"); Lbmenu.AddLabel("SP-LeBlanc v1.0.0.2"); // COMBO ComboMenu = Lbmenu.AddSubMenu("Combo", "combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.AddSeparator(); var combo = ComboMenu.Add("combo", new Slider("Combo 1 or 2", 0, 0, 1)); combo.OnValueChange += delegate { combo.DisplayName = "Combo 1 or 2: " + new[] { "Combo 1", "Combo 2" }[combo.CurrentValue]; }; combo.DisplayName = "Combo 1 or 2: " + new[] { "Combo 1", "Combo 2" }[combo.CurrentValue]; // HARASS /*HarassMenu = Lbmenu.AddSubMenu("Harass", "harass"); * HarassMenu.AddGroupLabel("Harass Settings"); * HarassMenu.AddSeparator(); * HarassMenu.Add("useharassq", new CheckBox("Use Q")); * HarassMenu.Add("useharassw", new CheckBox("Use W")); * HarassMenu.Add("useharasse", new CheckBox("Use E"));*/ // KİLLSTEAL KSMenu = Lbmenu.AddSubMenu("Killsteal", "ks"); KSMenu.AddGroupLabel("KillSteal Settings"); KSMenu.AddSeparator(); KSMenu.Add("ksq", new CheckBox("Use Q")); KSMenu.Add("ksw", new CheckBox("Use W")); KSMenu.Add("kse", new CheckBox("Use E")); // LANE LaneCMenu = Lbmenu.AddSubMenu("Lane Clear", "laneclear"); LaneCMenu.AddGroupLabel("Lane Clear Settings"); LaneCMenu.AddSeparator(); LaneCMenu.Add("uselcq", new CheckBox("Use Q")); LaneCMenu.Add("uselcw", new CheckBox("Use W")); LaneCMenu.Add("wcnt", new Slider("Use W if Hit >= :", 3, 0, 10)); LaneCMenu.Add("LMANA", new Slider("Min. mana for laneclear :", 0, 0, 100)); // MİSC MiscMenu = Lbmenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.AddSeparator(); MiscMenu.AddLabel("Skin Changer"); var skin = MiscMenu.Add("sID", new Slider("Skin", 0, 0, 5)); var sId = new[] { "Classic", "Wicked", "Prestigious", "Mistletoe", "Ravenborn" }; skin.DisplayName = sId[skin.CurrentValue]; skin.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sId[changeArgs.NewValue]; }; var Style = MiscMenu.Add("style", new Slider("Min Prediction", 1, 0, 2)); Style.OnValueChange += delegate { Style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[Style.CurrentValue]; }; Style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[Style.CurrentValue]; // DRAW DrawMenu = Lbmenu.AddSubMenu("Drawing", "draw"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawst", new CheckBox("Draw Combo Status")); }