private static void onLoad(EventArgs args) { try { if (Riven.Player.ChampionName != "Riven") { return; } Game.PrintChat("RivenSharp by DeTuKs"); Config = new Menu("Riven - Sharp", "Riven", true); //Orbwalkervar menu = new Menu("My Mainmenu", "my_mainmenu", true); var orbwalkerMenu = new Menu("LX Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //TS var TargetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); //Combo Config.AddSubMenu(new Menu("Combo Sharp", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("forceQE", "Use Q after E")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("packets", "Use packet cast")).SetValue(true); //Haras Config.AddSubMenu(new Menu("Harass Sharp", "haras")); Config.SubMenu("haras").AddItem(new MenuItem("doHarasE", "Harass enemy E")).SetValue(new KeyBind('G', KeyBindType.Press, false)); Config.SubMenu("haras").AddItem(new MenuItem("doHarasQ", "Harass enemy Q")).SetValue(new KeyBind('T', KeyBindType.Press, false)); //Drawing Config.AddSubMenu(new Menu("Drawing Sharp", "draw")); Config.SubMenu("draw").AddItem(new MenuItem("doDraw", "Dissable drawings")).SetValue(false); Config.SubMenu("draw").AddItem(new MenuItem("drawHp", "Draw pred hp")).SetValue(true); //Debug Config.AddSubMenu(new Menu("Debug", "debug")); Config.SubMenu("debug").AddItem(new MenuItem("db_targ", "Debug Target")).SetValue(new KeyBind('0', KeyBindType.Press, false)); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Drawing.OnEndScene += OnEndScene; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; GameObject.OnPropertyChange += OnPropertyChange; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; Game.OnGameSendPacket += OnGameSendPacket; Game.OnGameProcessPacket += OnGameProcessPacket; Riven.setSkillshots(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
private static void onLoad(EventArgs args) { try { if (Riven.Player.ChampionName != "Riven") { return; } Game.PrintChat("RivenSharp by DeTuKs 鍔犺浇鎴愬姛!姹夊寲by浜岀嫍!QQ缇361630847"); Config = new Menu("RivenV2浜岀嫍姹夊寲", "Riven", true); //Orbwalkervar menu = new Menu("My Mainmenu", "my_mainmenu", true); var orbwalkerMenu = new Menu("LX璧扮爫", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //TS var TargetSelectorMenu = new Menu("鐩爣閫夋嫨", "Target Selector"); SimpleTs.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); //Combo Config.AddSubMenu(new Menu("杩炴嫑", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("forceQE", "鍏圗鍚嶲")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("packets", "浣跨敤灏佸寘")).SetValue(true); //Haras Config.AddSubMenu(new Menu("楠氭壈", "haras")); Config.SubMenu("haras").AddItem(new MenuItem("doHarasE", "E楠氭壈鏁屼汉")).SetValue(new KeyBind('G', KeyBindType.Press, false)); Config.SubMenu("haras").AddItem(new MenuItem("doHarasQ", "Q楠氭壈鏁屼汉")).SetValue(new KeyBind('T', KeyBindType.Press, false)); //Drawing Config.AddSubMenu(new Menu("鑼冨洿", "draw")); Config.SubMenu("draw").AddItem(new MenuItem("doDraw", "鏈€杩滄妧鑳借寖鍥磡")).SetValue(false); Config.SubMenu("draw").AddItem(new MenuItem("drawHp", "杩炴嫑閫犳垚HP")).SetValue(true); //Debug Config.AddSubMenu(new Menu("璋冭瘯", "debug")); Config.SubMenu("debug").AddItem(new MenuItem("db_targ", "鐩爣璋冭瘯")).SetValue(new KeyBind('0', KeyBindType.Press, false)); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Drawing.OnEndScene += OnEndScene; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; GameObject.OnPropertyChange += OnPropertyChange; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; Game.OnGameSendPacket += OnGameSendPacket; Game.OnGameProcessPacket += OnGameProcessPacket; Riven.setSkillshots(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
private static void onLoad(EventArgs args) { try { Game.PrintChat("RivenSharp by DeTuKs"); Config = new Menu("【無為汉化】瑞文V2", "Riven", true); //Orbwalkervar menu = new Menu("My Mainmenu", "my_mainmenu", true); var orbwalkerMenu = new Menu("LX 走砍", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //TS var TargetSelectorMenu = new Menu("目标选择", "Target Selector"); SimpleTs.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); //Combo Config.AddSubMenu(new Menu("连招", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("useR", "使用 R")).SetValue(new KeyBind('Z', KeyBindType.Toggle, true)); Config.SubMenu("combo").AddItem(new MenuItem("forceQE", "使用Q后E")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("packets", "使用封包")).SetValue(true); //Haras Config.AddSubMenu(new Menu("骚扰", "haras")); Config.SubMenu("haras").AddItem(new MenuItem("doHarasE", "使用 E")).SetValue(new KeyBind('G', KeyBindType.Press, false)); Config.SubMenu("haras").AddItem(new MenuItem("doHarasQ", "使用 Q")).SetValue(new KeyBind('T', KeyBindType.Press, false)); //Drawing Config.AddSubMenu(new Menu("绘制", "draw")); Config.SubMenu("draw").AddItem(new MenuItem("doDraw", "清除绘制")).SetValue(false); Config.SubMenu("draw").AddItem(new MenuItem("drawHp", "显示伤害")).SetValue(true); //Debug Config.AddSubMenu(new Menu("调试", "debug")); Config.SubMenu("debug").AddItem(new MenuItem("db_targ", "调试目标")).SetValue(new KeyBind('0', KeyBindType.Press, false)); Config.AddSubMenu(new Menu("無為汉化", "by wuwei")); Config.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "汉化群:386289593")); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Drawing.OnEndScene += OnEndScene; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; GameObject.OnPropertyChange += OnPropertyChange; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; Game.OnGameSendPacket += OnGameSendPacket; Game.OnGameProcessPacket += OnGameProcessPacket; Riven.setSkillshots(); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public static void Game_OnGameLoad(EventArgs args) { Game.PrintChat("<font color='#FF0000'>Lx Orbwalker standalone</font> loaded. - <font color='#5882FA'>E2Slayer</font>"); var menu = new Menu("Lx Orbwalker", "my_mainmenu", true); var orbwalkerMenu = new Menu("Lx Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); menu.AddToMainMenu(); }
public static void Game_OnGameLoad(EventArgs args) { Game.PrintChat("<font color='#FF0000'>銆愮劇鐐烘眽鍖栥€慙x鐙珛璧扮爫</font> loaded. - <font color='#5882FA'>E2Slayer</font>"); var menu = new Menu("【無為汉化】Lx独立走砍", "my_mainmenu", true); var orbwalkerMenu = new Menu("Lx走砍", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); menu.AddToMainMenu(); }
private static void CreateMenu() { (Menu = new Menu("[Chewy's Shaco]", "cmShaco", true)).AddToMainMenu(); // Target Selector var tsMenu = new Menu("Target Selector", "cmShacoTS"); SimpleTs.AddToMenu(tsMenu); Menu.AddSubMenu(tsMenu); // Orbwalking var orbwalkingMenu = new Menu("Orbwalking", "cmShacoOrbwalkin"); Orbwalker = new LXOrbwalker(); LXOrbwalker.AddToMenu(orbwalkingMenu); Menu.AddSubMenu(orbwalkingMenu); // Combo var comboMenu = new Menu("Combo", "cmShacoCombo"); comboMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true)); comboMenu.AddItem(new MenuItem("useW", "Use W").SetValue(true)); comboMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true)); comboMenu.AddItem(new MenuItem("useItems", "Use items").SetValue(true)); Menu.AddSubMenu(comboMenu); // Harass var harassMenu = new Menu("Harass", "cmShacoHarass"); harassMenu.AddItem(new MenuItem("useEHarass", "Use E").SetValue(true)); Menu.AddSubMenu(harassMenu); // Drawing var drawingMenu = new Menu("Drawings", "cmShacoDrawing"); drawingMenu.AddItem(new MenuItem("drawQ", "Draw Q").SetValue(new Circle(true, Color.Khaki))); drawingMenu.AddItem(new MenuItem("drawQPos", "Draw Q Pos").SetValue(new Circle(true, Color.Magenta))); drawingMenu.AddItem(new MenuItem("drawW", "Draw W").SetValue(new Circle(true, Color.Khaki))); drawingMenu.AddItem(new MenuItem("drawE", "Draw E").SetValue(new Circle(true, Color.Khaki))); Menu.AddSubMenu(drawingMenu); // Misc var miscMenu = new Menu("Misc", "cmShacoMisc"); miscMenu.AddItem(new MenuItem("usePackets", "Use packets").SetValue(true)); miscMenu.AddItem(new MenuItem("stuff", "Let me know of any")); miscMenu.AddItem(new MenuItem("stuff2", "other misc features you want")); miscMenu.AddItem(new MenuItem("stuff3", "on the thead or IRC")); Menu.AddSubMenu(miscMenu); }
private static void OnGameLoaded() { _player = ObjectManager.Player; Q = new Spell(SpellSlot.Q, 425); W = new Spell(SpellSlot.W, 125); E = new Spell(SpellSlot.E, 540); R = new Spell(SpellSlot.R, 460); Game.PrintChat("Darius Loaded! By iSnorflake V2"); //Create the menu Config = new Menu("SFSeries", "SFSeries", true); //Orbwalker submenu var orbwalkerMenu = new Menu("Orbwalker", "LX_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //Add the targer selector to the menu. var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //Combo menu Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); // Drawings Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("QRange", "Q Range").SetValue(new Circle(true, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E Range").SetValue(new Circle(true, Color.FromArgb(150, Color.Crimson)))); Config.AddSubMenu(new Menu("Exploits", "Exploits")); Config.SubMenu("Exploits").AddItem(new MenuItem("NFE", "No-Face Exploit").SetValue(true)); // Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E Range").SetValue(new Circle(true, Color.FromArgb(150, Color.DodgerBlue)))); Config.AddToMainMenu(); //Add the events we are going to use Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; LXOrbwalker.AfterAttack += LXOrbwalker_AfterAttack; }
private static void CreateMenu() { (Menu = new Menu("小丑", "cmShaco", true)).AddToMainMenu(); // Target Selector var tsMenu = new Menu("目标选择器", "cmShacoTS"); SimpleTs.AddToMenu(tsMenu); Menu.AddSubMenu(tsMenu); // Orbwalking var orbwalkingMenu = new Menu("走砍", "cmShacoOrbwalkin"); Orbwalker = new LXOrbwalker(); LXOrbwalker.AddToMenu(orbwalkingMenu); Menu.AddSubMenu(orbwalkingMenu); // Combo var comboMenu = new Menu("连招", "cmShacoCombo"); comboMenu.AddItem(new MenuItem("useQ", "使用 Q").SetValue(true)); comboMenu.AddItem(new MenuItem("useW", "使用 W").SetValue(true)); comboMenu.AddItem(new MenuItem("useE", "使用 E").SetValue(true)); comboMenu.AddItem(new MenuItem("useItems", "使用项目").SetValue(true)); Menu.AddSubMenu(comboMenu); // Harass var harassMenu = new Menu("骚扰", "cmShacoHarass"); harassMenu.AddItem(new MenuItem("useEHarass", "使用 E").SetValue(true)); Menu.AddSubMenu(harassMenu); // Drawing var drawingMenu = new Menu("技能范围", "cmShacoDrawing"); drawingMenu.AddItem(new MenuItem("drawQ", "范围 Q").SetValue(new Circle(true, Color.Khaki))); drawingMenu.AddItem(new MenuItem("drawQPos", "范围 Q Pos").SetValue(new Circle(true, Color.Magenta))); drawingMenu.AddItem(new MenuItem("drawW", "范围 W").SetValue(new Circle(true, Color.Khaki))); drawingMenu.AddItem(new MenuItem("drawE", "范围 E").SetValue(new Circle(true, Color.Khaki))); Menu.AddSubMenu(drawingMenu); // Misc var miscMenu = new Menu("杂项", "cmShacoMisc"); miscMenu.AddItem(new MenuItem("usePackets", "使用封包").SetValue(true)); Menu.AddSubMenu(miscMenu); }
private void addBasicMenu() { menu = new Menu("Assemblies - " + player.ChampionName, "Assemblies - " + player.ChampionName, true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Orbwalker submenu var orbwalkerMenu = new Menu("LX-Orbwalker", "orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); menu.AddToMainMenu(); }
private static void Game_OnGameLoad() { Q = new Spell(SpellSlot.Q, 1050); W = new Spell(SpellSlot.W, 800); R = new Spell(SpellSlot.R, 550); Q.SetSkillshot(0.65f, 50f, 1700f, true, SkillshotType.SkillshotLine); //Base menu Sf = new Menu("SFSeries", "SFSeries", true); //Orbwalker and menu //moment :D var orbwalkerMenu = new Menu("Orbwalker", "LX_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Sf.AddSubMenu(orbwalkerMenu); //Target selector and menu y thats all var ts = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(ts); Sf.AddSubMenu(ts); //Combo menu Sf.AddSubMenu(new Menu("Combo", "Combo")); Sf.SubMenu("Combo").AddItem(new MenuItem("useQ", "Use Q?").SetValue(true)); Sf.SubMenu("Combo").AddItem(new MenuItem("useW", "Use W?").SetValue(true)); Sf.SubMenu("Combo").AddItem(new MenuItem("useR", "Use R?").SetValue(true)); var harras = new Menu("Harras", "Harras"); harras.AddItem(new MenuItem("useQH", "Use Q?").SetValue(true)); Sf.AddSubMenu(harras); //Exploits Sf.AddItem(new MenuItem("NFE", "No-Face").SetValue(false)); Sf.AddSubMenu(new Menu("Ult Options", "ultOp")); Sf.SubMenu("ultOp").AddItem(new MenuItem("useRAm", "use R if x enemies")); Sf.SubMenu("ultOp").AddItem(new MenuItem("rValue", "Amount").SetValue(new Slider(3, 1, 5))); //Make the menu visible Sf.AddToMainMenu(); Drawing.OnDraw += Drawing_OnDraw; // Add onDraw Game.OnGameUpdate += Game_OnGameUpdate; // adds OnGameUpdate (Same as onTick in bol) Game.PrintChat("SFSeries loaded! By iSnorflake"); }
static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; Q = new Spell(SpellSlot.Q, LXOrbwalker.GetAutoAttackRange(Player)); W = new Spell(SpellSlot.W, 600); E = new Spell(SpellSlot.E, 650); R = new Spell(SpellSlot.R, 0); E.SetSkillshot(E.Instance.SData.SpellCastTime, E.Instance.SData.LineWidth, E.Instance.SData.MissileSpeed, false, SkillshotType.SkillshotCircle); Config = new Menu("Nasus - Feel The Cane", "nftc", true); var OWMenu = Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); LXOrbwalker.AddToMenu(OWMenu); var TSMenu = Config.AddSubMenu(new Menu("Target Selector", "Target Selector")); SimpleTs.AddToMenu(TSMenu); var ComboMenu = Config.AddSubMenu(new Menu("Combo", "Combo")); ComboMenu.AddItem(new MenuItem("ComboQ", "Combo with Q").SetValue(true)); ComboMenu.AddItem(new MenuItem("ComboW", "Combo with W").SetValue(true)); ComboMenu.AddItem(new MenuItem("ComboE", "Combo with E").SetValue(true)); ComboMenu.AddItem(new MenuItem("ndskafjk", "-- R Settings")); ComboMenu.AddItem(new MenuItem("ComboR", "Combo with R").SetValue(true)); ComboMenu.AddItem(new MenuItem("minRHP", "Min HP For R").SetValue(new Slider(1, 1))); ComboMenu.AddItem(new MenuItem("minRChamps", "Min Champs For R").SetValue(new Slider(0, 0, 5))); ComboMenu.AddItem(new MenuItem("fsffs", "Set to 0 to disable")); var FarmMenu = Config.AddSubMenu(new Menu("Farm", "Farm")); FarmMenu.AddItem(new MenuItem("pratum", "-- Last Hit")); FarmMenu.AddItem(new MenuItem("LastHitQ", "LastHit with Q").SetValue(true)); FarmMenu.AddItem(new MenuItem("pratum2", "-- WaveClear")); FarmMenu.AddItem(new MenuItem("WaveClearQ", "WaveClear with Q").SetValue(true)); FarmMenu.AddItem(new MenuItem("WaveClearE", "WaveClear with E").SetValue(true)); FarmMenu.AddItem(new MenuItem("pratum22", "-- Jungle")); FarmMenu.AddItem(new MenuItem("JungleQ", "Jungle with Q").SetValue(true)); FarmMenu.AddItem(new MenuItem("JungleE", "Jungle with E").SetValue(true)); Config.AddItem(new MenuItem("packets", "Packet Cast?")).SetValue(true); Config.AddToMainMenu(); }
private static void OnGameLoad(EventArgs args) { Game.PrintChat("<font color = \"#00bfff\">Master Series</font> by <font color = \"#9370db\">Brian</font>"); Game.PrintChat("<font color = \"#ffa500\">Feel free to donate via Paypal to:</font> <font color = \"#ff4500\">[email protected]</font>"); Name = Player.ChampionName; Config = new Menu("Master Of " + Name, "Master_" + Name, true); Config.AddSubMenu(new Menu("Target Selector", "TSSettings")); Config.SubMenu("TSSettings").AddItem(new MenuItem("tsMode", "Mode").SetValue(new StringList(new[] { "Auto", "Most AD", "Most AP", "Less Attack", "Less Cast", "Low Hp", "Closest", "Near Mouse" }))); Config.SubMenu("TSSettings").AddItem(new MenuItem("tsFocus", "Forced Target").SetValue(true)); Config.SubMenu("TSSettings").AddItem(new MenuItem("tsDraw", "Draw Target").SetValue(true)); selectTarget = new TargetSelector(2000, TargetSelector.TargetingMode.AutoPriority); var OWMenu = new Menu("Orbwalker", "Orbwalker"); LXOrbwalker.AddToMenu(OWMenu); Config.AddSubMenu(OWMenu); try { if (Activator.CreateInstance(null, "Master." + Name) != null) { var QData = Player.Spellbook.GetSpell(SpellSlot.Q); var WData = Player.Spellbook.GetSpell(SpellSlot.W); var EData = Player.Spellbook.GetSpell(SpellSlot.E); var RData = Player.Spellbook.GetSpell(SpellSlot.R); //Game.PrintChat("{0}/{1}/{2}/{3}", QData.SData.CastRange[0], WData.SData.CastRange[0], EData.SData.CastRange[0], RData.SData.CastRange[0]); FData = Player.SummonerSpellbook.GetSpell(Player.GetSpellSlot("summonerflash")); SData = Player.SummonerSpellbook.GetSpell(Player.GetSpellSlot("summonersmite")); IData = Player.SummonerSpellbook.GetSpell(Player.GetSpellSlot("summonerdot")); Game.OnGameUpdate += OnGameUpdate; Drawing.OnDraw += OnDraw; SkinChanger(null, null); } } catch { Game.PrintChat("[Master Series] => {0} Not Support !", Name); } Config.AddToMainMenu(); }
static void LoadMenu() { /* * Menu targetSelector = new Menu("Target Selector", "ts"); * SimpleTs.AddToMenu(targetSelector); * menu.AddSubMenu(targetSelector); */ Menu SOW = new Menu("走砍", "orbwalker"); menu.AddSubMenu(SOW); LXOrbwalker.AddToMenu(SOW); menu.AddSubMenu(new Menu("连招", "combo")); menu.SubMenu("combo").AddItem(new MenuItem("useQ", "使用Q").SetValue(true)); menu.SubMenu("combo").AddItem(new MenuItem("useW", "使用W").SetValue(true)); menu.SubMenu("combo").AddItem(new MenuItem("useE", "使用E").SetValue(true)); menu.SubMenu("combo").AddItem(new MenuItem("useR", "使用R").SetValue(true)); menu.AddSubMenu(new Menu("骚扰", "harass")); menu.SubMenu("harass").AddItem(new MenuItem("useQ", "使用Q").SetValue(false)); menu.SubMenu("harass").AddItem(new MenuItem("useE", "使用E").SetValue(true)); menu.AddSubMenu(new Menu("清线", "laneclear")); menu.SubMenu("laneclear").AddItem(new MenuItem("useQ", "使用Q补兵").SetValue(true)); menu.SubMenu("laneclear").AddItem(new MenuItem("useE", "使用E清线").SetValue(true)); menu.SubMenu("laneclear").AddItem(new MenuItem("hitCounter", "X小兵使用E").SetValue(new Slider(3, 1, 6))); menu.AddSubMenu(new Menu("杂项", "misc")); menu.SubMenu("misc").AddItem(new MenuItem("0", "大招:")); menu.SubMenu("misc").AddItem(new MenuItem("escape", "逃跑").SetValue(new KeyBind('G', KeyBindType.Press))); menu.SubMenu("misc").AddItem(new MenuItem("RCounter", "R>X 不逃跑").SetValue(new Slider(1, 1, 3))); menu.SubMenu("misc").AddItem(new MenuItem("RKillsteal", "用R击杀").SetValue(false)); menu.SubMenu("misc").AddItem(new MenuItem("1", "W")); menu.SubMenu("misc").AddItem(new MenuItem("PanicW", "敌人>X").SetValue(new Slider(1, 1, 5))); menu.SubMenu("misc").AddItem(new MenuItem("PanicWN", "HP<X%").SetValue(new Slider(25, 0, 100))); menu.SubMenu("misc").AddItem(new MenuItem("2", "其他")); menu.SubMenu("misc").AddItem(new MenuItem("packets", "使用封包").SetValue(true)); //menu.SubMenu("misc").AddItem(new MenuItem("antipink", "Cast red trinket to diasble enemy pink").SetValue(true)); var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "显示伤害").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit += hero => (float)IsRapeble(hero); Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; Menu drawings = new Menu("显示", "drawings"); menu.AddSubMenu(drawings); drawings.AddItem(new MenuItem("Qrange", "Q范围").SetValue(new Circle(true, Color.FromArgb(150, Color.IndianRed)))); drawings.AddItem(new MenuItem("Wrange", "W范围").SetValue(new Circle(true, Color.FromArgb(150, Color.IndianRed)))); drawings.AddItem(new MenuItem("Erange", "E范围").SetValue(new Circle(false, Color.FromArgb(150, Color.DarkRed)))); drawings.AddItem(new MenuItem("Rrange", "R范围").SetValue(new Circle(false, Color.FromArgb(150, Color.DarkRed)))); drawings.AddItem(new MenuItem("RAPE", "显示可杀目标").SetValue <bool>(true)); drawings.AddItem(dmgAfterComboItem); menu.AddSubMenu(new Menu("超神汉化", "by wuwei")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "汉化群:386289593")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "娃娃群:158994507")); menu.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { //Thanks to Esk0r Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 825); W = new Spell(SpellSlot.W, 250); E = new Spell(SpellSlot.E, 1095); R = new Spell(SpellSlot.R, 370); Q.SetSkillshot(0.25f, 80, 1300, false, SkillshotType.SkillshotLine); W.SetSkillshot(0f, 250, float.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 145, 1700, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.60f, 370, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("走砍", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("目标选择", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("按键设置", "Keys")); menu.SubMenu("Keys") .AddItem( new MenuItem("ComboActive", "连招").SetValue( new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("HarassActive", "骚扰").SetValue( new KeyBind(menu.Item("Harass_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("HarassActiveT", "骚扰 (锁定)").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys") .AddItem( new MenuItem("LastHitQQ", "Q补兵").SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("LaneClearActive", "补兵").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("escape", "逃跑").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); //Spell Menu menu.AddSubMenu(new Menu("法术", "Spell")); //Q Menu menu.SubMenu("Spell").AddSubMenu(new Menu("Q", "QSpell")); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qHit", "连招Q 最少击中").SetValue(new Slider(3, 1, 3))); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qHit2", "骚扰Q 最少击中").SetValue(new Slider(3, 1, 4))); //W menu.SubMenu("Spell").AddSubMenu(new Menu("W", "WSpell")); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("autoW", "W 最少击中").SetValue(new Slider(2, 1, 5))); //E menu.SubMenu("Spell").AddSubMenu(new Menu("E", "ESpell")); menu.SubMenu("Spell").SubMenu("ESpell").AddItem(new MenuItem("UseEDmg", "自动E").SetValue(true)); menu.SubMenu("Spell").SubMenu("ESpell").AddSubMenu(new Menu("E队友", "shield")); menu.SubMenu("Spell").SubMenu("ESpell").SubMenu("shield").AddItem(new MenuItem("eAllyIfHP", "HP < %").SetValue(new Slider(40, 0, 100))); foreach (Obj_AI_Hero ally in ObjectManager.Get <Obj_AI_Hero>().Where(ally => ally.IsAlly)) { menu.SubMenu("Spell").SubMenu("ESpell") .SubMenu("shield") .AddItem(new MenuItem("shield" + ally.BaseSkinName, ally.BaseSkinName).SetValue(false)); } //R menu.SubMenu("Spell").AddSubMenu(new Menu("R", "RSpell")); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("autoR", "R 最少击中").SetValue(new Slider(3, 1, 5))); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("blockR", "没人不R").SetValue(true)); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("overK", "秒人").SetValue(true)); menu.SubMenu("Spell").SubMenu("RSpell").AddItem( new MenuItem("killR", "R热键").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle))); //Combo menu: menu.AddSubMenu(new Menu("连招", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "锁定目标").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "使用Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "使用W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "使用E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "使用R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("autoRCombo", "R min击中").SetValue(new Slider(2, 1, 5))); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "使用点燃").SetValue(true)); //Harass menu: menu.AddSubMenu(new Menu("骚扰", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "使用Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "使用W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "使用E").SetValue(true)); //Farming menu: menu.AddSubMenu(new Menu("补兵", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "使用Q").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseWFarm", "使用W").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("qFarm", "Q/W 小兵> ").SetValue(new Slider(3, 0, 5))); //intiator list: menu.AddSubMenu((new Menu("E突进队友", "Initiator"))); foreach (Obj_AI_Hero hero in ObjectManager.Get <Obj_AI_Hero>().Where(hero => hero.IsAlly)) { foreach (Initiator intiator in Initiator.InitatorList) { if (intiator.HeroName == hero.BaseSkinName) { menu.SubMenu("Initiator") .AddItem(new MenuItem(intiator.spellName, intiator.spellName)) .SetValue(false); } } } //Misc Menu: menu.AddSubMenu(new Menu("杂项", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "R打断").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "封包").SetValue(true)); menu.SubMenu("Misc").AddSubMenu(new Menu("自动R打断", "intR")); foreach (Obj_AI_Hero enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { menu.SubMenu("Misc") .SubMenu("intR") .AddItem(new MenuItem("intR" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(false)); } //Damage after combo: MenuItem dmgAfterComboItem = new MenuItem("DamageAfterCombo", "显示伤害").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("显示", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W范围").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem( new MenuItem("rModeDraw", "R模式").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); menu.AddSubMenu(new Menu("超神汉化", "by wuwei")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "汉化群:386289593")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "娃娃群:158994507")); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Game.OnGameSendPacket += Game_OnSendPacket; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 725); Q2 = new Spell(SpellSlot.Q, 850); W = new Spell(SpellSlot.W, 450); E = new Spell(SpellSlot.E, 1050); R = new Spell(SpellSlot.R, 700); Q.SetSkillshot(0.50f, 100, 1300, false, SkillshotType.SkillshotLine); Q2.SetSkillshot(0.50f, 150, 1300, true, SkillshotType.SkillshotLine); E.SetSkillshot(0.50f, 110, 850, false, SkillshotType.SkillshotLine); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); DFG = Utility.Map.GetMap()._MapType == Utility.Map.MapType.TwistedTreeline || Utility.Map.GetMap()._MapType == Utility.Map.MapType.CrystalScar ? new Items.Item(3188, 750) : new Items.Item(3128, 750); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("走砍", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("目标选择", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("热键", "Keys")); menu.SubMenu("Keys").AddItem(new MenuItem("ComboActive", "连招!").SetValue(new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActive", "骚扰!").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActiveT", "骚扰 (锁定)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("stunMelles", "晕人").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("stunTowers", "塔下晕人").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("LastHitQQ", "Q补兵").SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("LaneClearActive", "补兵").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); //Combo menu: menu.AddSubMenu(new Menu("连招", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "使用Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("qHit", "Q min击中").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "使用W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "使用E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "使用R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("rHp", "R HP <").SetValue(new Slider(20, 0, 100))); menu.SubMenu("Combo").AddItem(new MenuItem("defR", "敌人>X R自己").SetValue(new Slider(3, 0, 5))); menu.SubMenu("Combo").AddItem(new MenuItem("dfg", "使用冥火").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "使用点燃").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("igniteMode", "模式").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("骚扰", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "使用Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("qHit2", "Q min击中").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "使用W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "使用E").SetValue(true)); //Farming menu: menu.AddSubMenu(new Menu("补兵", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "使用Q").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseWFarm", "使用W").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseEFarm", "使用E").SetValue(false)); //Misc Menu: menu.AddSubMenu(new Menu("杂项", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "R打断").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "W防突").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "封包").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("smartKS", "智能抢头").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseHAM", "一直使用E").SetValue(false)); menu.SubMenu("Misc").AddItem(new MenuItem("UseEGap", "E防突").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("gapD", "Min距离").SetValue(new Slider(600, 300, 1050))); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "显示伤害").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("显示", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("qExtend", "maxQ范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W范围").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); menu.AddSubMenu(new Menu("超神汉化", "by wuwei")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "汉化群:386289593")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "娃娃群:158994507")); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void OnGameLoad(EventArgs args) { Name = Player.ChampionName; if (Name != "MasterYi") { return; } Q = new Spell(SpellSlot.Q, 600); W = new Spell(SpellSlot.W, 175); E = new Spell(SpellSlot.E, 175); R = new Spell(SpellSlot.R, 175); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot"); Config = new Menu("AlienHack [" + Name + "]", "AlienHack_" + Name, true); //Lxorbwalker var orbwalkerMenu = new Menu("Orbwalker", "LX_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //Add the target selector to the menu as submenu. var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //LaneClear Config.AddSubMenu(new Menu("LaneClear", "LaneClear")); Config.SubMenu("LaneClear").AddItem(new MenuItem("UseQLaneClear", "Use Q").SetValue(true)); //Harass menu: Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(false)); //Combo menu: Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("SelectedTarget", "Focus Selected Target").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "W AA Cancel").SetValue(true)); //Misc Config.AddSubMenu(new Menu("Misc", "Misc")); Config.SubMenu("Misc") .AddItem(new MenuItem("MinQRange", "Min Q Range").SetValue(new Slider(0, 0, 600))); Config.SubMenu("Misc").AddItem(new MenuItem("AutoTiamat", "Auto Tiamat").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoBOTRK", "Auto BOTRK").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("GapBOTRK", "BOTRK/Bilge Only for Gapcloser").SetValue(true)); Config.SubMenu("Misc") .AddItem(new MenuItem("MinBOTRK", "BOTRK Health < x%").SetValue(new Slider(0, 0, 100))); Config.SubMenu("Misc").AddItem(new MenuItem("AutoYoumuu", "Auto Youmuu").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoIgnite", "Auto Ignite").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoQSteal", "Auto Q Steal").SetValue(true)); //Draw Config.AddSubMenu(new Menu("Draw", "Draw")); Config.SubMenu("Draw").AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); Config.AddToMainMenu(); // End Menu Game.PrintChat("AlienHack [YiSharp - WujuMaster] Loaded!"); Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; LXOrbwalker.AfterAttack += AfterAttack; }
static void Game_OnGameLoad(EventArgs args) { if (_player.ChampionName != ChampName) { return; } IgniteSlot = _player.GetSpellSlot("SummonerDot"); smiteSlot = _player.GetSpellSlot("SummonerSmite"); flashSlot = _player.GetSpellSlot("summonerflash"); Q = new Spell(SpellSlot.Q, 1100); W = new Spell(SpellSlot.W, 700); E = new Spell(SpellSlot.E, 430); R = new Spell(SpellSlot.R, 375); Q.SetSkillshot(Q.Instance.SData.SpellCastTime, Q.Instance.SData.LineWidth, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine); //Base menu Menu = new Menu("FALeeSin", ChampName, true); //Orbwalker and menu Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); LXOrbwalker.AddToMenu(Menu.SubMenu("Orbwalker")); //Target selector and menu var ts = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(ts); Menu.AddSubMenu(ts); //Combo menu Menu.AddSubMenu(new Menu("Combo", "Combo")); Menu.SubMenu("Combo").AddItem(new MenuItem("useQ", "Use Q?").SetValue(true)); Menu.SubMenu("Combo").AddItem(new MenuItem("useQ2", "Use Q2?").SetValue(true)); Menu.SubMenu("Combo").AddItem(new MenuItem("useW", "Wardjump in combo").SetValue(true)); Menu.SubMenu("Combo").AddItem(new MenuItem("dsjk", "Wardjump if: ")); Menu.SubMenu("Combo").AddItem(new MenuItem("wMode", "> AA Range || > Q Range").SetValue(true)); Menu.SubMenu("Combo").AddItem(new MenuItem("useE", "Use E?").SetValue(true)); Menu.SubMenu("Combo").AddItem(new MenuItem("useR", "Use R?").SetValue(false)); Menu.SubMenu("Combo").AddItem(new MenuItem("ksR", "KS R?").SetValue(false)); Menu.SubMenu("Combo").AddItem(new MenuItem("starCombo", "Star Combo").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); Menu.SubMenu("Combo").AddItem(new MenuItem("random2ejwej", "W->Q->R->Q2")); var harassMenu = new Menu("Harass", "Harass"); harassMenu.AddItem(new MenuItem("q1H", "Use Q1").SetValue(true)); harassMenu.AddItem(new MenuItem("q2H", "Use Q2").SetValue(true)); harassMenu.AddItem(new MenuItem("wH", "Wardjump/Minion Jump away {Disabled}").SetValue(false)); harassMenu.AddItem(new MenuItem("eH", "Use E1").SetValue(true)); Menu.AddSubMenu(harassMenu); //Jung/Wave Clear var waveclearMenu = new Menu("Wave/Jung Clear", "wjClear"); waveclearMenu.AddItem(new MenuItem("useQClear", "Use Q?").SetValue(true)); waveclearMenu.AddItem(new MenuItem("useWClear", "Use W?").SetValue(true)); waveclearMenu.AddItem(new MenuItem("useEClear", "Use E?").SetValue(true)); Menu.AddSubMenu(waveclearMenu); //InsecMenu var insecMenu = new Menu("Insec", "Insec"); insecMenu.AddItem(new MenuItem("InsecEnabled", "Enabled").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Press))); insecMenu.AddItem(new MenuItem("rnshsasdhjk", "Insec Mode:")); insecMenu.AddItem(new MenuItem("insecMode", "Left Click [on] TS [off]").SetValue(true)); insecMenu.AddItem(new MenuItem("insecOrbwalk", "Orbwalking?").SetValue(true)); insecMenu.AddItem(new MenuItem("flashInsec", "Flash insec?").SetValue(false)); insecMenu.AddItem(new MenuItem("waitForQBuff", "Wait For Q Buff to go?").SetValue(false)); insecMenu.AddItem(new MenuItem("22222222222222", "(Faster off more dmg on)")); insecMenu.AddItem(new MenuItem("insec2champs", "Insec to allies?").SetValue(true)); insecMenu.AddItem(new MenuItem("bonusRangeA", "Ally Bonus Range").SetValue(new Slider(0, 0, 1000))); insecMenu.AddItem(new MenuItem("insec2tower", "Insec to towers?").SetValue(true)); insecMenu.AddItem(new MenuItem("bonusRangeT", "Towers Bonus Range").SetValue(new Slider(0, 0, 1000))); insecMenu.AddItem(new MenuItem("insec2orig", "Insec to original pos?").SetValue(true)); insecMenu.AddItem(new MenuItem("22222222222", "--")); insecMenu.AddItem(new MenuItem("instaFlashInsec1", "Cast R Manually")); insecMenu.AddItem(new MenuItem("instaFlashInsec2", "And it will flash to insec pos")); insecMenu.AddItem(new MenuItem("instaFlashInsec", "Enabled").SetValue(new KeyBind("P".ToCharArray()[0], KeyBindType.Toggle))); Menu.AddSubMenu(insecMenu); var autoSmiteSettings = new Menu("Smite Settings", "Auto Smite Settings"); autoSmiteSettings.AddItem(new MenuItem("smiteEnabled", "Enabled").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle))); autoSmiteSettings.AddItem(new MenuItem("qqSmite", "Q->Smite->Q").SetValue(true)); autoSmiteSettings.AddItem(new MenuItem("normSmite", "Normal Smite").SetValue(true)); autoSmiteSettings.AddItem(new MenuItem("drawSmite", "Draw Smite Range").SetValue(true)); Menu.AddSubMenu(autoSmiteSettings); //SaveMe Menu var SaveMeMenu = new Menu("Smite Save Settings", "Smite Save Settings"); SaveMeMenu.AddItem(new MenuItem("smiteSave", "Smite Save Active").SetValue(true)); SaveMeMenu.AddItem(new MenuItem("hpPercentSM", "WWSmite on x%").SetValue(new Slider(10, 1))); SaveMeMenu.AddItem(new MenuItem("param1", "Dont Smite if near and hp = x%")); // TBC SaveMeMenu.AddItem(new MenuItem("dBuffs", "Buffs").SetValue(true)); // TBC SaveMeMenu.AddItem(new MenuItem("hpBuffs", "HP %").SetValue(new Slider(30, 1))); // TBC SaveMeMenu.AddItem(new MenuItem("dEpics", "Epics").SetValue(true)); // TBC SaveMeMenu.AddItem(new MenuItem("hpEpics", "HP %").SetValue(new Slider(10, 1))); // TBC Menu.AddSubMenu(SaveMeMenu); //Wardjump menu var wardjumpMenu = new Menu("Wardjump", "Wardjump"); wardjumpMenu.AddItem( new MenuItem("wjump", "Wardjump key").SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press))); wardjumpMenu.AddItem(new MenuItem("maxRange", "Always Cast At Max Range").SetValue(false)); wardjumpMenu.AddItem(new MenuItem("castInRange", "Jump to your mouse pos only").SetValue(false)); wardjumpMenu.AddItem(new MenuItem("m2m", "Move to mouse").SetValue(true)); wardjumpMenu.AddItem(new MenuItem("j2m", "Jump to minions").SetValue(true)); wardjumpMenu.AddItem(new MenuItem("j2c", "Jump to champions").SetValue(true)); Menu.AddSubMenu(wardjumpMenu); var drawMenu = new Menu("Drawing", "Drawing"); drawMenu.AddItem(new MenuItem("DrawEnabled", "Draw Enabled").SetValue(false)); drawMenu.AddItem(new MenuItem("WJDraw", "Draw WardJump").SetValue(true)); drawMenu.AddItem(new MenuItem("drawQ", "Draw Q").SetValue(true)); drawMenu.AddItem(new MenuItem("drawW", "Draw W").SetValue(true)); drawMenu.AddItem(new MenuItem("drawE", "Draw E").SetValue(true)); drawMenu.AddItem(new MenuItem("drawR", "Draw R").SetValue(true)); Menu.AddSubMenu(drawMenu); //Exploits var miscMenu = new Menu("Misc", "Misc"); miscMenu.AddItem(new MenuItem("NFE", "Use Packets?").SetValue(true)); miscMenu.AddItem(new MenuItem("QHC", "Q Hitchance").SetValue(new StringList(new [] { "LOW", "MEDIUM", "HIGH" }, 1))); miscMenu.AddItem(new MenuItem("IGNks", "Use Ignite?").SetValue(true)); miscMenu.AddItem(new MenuItem("qSmite", "Smite Q!").SetValue(true)); Menu.AddSubMenu(miscMenu); //Make the menu visible Menu.AddToMainMenu(); Drawing.OnDraw += Drawing_OnDraw; // Add onDraw Game.OnGameUpdate += Game_OnGameUpdate; // adds OnGameUpdate (Same as onTick in bol) Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; GameObject.OnCreate += GameObject_OnCreate; PrintMessage("Loaded!"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 1050); QCharge = new Spell(SpellSlot.Q, 1650); Q2 = new Spell(SpellSlot.Q, 600); W = new Spell(SpellSlot.W, float.MaxValue); W2 = new Spell(SpellSlot.W, 350); E = new Spell(SpellSlot.E, 650); E2 = new Spell(SpellSlot.E, 240); R = new Spell(SpellSlot.R, float.MaxValue); Q.SetSkillshot(0.15f, 60, 1200, true, SkillshotType.SkillshotLine); QCharge.SetSkillshot(0.25f, 60, 1600, true, SkillshotType.SkillshotLine); Q2.SetTargetted(0.25f, float.MaxValue); E.SetSkillshot(0.1f, 120, float.MaxValue, false, SkillshotType.SkillshotCircle); E2.SetTargetted(.25f, float.MaxValue); SpellList.Add(Q); SpellList.Add(QCharge); SpellList.Add(Q2); SpellList.Add(W); SpellList.Add(W2); SpellList.Add(E); SpellList.Add(E2); SpellList.Add(R); qdata = Player.Spellbook.GetSpell(SpellSlot.Q); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("璧扮爫", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("鐩爣閫夋嫨", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("鐑敭", "Keys")); menu.SubMenu("Keys").AddItem(new MenuItem("ComboActive", "杩炴嫑").SetValue(new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActive", "楠氭壈").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActiveT", "楠氭壈 (閿佸畾)").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("shootMouse", "QE").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); //Combo menu: menu.AddSubMenu(new Menu("杩炴嫑", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "浣跨敤鐐甉").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("qSpeed", "浣跨敤鍔犻€熺偖").SetValue(new Slider(1600, 400, 2500))); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "浣跨敤鐐甒").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "浣跨敤鐐瓻").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQComboHam", "浣跨敤閿").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWComboHam", "浣跨敤閿").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseEComboHam", "浣跨敤閿").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "鍒囨崲").SetValue(true)); //Harass menu: menu.AddSubMenu(new Menu("楠氭壈", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "浣跨敤Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "浣跨敤W").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "浣跨敤E").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarassHam", "浣跨敤閿").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarassHam", "浣跨敤閿").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarassHam", "浣跨敤閿").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseRHarass", "鍒囨崲").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("manaH", "钃濋噺 > %").SetValue(new Slider(40, 0, 100))); //Misc Menu: menu.AddSubMenu(new Menu("鏉傞」", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "E鎵撴柇").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "E闃茬獊").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "灏佸寘").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("forceGate", "E鍚嶲").SetValue(false)); menu.SubMenu("Misc").AddItem(new MenuItem("gatePlace", "E璺濈").SetValue(new Slider(300, 250, 600))); menu.SubMenu("Misc").AddItem(new MenuItem("UseQAlways", "娌鐢≦").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("autoE", "E HP < %").SetValue(new Slider(40, 0, 100))); menu.SubMenu("Misc").AddItem(new MenuItem("smartKS", "鏅鸿兘鎶㈠ご").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("lagMode", "EQ寤惰繜").SetValue(false)); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("鏄剧ず", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q鑼冨洿").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W鑼冨洿").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E鑼冨洿").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R鑼冨洿").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("drawcds", "Draw Cooldowns")).SetValue(true); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); menu.AddSubMenu(new Menu("L#涓枃绀惧尯", "guanggao")); menu.SubMenu("guanggao").AddItem(new MenuItem("wangzhan", "www.loll35.com")); menu.SubMenu("guanggao").AddItem(new MenuItem("qunhao", "姹夊寲缇わ細397983217")); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; LXOrbwalker.AfterAttack += Orbwalking_AfterAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat(Player.ChampionName + " Loaded by --- xSalice, If you like my Assemblies, please feel free to donate to keep me motivated! :D"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 950); W = new Spell(SpellSlot.W, float.MaxValue); E = new Spell(SpellSlot.E, 140); R = new Spell(SpellSlot.R, 600); Q.SetSkillshot(0.22f, 70f, 1800, true, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 600, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("My Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("Keys", "Keys")); menu.SubMenu("Keys").AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActive", "Harass!").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("panic", "Panic Key(no spell)").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press))); //Combo menu: menu.AddSubMenu(new Menu("Combo", "Combo")); menu.SubMenu("Combo") .AddItem( new MenuItem("tsModes", "TS Modes").SetValue( new StringList(new[] { "Orbwalker/LessCast", "Low HP%", "NearMouse", "CurrentHP" }, 0))); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "Focus Selected Target").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("qHit", "Q HitChance").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("QE", "Use E on Grab").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("useRQ", "Use R After Q").SetValue(true)); //Q Menu menu.AddSubMenu(new Menu("qMenu", "qMenu")); menu.SubMenu("qMenu").AddItem(new MenuItem("qRange2", "Q Min Range Slider").SetValue(new Slider(300, 1, 950))); menu.SubMenu("qMenu").AddItem(new MenuItem("qRange", "Q Max Range Slider").SetValue(new Slider(900, 1, 950))); menu.SubMenu("qMenu").AddItem(new MenuItem("qSlow", "Auto Q Slow").SetValue(true)); menu.SubMenu("qMenu").AddItem(new MenuItem("qImmobile", "Auto Q Immobile").SetValue(true)); menu.SubMenu("qMenu").AddItem(new MenuItem("qDashing", "Auto Q Dashing").SetValue(true)); //Harass menu: menu.AddSubMenu(new Menu("Harass", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("qHit2", "Q HitChance").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true)); //Misc Menu: menu.AddSubMenu(new Menu("Misc", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "Use R to Interrupt").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "Use Packets").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("resetE", "Use E AA reset Only").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("autoR", "Use R if hit").SetValue(new Slider(3, 0, 5))); menu.SubMenu("Misc").AddSubMenu(new Menu("Don't use Q on", "intR")); foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { menu.SubMenu("Misc") .SubMenu("intR") .AddItem(new MenuItem("intR" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(false)); } //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("Drawings", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; LXOrbwalker.AfterAttack += Orbwalking_AfterAttack; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
static void LoadMenu() { /* * Menu targetSelector = new Menu("Target Selector", "ts"); * SimpleTs.AddToMenu(targetSelector); * menu.AddSubMenu(targetSelector); */ Menu SOW = new Menu("璧扮爫", "orbwalker"); menu.AddSubMenu(SOW); LXOrbwalker.AddToMenu(SOW); menu.AddSubMenu(new Menu("杩炴嫑", "combo")); menu.SubMenu("combo").AddItem(new MenuItem("useQ", "浣跨敤Q").SetValue(true)); menu.SubMenu("combo").AddItem(new MenuItem("useW", "浣跨敤W").SetValue(true)); menu.SubMenu("combo").AddItem(new MenuItem("useE", "浣跨敤E").SetValue(true)); menu.SubMenu("combo").AddItem(new MenuItem("useR", "浣跨敤R").SetValue(true)); menu.AddSubMenu(new Menu("楠氭壈", "harass")); menu.SubMenu("harass").AddItem(new MenuItem("useQ", "浣跨敤Q").SetValue(false)); menu.SubMenu("harass").AddItem(new MenuItem("useE", "浣跨敤E").SetValue(true)); menu.AddSubMenu(new Menu("娓呯嚎", "laneclear")); menu.SubMenu("laneclear").AddItem(new MenuItem("useQ", "浣跨敤Q琛ュ叺").SetValue(true)); menu.SubMenu("laneclear").AddItem(new MenuItem("useE", "浣跨敤E娓呯嚎").SetValue(true)); menu.SubMenu("laneclear").AddItem(new MenuItem("hitCounter", "X灏忓叺浣跨敤E").SetValue(new Slider(3, 1, 6))); menu.AddSubMenu(new Menu("鏉傞」", "misc")); menu.SubMenu("misc").AddItem(new MenuItem("0", "澶ф嫑:")); menu.SubMenu("misc").AddItem(new MenuItem("escape", "閫冭窇").SetValue(new KeyBind('G', KeyBindType.Press))); menu.SubMenu("misc").AddItem(new MenuItem("RCounter", "R>X 涓嶉€冭窇").SetValue(new Slider(1, 1, 3))); menu.SubMenu("misc").AddItem(new MenuItem("RKillsteal", "鐢≧鍑绘潃").SetValue(false)); menu.SubMenu("misc").AddItem(new MenuItem("1", "W")); menu.SubMenu("misc").AddItem(new MenuItem("PanicW", "鏁屼汉>X").SetValue(new Slider(1, 1, 5))); menu.SubMenu("misc").AddItem(new MenuItem("PanicWN", "HP<X%").SetValue(new Slider(25, 0, 100))); menu.SubMenu("misc").AddItem(new MenuItem("2", "鍏朵粬")); menu.SubMenu("misc").AddItem(new MenuItem("packets", "浣跨敤灏佸寘").SetValue(true)); //menu.SubMenu("misc").AddItem(new MenuItem("antipink", "Cast red trinket to diasble enemy pink").SetValue(true)); var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "鏄剧ず浼ゅ").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit += hero => (float)IsRapeble(hero); Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; Menu drawings = new Menu("鏄剧ず", "drawings"); menu.AddSubMenu(drawings); drawings.AddItem(new MenuItem("Qrange", "Q鑼冨洿").SetValue(new Circle(true, Color.FromArgb(150, Color.IndianRed)))); drawings.AddItem(new MenuItem("Wrange", "W鑼冨洿").SetValue(new Circle(true, Color.FromArgb(150, Color.IndianRed)))); drawings.AddItem(new MenuItem("Erange", "E鑼冨洿").SetValue(new Circle(false, Color.FromArgb(150, Color.DarkRed)))); drawings.AddItem(new MenuItem("Rrange", "R鑼冨洿").SetValue(new Circle(false, Color.FromArgb(150, Color.DarkRed)))); drawings.AddItem(new MenuItem("RAPE", "鏄剧ず鍙潃鐩爣").SetValue <bool>(true)); drawings.AddItem(dmgAfterComboItem); menu.AddSubMenu(new Menu("瓒呯姹夊寲", "by wuwei")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "姹夊寲缇わ細386289593")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "濞冨▋缇わ細13497795")); menu.AddToMainMenu(); }
private static void Game_OnGameLoad(EventArgs args) { myHero = ObjectManager.Player; if (myHero.ChampionName != "Lux") { return; } Q = new Spell(SpellSlot.Q, 1175); W = new Spell(SpellSlot.W, 1075); E = new Spell(SpellSlot.E, 1100); R = new Spell(SpellSlot.R, 3340); Q.SetSkillshot(0.25f, 80f, 1200f, true, SkillshotType.SkillshotLine); W.SetSkillshot(0.25f, 150f, 1200f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.15f, 275f, 1300f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(1.35f, 190f, float.MaxValue, false, SkillshotType.SkillshotLine); IgniteSlot = myHero.GetSpellSlot("SummonerDot"); Config = new Menu("光辉女郎", "Lightning Lux", true); var targetSelectorMenu = new Menu("目标选择", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); var orbwalkerMenu = new Menu("LX-走砍", "LX-Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); Config.AddSubMenu(new Menu("连招", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("ComboActive", "连招!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.SubMenu("Combo").AddItem(new MenuItem("UseQ", "使用 Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseW", "使用 W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseE", "使用 E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseR", "使用 R 秒杀").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseItems", "使用项目").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseIgnite", "使用点燃").SetValue(true)); Config.AddSubMenu(new Menu("骚扰", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("HarassActive", "骚扰!").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Harass").AddItem(new MenuItem("HQ", "使用 Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("HE", "使用 E").SetValue(true)); Config.AddSubMenu(new Menu("清兵", "Farm")); Config.SubMenu("Farm").AddItem(new MenuItem("FarmActive", "清兵!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm").AddItem(new MenuItem("JungSteal", "清野!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm").AddItem(new MenuItem("FQ", "使用 Q").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FW", "使用 W").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FE", "使用 E").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FMP", "蓝量 %").SetValue(new Slider(15, 100, 0))); Config.AddSubMenu(new Menu("秒杀", "KillSteal")); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseQ", "使用 Q").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseE", "使用 E").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseR", "使用 R").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KIgnite", "使用点燃").SetValue(true)); Config.AddSubMenu(new Menu("自动W", "AutoShield")); Config.SubMenu("AutoShield").AddItem(new MenuItem("WAllies", "自动W队友").SetValue(true)); Config.SubMenu("AutoShield").AddItem(new MenuItem("AutoW", "自动 W 目标").SetValue(true)); Config.SubMenu("AutoShield").AddItem(new MenuItem("HP", "剩余血量ㄧ %").SetValue(new Slider(60, 100, 0))); Config.SubMenu("AutoShield").AddItem(new MenuItem("MP", "蓝量 %").SetValue(new Slider(30, 100, 0))); Config.AddSubMenu(new Menu("额外", "ExtraSettings")); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UseQE", "如果目标被困使用E").SetValue(false)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("AutoE2", "自动E").SetValue(true)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UseQGap", "Q 防突进ㄧ").SetValue(true)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("HitChance", "击中几率").SetValue(new StringList(new[] { "Low", "Medium", "High", "Very High" }, 2))); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UsePacket", "使用封包").SetValue(true)); Config.AddSubMenu(new Menu("大招", "UltSettings")); Config.SubMenu("UltSettings").AddItem(new MenuItem("RHit", "自动R击中人数").SetValue(new StringList(new[] { "None", "2 target", "3 target", "4 target", "5 target" }, 1))); Config.SubMenu("UltSettings").AddItem(new MenuItem("RTrap", "自动R被困敌人").SetValue(false)); Config.AddSubMenu(new Menu("绘制", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("QRange", "Q 范围").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("WRange", "W 范围").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E 范围").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.AddToMainMenu(); Game.PrintChat("Lightning Lux v1.1 loaded!"); Game.OnGameUpdate += Game_OnGameUpdate; LXOrbwalker.BeforeAttack += LXOrbwalker_BeforeAttack; Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 700); W = new Spell(SpellSlot.W, 700); E = new Spell(SpellSlot.E, 540); E2 = new Spell(SpellSlot.E, 700); R = new Spell(SpellSlot.R, 700); //Q.SetTargetted(0.25f, 2000); W.SetSkillshot(1.5f, 300, float.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.0f, 90, 1000, false, SkillshotType.SkillshotLine); E2.SetSkillshot(0.0f, 90, 1000, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 250, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(E2); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("My Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("Keys", "Keys")); menu.SubMenu("Keys").AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActive", "Harass!").SetValue(new KeyBind(menu.Item("Harass_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("LaneClearActive", "Farm!").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("LastHitQQ", "Last hit with Q").SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); //Spell Menu menu.AddSubMenu(new Menu("Spell", "Spell")); //Q Menu menu.SubMenu("Spell").AddSubMenu(new Menu("QSpell", "QSpell")); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("QAARange", "Q only if in AA Range").SetValue(true)); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("autoAtk", "AA after Q in Range").SetValue(true)); //W Menu menu.SubMenu("Spell").AddSubMenu(new Menu("WSpell", "WSpell")); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("wSlow", "Auto W Slow").SetValue(true)); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("wImmobile", "Auto W Immobile").SetValue(true)); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("wDashing", "Auto W Dashing").SetValue(true)); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("useW_Hit", "Auto W if hit In Combo").SetValue(new Slider(2, 1, 5))); //R menu.SubMenu("Spell").AddSubMenu(new Menu("RSpell", "RSpell")); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("useR_Hit", "Auto R if hit In Combo").SetValue(new Slider(2, 1, 5))); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("rAlways", "Ult Always Combo").SetValue(new KeyBind("K".ToCharArray()[0], KeyBindType.Toggle))); //Combo menu: menu.AddSubMenu(new Menu("Combo", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "Focus Selected Target").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("eHit", "E HitChance").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "Use Ignite").SetValue(true)); menu.SubMenu("Combo") .AddItem(new MenuItem("igniteMode", "Mode").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("Harass", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("eHit2", "E HitChance").SetValue(new Slider(4, 1, 4))); //Farming menu: menu.AddSubMenu(new Menu("Farm", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "Use Q").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseEFarm", "Use E").SetValue(false)); //Misc Menu: menu.AddSubMenu(new Menu("Misc", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "Use R to Interrupt").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "Use Packets to cast").SetValue(true)); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("Drawings", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("E2Range", "Extended range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; LXOrbwalker.AfterAttack += AfterAttack; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 675); W = new Spell(SpellSlot.W, 375); E = new Spell(SpellSlot.E, 700); R = new Spell(SpellSlot.R, 550); Q.SetTargetted(400, 1400); IgniteSlot = Player.GetSpellSlot("SummonerDot"); DFG = Utility.Map.GetMap()._MapType == Utility.Map.MapType.TwistedTreeline || Utility.Map.GetMap()._MapType == Utility.Map.MapType.CrystalScar ? new Items.Item(3188, 750) : new Items.Item(3128, 750); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("My Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Key menu.AddSubMenu(new Menu("Key", "Key")); menu.SubMenu("Key") .AddItem( new MenuItem("ComboActive", "Combo!").SetValue( new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("HarassActive", "Harass!").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Key") .AddItem( new MenuItem("lastHit", "Lasthit!").SetValue( new KeyBind(menu.Item("LastHit_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("LaneClearActive", "Farm!").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("jFarm", "Jungle Farm").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("Wardjump", "Escape/Ward jump").SetValue( new KeyBind(menu.Item("Flee_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); //Combo menu: menu.AddSubMenu(new Menu("Combo", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "Focus Selected Target").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("eDis", "E only if >").SetValue(new Slider(0, 0, 700))); menu.SubMenu("Combo").AddItem(new MenuItem("smartE", "Smart E with R CD ").SetValue(false)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); menu.SubMenu("Combo") .AddItem(new MenuItem("comboMode", "Mode").SetValue(new StringList(new[] { "QEW", "EQW" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("Harass", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true)); menu.SubMenu("Harass") .AddItem(new MenuItem("harassMode", "Mode").SetValue(new StringList(new[] { "QEW", "EQW", "QW" }, 2))); //Farming menu: menu.AddSubMenu(new Menu("Farm", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "Use Q Farm").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseWFarm", "Use W Farm").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseEFarm", "Use E Farm").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseQHit", "Use Q Last Hit").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseWHit", "Use W Last Hit").SetValue(false)); //killsteal menu.AddSubMenu(new Menu("KillSteal", "KillSteal")); menu.SubMenu("KillSteal").AddItem(new MenuItem("smartKS", "Use Smart KS System").SetValue(true)); menu.SubMenu("KillSteal").AddItem(new MenuItem("wardKs", "Use Jump KS").SetValue(true)); menu.SubMenu("KillSteal").AddItem(new MenuItem("rKS", "Use R for KS").SetValue(true)); menu.SubMenu("KillSteal").AddItem(new MenuItem("rCancel", "NO R Cancel for KS").SetValue(false)); //Misc Menu: menu.AddSubMenu(new Menu("Misc", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "Use Packets").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("dfg", "Use DFG").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("ignite", "Use Ignite").SetValue(true)); menu.SubMenu("Misc") .AddItem(new MenuItem("igniteMode", "Mode").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); menu.SubMenu("Misc").AddItem(new MenuItem("autoWz", "Auto W Enemy").SetValue(true)); //Damage after combo: MenuItem dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("Drawings", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 650); W = new Spell(SpellSlot.W, 900); E = new Spell(SpellSlot.E, 1005); R = new Spell(SpellSlot.R, 650); W.SetSkillshot(1.25f, 230f, float.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(.2f, 330f, float.MaxValue, false, SkillshotType.SkillshotCircle); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); Dfg = Utility.Map.GetMap()._MapType == Utility.Map.MapType.TwistedTreeline || Utility.Map.GetMap()._MapType == Utility.Map.MapType.CrystalScar ? new Items.Item(3188, 750) : new Items.Item(3128, 750); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("璧扮爫", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("鐩爣閫夋嫨", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("鐑敭", "Keys")); menu.SubMenu("Keys") .AddItem( new MenuItem("ComboActive", "杩炴嫑").SetValue( new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("HarassActive", "楠氭壈").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("HarassActiveT", "楠氭壈 (閿佸畾)").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys") .AddItem( new MenuItem("LastHitQQ", "Q琛ュ叺").SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press))); menu.SubMenu("Keys") .AddItem( new MenuItem("LastHitQQ2", "Q琛ュ叺(閿佸畾)").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys") .AddItem( new MenuItem("wPoke", "E涓璚").SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys") .AddItem( new MenuItem("escape", "閫冭窇").SetValue(new KeyBind( menu.Item("Flee_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); //Combo menu: menu.AddSubMenu(new Menu("杩炴嫑", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "閿佸畾鐩爣").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "浣跨敤Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "浣跨敤W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "浣跨敤E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("waitW", "E涓墠W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "浣跨敤R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("dfg", "浣跨敤鍐ョ伀").SetValue(true)); menu.SubMenu("Combo") .AddItem(new MenuItem("dfgMode", "妯″紡").SetValue(new StringList(new[] { "Combo", "DFG-R" }, 0))); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "浣跨敤鐐圭噧").SetValue(true)); menu.SubMenu("Combo") .AddItem(new MenuItem("igniteMode", "妯″紡").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("楠氭壈", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "浣跨敤Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "浣跨敤W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "浣跨敤E").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("mana", "钃濋噺 > %").SetValue(new Slider(75, 0, 100))); //Misc Menu: menu.AddSubMenu(new Menu("鏉傞」", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "R鎵撴柇").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "W绐佽繘").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "灏佸寘").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("overKill", "绉掍汉").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("smartKS", "鍙兘鎶㈠ご").SetValue(true)); menu.SubMenu("Misc").AddSubMenu(new Menu("涓嶄娇鐢≧", "DontUlt")); foreach (Obj_AI_Hero enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { menu.SubMenu("Misc") .SubMenu("DontUlt") .AddItem(new MenuItem("DontUlt" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(false)); } menu.SubMenu("Misc").AddSubMenu(new Menu("涓嶇敤鍐ョ伀", "DontDFG")); foreach (Obj_AI_Hero enemy in ObjectManager.Get <Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) { menu.SubMenu("Misc") .SubMenu("DontDFG") .AddItem(new MenuItem("DontDFG" + enemy.BaseSkinName, enemy.BaseSkinName).SetValue(false)); } //Damage after combo: MenuItem dmgAfterComboItem = new MenuItem("DamageAfterCombo", "鏄剧ず浼ゅ").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("鏄剧ず", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q鑼冨洿").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W鑼冨洿").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E鑼冨洿").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R鑼冨洿").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("manaStatus", "钃濋噺").SetValue(true)); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); menu.AddSubMenu(new Menu("瓒呯姹夊寲", "by wuwei")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "姹夊寲缇わ細386289593")); menu.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "濞冨▋缇わ細13497795")); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 900); W = new Spell(SpellSlot.W, 800); E = new Spell(SpellSlot.E, 875); R = new Spell(SpellSlot.R, 850); Q.SetSkillshot(0.5f, 100, 1100, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.5f, 60, 1200, true, SkillshotType.SkillshotLine); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); DFG = Utility.Map.GetMap()._MapType == Utility.Map.MapType.TwistedTreeline ? new Items.Item(3188, 750) : new Items.Item(3128, 750); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("My Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //key menu.AddSubMenu(new Menu("Key", "Key")); menu.SubMenu("Key") .AddItem( new MenuItem("ComboActive", "Combo!").SetValue( new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("HarassActive", "Harass!").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Key") .AddItem( new MenuItem("LaneClearActive", "Farm!").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("charmCombo", "Q if Charmed in Combo").SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); //Combo menu: menu.AddSubMenu(new Menu("Combo", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "Focus Selected Target").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("qHit", "Q/E HitChance").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("rSpeed", "Use All R fast Duel").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "Use Ignite").SetValue(true)); menu.SubMenu("Combo") .AddItem(new MenuItem("igniteMode", "Mode").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("Harass", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("qHit2", "Q/E HitChance").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("longQ", "Cast Long range Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("charmHarass", "Only Q if Charmed").SetValue(true)); //Farming menu: menu.AddSubMenu(new Menu("Farm", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "Use Q").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseWFarm", "Use W").SetValue(false)); //Misc Menu: menu.AddSubMenu(new Menu("Misc", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "Use E to Interrupt").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "Use E for GapCloser").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "Use Packets").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("mana", "Mana check before use R").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("dfgCharm", "Require Charmed to DFG").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("EQ", "Use Q onTop of E").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("smartKS", "Smart KS").SetValue(true)); //Damage after combo: MenuItem dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("Drawings", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("cursor", "Draw R Dash Range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("drawDamage", "Calculate damage to target").SetValue(true)); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += OnEndScene; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void Game_OnGameLoad(EventArgs args) { myHero = ObjectManager.Player; if (myHero.ChampionName != "Lux") { return; } Q = new Spell(SpellSlot.Q, 1175); W = new Spell(SpellSlot.W, 1075); E = new Spell(SpellSlot.E, 1100); R = new Spell(SpellSlot.R, 3340); Q.SetSkillshot(0.25f, 80f, 1200f, true, SkillshotType.SkillshotLine); W.SetSkillshot(0.25f, 150f, 1200f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.15f, 275f, 1300f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(1.35f, 190f, float.MaxValue, false, SkillshotType.SkillshotLine); IgniteSlot = myHero.GetSpellSlot("SummonerDot"); Config = new Menu("鍏夎緣濂抽儙", "Lightning Lux", true); var targetSelectorMenu = new Menu("鐩爣閫夋嫨", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); var orbwalkerMenu = new Menu("LX-璧扮爫", "LX-Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); Config.AddSubMenu(new Menu("杩炴嫑", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("ComboActive", "杩炴嫑!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.SubMenu("Combo").AddItem(new MenuItem("UseQ", "浣跨敤 Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseW", "浣跨敤 W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseE", "浣跨敤 E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseR", "浣跨敤 R 绉掓潃").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseItems", "浣跨敤椤圭洰").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseIgnite", "浣跨敤鐐圭噧").SetValue(true)); Config.AddSubMenu(new Menu("楠氭壈", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("HarassActive", "楠氭壈!").SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Harass").AddItem(new MenuItem("HQ", "浣跨敤 Q").SetValue(true)); Config.SubMenu("Harass").AddItem(new MenuItem("HE", "浣跨敤 E").SetValue(true)); Config.AddSubMenu(new Menu("娓呭叺", "Farm")); Config.SubMenu("Farm").AddItem(new MenuItem("FarmActive", "娓呭叺!").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm").AddItem(new MenuItem("JungSteal", "娓呴噹!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Farm").AddItem(new MenuItem("FQ", "浣跨敤 Q").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FW", "浣跨敤 W").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FE", "浣跨敤 E").SetValue(true)); Config.SubMenu("Farm").AddItem(new MenuItem("FMP", "钃濋噺 %").SetValue(new Slider(15, 100, 0))); Config.AddSubMenu(new Menu("绉掓潃", "KillSteal")); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseQ", "浣跨敤 Q").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseE", "浣跨敤 E").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KUseR", "浣跨敤 R").SetValue(true)); Config.SubMenu("KillSteal").AddItem(new MenuItem("KIgnite", "浣跨敤鐐圭噧").SetValue(true)); Config.AddSubMenu(new Menu("鑷姩W", "AutoShield")); Config.SubMenu("AutoShield").AddItem(new MenuItem("WAllies", "鑷姩W闃熷弸").SetValue(true)); Config.SubMenu("AutoShield").AddItem(new MenuItem("AutoW", "鑷姩 W 鐩爣").SetValue(true)); Config.SubMenu("AutoShield").AddItem(new MenuItem("HP", "鍓╀綑琛€閲忋劎 %").SetValue(new Slider(60, 100, 0))); Config.SubMenu("AutoShield").AddItem(new MenuItem("MP", "钃濋噺 %").SetValue(new Slider(30, 100, 0))); Config.AddSubMenu(new Menu("棰濆", "ExtraSettings")); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UseQE", "濡傛灉鐩爣琚洶浣跨敤E").SetValue(false)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("AutoE2", "鑷姩E").SetValue(true)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UseQGap", "Q 闃茬獊杩涖劎").SetValue(true)); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("HitChance", "鍑讳腑鍑犵巼").SetValue(new StringList(new[] { "Low", "Medium", "High", "Very High" }, 2))); Config.SubMenu("ExtraSettings").AddItem(new MenuItem("UsePacket", "浣跨敤灏佸寘").SetValue(true)); Config.AddSubMenu(new Menu("澶ф嫑", "UltSettings")); Config.SubMenu("UltSettings").AddItem(new MenuItem("RHit", "鑷姩R鍑讳腑浜烘暟").SetValue(new StringList(new[] { "None", "2 target", "3 target", "4 target", "5 target" }, 1))); Config.SubMenu("UltSettings").AddItem(new MenuItem("RTrap", "鑷姩R琚洶鏁屼汉").SetValue(false)); Config.AddSubMenu(new Menu("缁樺埗", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("QRange", "Q 鑼冨洿").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("WRange", "W 鑼冨洿").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E 鑼冨洿").SetValue(new Circle(false, Color.FromArgb(255, 255, 255, 255)))); Config.AddSubMenu(new Menu("鐒$偤姹夊寲", "by wuwei")); Config.SubMenu("by wuwei").AddItem(new MenuItem("qunhao", "姹夊寲缇わ細386289593")); Config.SubMenu("by wuwei").AddItem(new MenuItem("qunhao2", "濞冨▋缇わ細13497795")); Config.AddToMainMenu(); Game.PrintChat("Lightning Lux v1.1 loaded!"); Game.OnGameUpdate += Game_OnGameUpdate; LXOrbwalker.BeforeAttack += LXOrbwalker_BeforeAttack; Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 1050); QCharge = new Spell(SpellSlot.Q, 1650); Q2 = new Spell(SpellSlot.Q, 600); W = new Spell(SpellSlot.W, float.MaxValue); W2 = new Spell(SpellSlot.W, 350); E = new Spell(SpellSlot.E, 650); E2 = new Spell(SpellSlot.E, 240); R = new Spell(SpellSlot.R, float.MaxValue); Q.SetSkillshot(0.15f, 60, 1200, true, SkillshotType.SkillshotLine); QCharge.SetSkillshot(0.25f, 60, 1600, true, SkillshotType.SkillshotLine); Q2.SetTargetted(0.25f, float.MaxValue); E.SetSkillshot(0.1f, 120, float.MaxValue, false, SkillshotType.SkillshotCircle); E2.SetTargetted(.25f, float.MaxValue); SpellList.Add(Q); SpellList.Add(QCharge); SpellList.Add(Q2); SpellList.Add(W); SpellList.Add(W2); SpellList.Add(E); SpellList.Add(E2); SpellList.Add(R); qdata = Player.Spellbook.GetSpell(SpellSlot.Q); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("My Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("Keys", "Keys")); menu.SubMenu("Keys").AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActive", "Harass!").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("shootMouse", "Shoot QE Mouse").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); //Combo menu: menu.AddSubMenu(new Menu("Combo", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Cannon Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("qSpeed", "Charge Q Proj Speed").SetValue(new Slider(1600, 400, 2500))); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use Cannon W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use Cannon E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQComboHam", "Use Hammer Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWComboHam", "Use Hammer W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseEComboHam", "Use Hammer E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R to Switch").SetValue(true)); //Harass menu: menu.AddSubMenu(new Menu("Harass", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarassHam", "Use Q Hammer").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarassHam", "Use W Hammer").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarassHam", "Use E Hammer").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseRHarass", "Use R to switch").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("manaH", "Mana > %").SetValue(new Slider(40, 0, 100))); //Misc Menu: menu.AddSubMenu(new Menu("Misc", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "Use E to Interrupt").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "Use E for GapCloser").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "Use Packets").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("forceGate", "Force Gate After Q").SetValue(false)); menu.SubMenu("Misc").AddItem(new MenuItem("gatePlace", "Gate Distance").SetValue(new Slider(300, 250, 600))); menu.SubMenu("Misc").AddItem(new MenuItem("UseQAlways", "Use Q When E onCD").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("autoE", "EPushInCombo HP < %").SetValue(new Slider(40, 0, 100))); menu.SubMenu("Misc").AddItem(new MenuItem("smartKS", "Smart KS").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("lagMode", "Bad PC MODE(EQCombo)").SetValue(false)); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("Drawings", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("drawcds", "Draw Cooldowns")).SetValue(true); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; LXOrbwalker.AfterAttack += Orbwalking_AfterAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat(Player.ChampionName + " Loaded by --- xSalice, If you like my Assemblies, please feel free to donate to keep me motivated! :D"); }
static void Game_OnGameLoad() { _player = ObjectManager.Player; Q = new Spell(SpellSlot.Q, 675); W = new Spell(SpellSlot.W, 375); E = new Spell(SpellSlot.E, 700); R = new Spell(SpellSlot.R, 550); Dfg = new Items.Item(3128, 750f); Program.PrintMessage("Loaded!"); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Create the menu Config = new Menu("SFSeries", "SFSeries", true); //Orbwalker submenu var orbwalkerMenu = new Menu("Orbwalker", "LX_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); Config.AddSubMenu(orbwalkerMenu); //Add the targer selector to the menu. var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); //Combo menu Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); Config.SubMenu("Combo").AddItem(new MenuItem("ProcQ", "Proc Q").SetValue(false)); Config.AddSubMenu(new Menu("Farm", "Farm")); // creds tc-crew Config.SubMenu("Farm") .AddItem( new MenuItem("UseQFarm", "Use Q").SetValue( true)); Config.SubMenu("Farm") .AddItem( new MenuItem("UseWFarm", "Use W").SetValue( true)); var waveclear = new Menu("Waveclear", "WaveclearMenu"); waveclear.AddItem(new MenuItem("useQW", "Use Q?").SetValue(true)); waveclear.AddItem(new MenuItem("useWW", "Use W?").SetValue(true)); Config.AddSubMenu(waveclear); // Thanks to ChewyMoon for the idea of doing the menu this way // Misc Config.AddSubMenu(new Menu("Misc", "Misc")); Config.SubMenu("Misc").AddItem(new MenuItem("smartKS", "SMART KS").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("wardKs", "WARD JUMP KS").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("Escape", "Escape").SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Press))); Config.SubMenu("Misc").AddItem(new MenuItem("UltCancel", "Ult Cancel(EXPERIMENTAL)").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AlwaysW", "Auto W").SetValue(true)); // Drawings Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("QRange", "Q Range").SetValue(new Circle(true, Color.FromArgb(150, Color.DodgerBlue)))); Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E Range").SetValue(new Circle(true, Color.FromArgb(150, Color.OrangeRed)))); var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after Combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit += hero => (float)CalculateDamageDrawing(hero); Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; Config.SubMenu("Drawings").AddItem(dmgAfterComboItem); Config.AddSubMenu(new Menu("Exploits", "Exploits")); Config.SubMenu("Exploits").AddItem(new MenuItem("QNFE", "Q No-Face").SetValue(true)); // Config.SubMenu("Drawings").AddItem(new MenuItem("ERange", "E Range").SetValue(new Circle(true, Color.FromArgb(150, Color.DodgerBlue)))); //SkinManager.AddToMenu(ref Config); Config.AddToMainMenu(); //Add the events we are going to use Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; LXOrbwalker.BeforeAttack += LXOrbwalker_BeforeAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Game.OnGameSendPacket += Game_OnGameSendPacket; }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 900); W = new Spell(SpellSlot.W, 800); E = new Spell(SpellSlot.E, 875); R = new Spell(SpellSlot.R, 850); Q.SetSkillshot(0.5f, 100, 1100, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.5f, 60, 1200, true, SkillshotType.SkillshotLine); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); DFG = Utility.Map.GetMap()._MapType == Utility.Map.MapType.TwistedTreeline ? new Items.Item(3188, 750) : new Items.Item(3128, 750); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("走砍", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("目标现在", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //key menu.AddSubMenu(new Menu("热键", "Key")); menu.SubMenu("Key") .AddItem( new MenuItem("ComboActive", "连招").SetValue( new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("HarassActive", "骚扰").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("HarassActiveT", "骚扰 (锁定)").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Key") .AddItem( new MenuItem("LaneClearActive", "补兵").SetValue( new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Key") .AddItem( new MenuItem("charmCombo", "魅惑后Q").SetValue(new KeyBind("I".ToCharArray()[0], KeyBindType.Toggle))); //Combo menu: menu.AddSubMenu(new Menu("连招", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("selected", "锁定目标").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "使用Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("qHit", "Q/E min击中").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "使用W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "使用E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "使用R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("rSpeed", "使用三段R秒人").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "使用点燃").SetValue(true)); menu.SubMenu("Combo") .AddItem(new MenuItem("igniteMode", "模式").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("骚扰", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "使用Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("qHit2", "Q/E min击中").SetValue(new Slider(3, 1, 4))); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "使用W").SetValue(false)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "使用E").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("longQ", "远距离Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("charmHarass", "魅惑后只Q").SetValue(true)); //Farming menu: menu.AddSubMenu(new Menu("补兵", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "使用Q").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("UseWFarm", "使用W").SetValue(false)); //Misc Menu: menu.AddSubMenu(new Menu("杂项", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "E打断").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "E防突").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "封包").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("mana", "R前检查蓝").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("dfgCharm", "魅惑+冥火").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("EQ", "EQ").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("smartKS", "智能抢头").SetValue(true)); //Damage after combo: MenuItem dmgAfterComboItem = new MenuItem("DamageAfterCombo", "显示伤害").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("显示", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W范围").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R范围").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem( new MenuItem("cursor", "显示R穿墙").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; //check to see if correct champ if (Player.BaseSkinName != ChampionName) { return; } //intalize spell Q = new Spell(SpellSlot.Q, 850); QExtend = new Spell(SpellSlot.Q, 1150); W = new Spell(SpellSlot.W, 450); E = new Spell(SpellSlot.E, 2000); R = new Spell(SpellSlot.R, 500); Q.SetSkillshot(0.1f, 100, 1700, false, SkillshotType.SkillshotLine); QExtend.SetSkillshot(0.1f, 100, 1700, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 100, 1200, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.50f, 700, float.MaxValue, false, SkillshotType.SkillshotLine); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); IgniteSlot = Player.GetSpellSlot("SummonerDot"); //Create the menu menu = new Menu(ChampionName, ChampionName, true); //Orbwalker submenu var orbwalkerMenu = new Menu("My Orbwalker", "my_Orbwalker"); LXOrbwalker.AddToMenu(orbwalkerMenu); menu.AddSubMenu(orbwalkerMenu); //Target selector var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); menu.AddSubMenu(targetSelectorMenu); //Keys menu.AddSubMenu(new Menu("Keys", "Keys")); menu.SubMenu("Keys").AddItem(new MenuItem("ComboActive", "Combo!").SetValue(new KeyBind(menu.Item("Combo_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActive", "Harass!").SetValue(new KeyBind(menu.Item("Harass_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("HarassActiveT", "Harass (toggle)!").SetValue(new KeyBind("Y".ToCharArray()[0], KeyBindType.Toggle))); menu.SubMenu("Keys").AddItem(new MenuItem("LaneClearActive", "Farm!").SetValue(new KeyBind(menu.Item("LaneClear_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("escape", "Escape").SetValue(new KeyBind(menu.Item("Flee_Key").GetValue <KeyBind>().Key, KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("insec", "Insec Selected target").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Press))); menu.SubMenu("Keys").AddItem(new MenuItem("qeCombo", "Q->E stun Nearest target").SetValue(new KeyBind("V".ToCharArray()[0], KeyBindType.Press))); //Spell Menu menu.AddSubMenu(new Menu("Spell", "Spell")); //Q Menu menu.SubMenu("Spell").AddSubMenu(new Menu("QSpell", "QSpell")); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qOutRange", "Only When Enemy out of Range").SetValue(true)); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qExtend", "Use Extended Q Range").SetValue(true)); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qBehind", "Try to Q Behind target").SetValue(true)); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qMulti", "Q if 2+ Soilder").SetValue(true)); menu.SubMenu("Spell").SubMenu("QSpell").AddItem(new MenuItem("qHit", "Q HitChance").SetValue(new Slider(3, 1, 3))); //W Menu menu.SubMenu("Spell").AddSubMenu(new Menu("WSpell", "WSpell")); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("wAtk", "Always Atk Enemy").SetValue(true)); menu.SubMenu("Spell").SubMenu("WSpell").AddItem(new MenuItem("wQ", "Use WQ Poke").SetValue(true)); //E Menu menu.SubMenu("Spell").AddSubMenu(new Menu("ESpell", "ESpell")); menu.SubMenu("Spell").SubMenu("ESpell").AddItem(new MenuItem("eGap", "GapClose if out of Q Range").SetValue(false)); menu.SubMenu("Spell").SubMenu("ESpell").AddItem(new MenuItem("eKill", "If Killable Combo").SetValue(true)); menu.SubMenu("Spell").SubMenu("ESpell").AddItem(new MenuItem("eKnock", "Always Knockup/DMG").SetValue(false)); menu.SubMenu("Spell").SubMenu("ESpell").AddItem(new MenuItem("eHP", "if HP >").SetValue(new Slider(70, 0, 100))); //R Menu menu.SubMenu("Spell").AddSubMenu(new Menu("RSpell", "RSpell")); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("rHP", "if HP <").SetValue(new Slider(20, 0, 100))); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("rHit", "If Hit >= Target").SetValue(new Slider(3, 0, 5))); menu.SubMenu("Spell").SubMenu("RSpell").AddItem(new MenuItem("rWall", "R Enemy Into Wall").SetValue(true)); //Combo menu: menu.AddSubMenu(new Menu("Combo", "Combo")); menu.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("ignite", "Use Ignite").SetValue(true)); menu.SubMenu("Combo").AddItem(new MenuItem("igniteMode", "Mode").SetValue(new StringList(new[] { "Combo", "KS" }, 0))); //Harass menu: menu.AddSubMenu(new Menu("Harass", "Harass")); menu.SubMenu("Harass").AddItem(new MenuItem("UseQHarass", "Use Q").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseWHarass", "Use W").SetValue(true)); menu.SubMenu("Harass").AddItem(new MenuItem("UseEHarass", "Use E").SetValue(false)); //killsteal menu.AddSubMenu(new Menu("KillSteal", "KillSteal")); menu.SubMenu("KillSteal").AddItem(new MenuItem("smartKS", "Use Smart KS System").SetValue(true)); menu.SubMenu("KillSteal").AddItem(new MenuItem("wqKS", "Use WQ KS").SetValue(true)); menu.SubMenu("KillSteal").AddItem(new MenuItem("qeKS", "Use WQE KS").SetValue(true)); menu.SubMenu("KillSteal").AddItem(new MenuItem("rKS", "Use R KS").SetValue(true)); //farm menu menu.AddSubMenu(new Menu("Farm", "Farm")); menu.SubMenu("Farm").AddItem(new MenuItem("UseQFarm", "Use Q").SetValue(false)); menu.SubMenu("Farm").AddItem(new MenuItem("qFarm", "Only Q if > minion").SetValue(new Slider(3, 0, 5))); //Misc Menu: menu.AddSubMenu(new Menu("Misc", "Misc")); menu.SubMenu("Misc").AddItem(new MenuItem("UseInt", "Use R to Interrupt").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("UseGap", "Use W for GapCloser").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("packet", "Use Packets").SetValue(true)); menu.SubMenu("Misc").AddItem(new MenuItem("insecDelay", "Insec Delay").SetValue(new Slider(300, 200, 1000))); //Damage after combo: var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw damage after combo").SetValue(true); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue <bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; //Drawings menu: menu.AddSubMenu(new Menu("Drawings", "Drawings")); menu.SubMenu("Drawings") .AddItem(new MenuItem("QRange", "Q range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("QExtendRange", "Q Extended range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("WRange", "W range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("ERange", "E range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("RRange", "R range").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(new MenuItem("slaveDmg", "Draw Slave AA Needed").SetValue(new Circle(false, Color.FromArgb(100, 255, 0, 255)))); menu.SubMenu("Drawings") .AddItem(dmgAfterComboItem); menu.AddToMainMenu(); //Events Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Interrupter.OnPossibleToInterrupt += Interrupter_OnPosibleToInterrupt; Game.OnGameSendPacket += Game_OnGameSendPacket; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Game.PrintChat(ChampionName + " Loaded! --- by xSalice"); }