private static void Game_OnGameLoad(EventArgs args) { EQDrawList = new List<Vector3>(); Player = ObjectManager.Player; if (Player.ChampionName != ChampionName) return; Q = new Spell(SpellSlot.Q, 700f); Q.SetSkillshot(0.5f, 70f, float.MaxValue, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 300f); E = new Spell(SpellSlot.E, 830f); E.SetSkillshot(0.5f, 70f, float.MaxValue, false, SkillshotType.SkillshotCircle); Config = new Menu("J4Helper", "J4Helper", true); //Orbwalker Config.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalking")); //Misc Config.AddSubMenu(new Menu("Keys", "Keys")); Config.SubMenu("Keys") .AddItem( new MenuItem("EQMouse", "EQ to Mouse").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); Config.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Game.PrintChat("J4Helper Loaded."); Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; }
public static void Game_OnGameLoad() { if (ObjectManager.Player.BaseSkinName != "Sion") { return; } //Spells Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1050); Q.SetSkillshot(0.6f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine); Q.SetCharged("SionQ", "SionQ", 500, 720, 0.5f); E = new LeagueSharp.Common.Spell(SpellSlot.E, 800); E.SetSkillshot(0.25f, 80f, 1800, false, SkillshotType.SkillshotLine); //Make the menu Config = MainMenu.AddMenu("Sion", "Sion"); comboMenu = Config.AddSubMenu("Combo", "Combo"); comboMenu.Add("UseQCombo", new CheckBox("Use Q")); comboMenu.Add("UseWCombo", new CheckBox("Use W")); comboMenu.Add("UseECombo", new CheckBox("Use E")); Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += ObjAiHeroOnOnProcessSpellCast; }
public LastPositions(Menu config) { configMenu = config; R = new Spell(SpellSlot.R); if (player.ChampionName == "Ezreal") { R.SetSkillshot(1000f, 160f, 2000f, false, SkillshotType.SkillshotLine); } if (player.ChampionName == "Jinx") { R.SetSkillshot(600f, 140f, 1700f, false, SkillshotType.SkillshotLine); } if (player.ChampionName == "Ashe") { R.SetSkillshot(250f, 130f, 1600f, false, SkillshotType.SkillshotLine); } if (player.ChampionName == "Draven") { R.SetSkillshot(400f, 160f, 2000f, false, SkillshotType.SkillshotLine); } config.AddItem(new MenuItem("UseR", "Use R")).SetValue(true); config.AddItem(new MenuItem("RandomUltDrawings", "Draw possible place")).SetValue(false); Menu DontUlt = new Menu("Don't Ult", "DontUltRandomUlt"); foreach (var e in HeroManager.Enemies) { DontUlt.AddItem(new MenuItem(e.ChampionName + "DontUltRandomUlt", e.ChampionName)).SetValue(false); } config.AddSubMenu(DontUlt); Enemies = HeroManager.Enemies.Select(x => new Positions(x)).ToList(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnTeleport += Obj_AI_Base_OnTeleport; }
public Skills() { Q = new Spell(SpellSlot.Q, 800); // circle W = new Spell(SpellSlot.W, 850); // circle E = new Spell(SpellSlot.E, 1100); // line R = new Spell(SpellSlot.R, 700); // circle passive = new Spell(SpellSlot.Q, 1470); Q.SetSkillshot(Q.Instance.SData.SpellCastTime, Q.Instance.SData.LineWidth, Q.Instance.SData.MissileSpeed, false, SkillshotType.SkillshotCircle); W.SetSkillshot(W.Instance.SData.SpellCastTime, W.Instance.SData.LineWidth, W.Instance.SData.MissileSpeed,false, SkillshotType.SkillshotCircle); E.SetSkillshot(E.Instance.SData.SpellCastTime, E.Instance.SData.LineWidth, E.Instance.SData.MissileSpeed, false, SkillshotType.SkillshotLine); E.SetSkillshot(R.Instance.SData.SpellCastTime, R.Instance.SData.LineWidth, R.Instance.SData.MissileSpeed, false, SkillshotType.SkillshotCircle); passive.SetSkillshot(passive.Instance.SData.SpellCastTime, passive.Instance.SData.LineWidth, passive.Instance.SData.MissileSpeed, false, SkillshotType.SkillshotLine); ignite = ObjectManager.Player.GetSpellSlot("SummonerDot"); }
public static void Game_OnGameLoad() { // Champ validation if (player.ChampionName != CHAMP_NAME) return; // Define spells Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 600); W = new LeagueSharp.Common.Spell(SpellSlot.W, 700); E = new LeagueSharp.Common.Spell(SpellSlot.E, rangeE); R = new LeagueSharp.Common.Spell(SpellSlot.R, 700); // Finetune spells Q.SetTargetted(0.25f, 2000); W.SetSkillshot(0.5f, 300, float.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0, 80, speedE, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle); EELO = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.E, 525, SkillShotType.Linear, 250, int.MaxValue, 100); EELO.AllowedCollisionCount = int.MaxValue; // Create menu SetupMenu(); // Register events Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Orbwalker.OnPreAttack += OrbwalkingOnBeforeAttack; EloBuddy.SDK.Events.Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; EloBuddy.SDK.Events.Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; }
private static void Game_OnGameLoad(EventArgs args) { var spell = ObjectManager.Player.GetSpellSlot("summonersnowball"); if (spell == SpellSlot.Unknown) { return; } Menu = new Menu("ARAMShooter", "ARAMShooter", true); Menu.AddItem(new MenuItem("DecreaseRange", "Decrease Range by").SetValue(new Slider(10))); Menu.AddItem( new MenuItem("HitChance", "MinHitChance").SetValue( new StringList( new[] { HitChance.Low.ToString(), HitChance.Medium.ToString(), HitChance.High.ToString() }, 1))); Menu.AddItem(new MenuItem("Auto", "AutoDash").SetValue(true)); Menu.AddItem(new MenuItem("AutoThrow", "AutoThrow").SetValue(false)); Menu.AddItem(new MenuItem("Throw", "Throw").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); var dontThrow = new Menu("Don't throw at", "DontThrow"); foreach (var hero in ObjectManager.Get<Obj_AI_Hero>().Where(hero => hero.IsEnemy)) { dontThrow.AddItem(new MenuItem("DontThrow" + hero.SkinName, hero.SkinName)).SetValue(false); } Menu.AddSubMenu(dontThrow); Menu.Item("HitChance").ValueChanged += Program_ValueChanged; Menu.Item("DecreaseRange").ValueChanged += Program_ValueChanged1; Menu.AddToMainMenu(); Throw = new Spell(spell, 2500f); Throw.SetSkillshot(.33f, 50f, 1600, true, SkillshotType.SkillshotLine); Throw.MinHitChance = GetHitChance(); Game.OnUpdate += Game_OnUpdate; }
public static void Game_OnLoad(EventArgs args) { // Verify champion if (Player.ChampionName != ChampionName) return; Notifications.AddNotification("Twitch by TheOBJop", 2); // Spells _q = new Spell(SpellSlot.Q, 1500); _w = new Spell(SpellSlot.W, 950); _w.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle); _e = new Spell(SpellSlot.E, 1200); _r = new Spell(SpellSlot.R, 850); lastKills = Player.ChampionsKilled; // Menu TwitchMenu.Init(); CustomDamageIndicator.Initialize(GetDamage); // Listen to Events Game.OnUpdate += Game_OnUpdate; CustomEvents.Unit.OnDash += Unit_OnDash; Game.OnNotify += Game_OnNotify; Drawing.OnDraw += Drawing_OnDraw; }
private static void Game_OnGameLoad(EventArgs args) { _player = ObjectManager.Player; if (_player.ChampionName != "LeeSin") return; Q = new Spell(SpellSlot.Q, 1100); R = new Spell(SpellSlot.R, 375); Q.SetSkillshot(Q.Instance.SData.SpellCastTime, Q.Instance.SData.LineWidth,Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine); _cfg = new Menu("Leesin Mechanics helper","Lee Mechanics Helper", true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); _cfg.AddSubMenu(targetSelectorMenu); _cfg.AddSubMenu(new Menu("RQQ Settings", "RQQ Settings")); _cfg.SubMenu("RQQ Settings").AddItem(new MenuItem("ActiveRQQ", "RQQ").SetValue(new KeyBind(32, KeyBindType.Press))); _cfg.SubMenu("RQQ Settings").AddItem(new MenuItem("moveRQQ", "Move to mouse").SetValue(false)); _cfg.SubMenu("RQQ Settings").AddItem(new MenuItem("UseQ1RQQ", "Use Q1").SetValue(true)); _cfg.SubMenu("RQQ Settings").AddItem(new MenuItem("UseQ2RQQ", "Use Q2").SetValue(true)); _cfg.AddSubMenu(new Menu("Flash R Settings", "Flash R Settings")); _cfg.SubMenu("Flash R Settings").AddItem(new MenuItem("ActiveFR", "Flash R").SetValue(new KeyBind(40, KeyBindType.Press))); _cfg.SubMenu("Flash R Settings").AddItem(new MenuItem("UseQ1RFQQ", "Use Q1").SetValue(true)); _cfg.SubMenu("Flash R Settings").AddItem(new MenuItem("UseQ2RFQQ", "Use Q2").SetValue(true)); _cfg.SubMenu("Flash R Settings").AddItem(new MenuItem("moveRFQQ", "Move to mouse").SetValue(false)); _cfg.AddToMainMenu(); Game.OnUpdate += Game_OnUpdate; }
public static void Game_OnGameLoad() { if (Player.ChampionName != "Thresh") return; FlashSlot = Player.GetSpellSlot("SummonerFlash"); Q = new Spell(SpellSlot.Q, 1100); Q2 = new Spell(SpellSlot.Q, 1400); W = new Spell(SpellSlot.W, 950); E = new Spell(SpellSlot.E, 400); R = new Spell(SpellSlot.R, 450); Q.SetSkillshot(0.500f, 70, 1900f, true, SkillshotType.SkillshotLine); Q2.SetSkillshot(0.500f, 70, 1900f, true, SkillshotType.SkillshotLine); Config = MainMenu.AddMenu("Thresh", "thresh_menu"); comboMenu = Config.AddSubMenu("Combo", "Combo"); comboMenu.Add("UseQCombo", new CheckBox("Use Q")); comboMenu.Add("UseWCombo", new CheckBox("Use W")); comboMenu.Add("UseECombo", new CheckBox("Use E")); comboMenu.Add("UseRCombo", new CheckBox("Use R")); comboMenu.Add("EPush", new CheckBox("E Push/Pull(on/off)")); harassMenu = Config.AddSubMenu("Harass", "Harass"); harassMenu.Add("UseQHarass", new CheckBox("Use Q")); harassMenu.Add("UseEHarass", new CheckBox("Use E")); flayMenu = Config.AddSubMenu("Flay", "Flay"); flayMenu.Add("Push", new KeyBind("Push", false, KeyBind.BindTypes.HoldActive, 'I')); flayMenu.Add("Pull", new KeyBind("Pull", false, KeyBind.BindTypes.HoldActive, 'U')); miscMenu = Config.AddSubMenu("Misc", "Misc"); miscMenu.Add("FlashQCombo", new KeyBind("Flash + Hook", false, KeyBind.BindTypes.HoldActive, 'G')); miscMenu.Add("EInterrupt", new CheckBox("Interrupt Spells with E")); miscMenu.Add("EGapCloser", new CheckBox("Auto use E away on Gap Closers")); miscMenu.Add("RGapCloser", new CheckBox("Auto use R on Gap Closers", false)); lanternMenu = Config.AddSubMenu("Lantern Settings", "LanternSettings"); lanternMenu.Add("ThrowLantern", new KeyBind("Throw Lantern to Ally", false, KeyBind.BindTypes.HoldActive, 'T')); lanternMenu.Add("ThrowLanternNear", new CheckBox("Prioritize Nearest Ally", true)); lanternMenu.Add("ThrowLanternLife", new CheckBox("Prioritize Low Ally", false)); drawMenu = Config.AddSubMenu("Drawings", "Drawings"); drawMenu.Add("drawEnable", new CheckBox("Enable Drawing", true)); drawMenu.Add("drawQpred", new CheckBox("Draw Q line prediction", true)); drawMenu.Add("drawQ", new CheckBox("Draw Q", false)); drawMenu.Add("drawW", new CheckBox("Draw W", false)); drawMenu.Add("drawE", new CheckBox("Draw E", false)); drawMenu.Add("drawR", new CheckBox("Draw R", false)); debugMenu = Config.AddSubMenu("Debug", "Debug"); debugMenu.Add("debugE", new CheckBox("Debug E", false)); debugMenu.Add("debugFlash", new CheckBox("Debug flash+hook", false)); Orbwalker.OnPreAttack += OnBeforeAttack; //You can use OnBeforeAttack event here instead of declaring new delegate in function Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += OnDraw; AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += OnPossibleToInterrupt; }
internal static void OnLoad(EventArgs args) { if (Player.ChampionName != "Veigar") return; MenuConfig.OnLoad(); Config.AddToMainMenu(); Q = new Spell(SpellSlot.Q, 900); W = new Spell(SpellSlot.W, 880); E = new Spell(SpellSlot.E, 700); R = new Spell(SpellSlot.R, 650); DamageToUnit = GetComboDamage; Q.SetSkillshot(0.25f, 70f, 2000f, false, SkillshotType.SkillshotLine); W.SetSkillshot(0.5f, 200f, int.MaxValue, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.5f, 80f, int.MaxValue, false, SkillshotType.SkillshotCircle); // Ew.SetSkillshot(0.5f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle); Printmsg("Veigar Assembly By Hoes Loaded"); Printmsg1("Current Version: " + typeof(Program).Assembly.GetName().Version); Printmsg2("Don't Forget To " + "<font color='#00ff00'>[Upvote]</font> <font color='#FFFFFF'>" + "The Assembly In The Databse" + "</font>"); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; // GameObject.OnCreate += OnCreate; // CustomEvents.Unit.OnDash += Ondash; }
public static void OnLoad(EventArgs args) { if (Player.ChampionName != "Jayce") return; MenuConfig.OnLoad(); //ranged Q = new Spell(SpellSlot.Q, 1500); W = new Spell(SpellSlot.W, int.MaxValue); E = new Spell(SpellSlot.E, 600); // melee Qm = new Spell(SpellSlot.Q, 600); Wm = new Spell(SpellSlot.W, int.MaxValue); Em = new Spell(SpellSlot.E, 240); R = new Spell(SpellSlot.R, int.MaxValue); Q.SetSkillshot(0.3f, 80f, 1500, true, SkillshotType.SkillshotLine); Qm.SetTargetted(0.25f, float.MaxValue); Em.SetTargetted(0.25f, float.MaxValue); Game.OnUpdate += OnUpdate; Spellbook.OnCastSpell += OnCastSpell; Drawing.OnDraw += OnDraw; Game.OnUpdate += GeneralOnUpdate; Obj_AI_Base.OnDoCast += OnDoCastRange; Obj_AI_Base.OnDoCast += OnDoCastMelee; Obj_AI_Base.OnDoCast += LaneClear; CustomEvents.Unit.OnDash += OnDash; AntiGapcloser.OnEnemyGapcloser += OnGapClose; Interrupter2.OnInterruptableTarget += OnInterrupt; }
public static void Load() { Q = new Spell(SpellSlot.Q, 1100f, TargetSelector.DamageType.Magical); W = new Spell(SpellSlot.W, 600f, TargetSelector.DamageType.Magical); E = new Spell(SpellSlot.E, 800f); R = new Spell(SpellSlot.R, 550f); Q.SetSkillshot(0.25f, 120f, 900f, false, SkillshotType.SkillshotLine); AIO_Menu.Champion.Combo.addUseQ(); AIO_Menu.Champion.Combo.addUseW(); //AIO_Menu.Champion.Combo.addUseR(); AIO_Menu.Champion.Harass.addUseQ(false); AIO_Menu.Champion.Harass.addUseW(); AIO_Menu.Champion.Harass.addIfMana(); AIO_Menu.Champion.Misc.addHitchanceSelector(); AIO_Menu.Champion.Misc.addUseAntiGapcloser(); AIO_Menu.Champion.Misc.addUseInterrupter(); AIO_Menu.Champion.Misc.addItem("Auto E", true); AIO_Menu.Champion.Drawings.addQrange(); AIO_Menu.Champion.Drawings.addWrange(); AIO_Menu.Champion.Drawings.addErange(); AIO_Menu.Champion.Drawings.addRrange(); AIO_Menu.Champion.Drawings.addDamageIndicator(getComboDamage); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; }
private static void Game_OnGameLoad(EventArgs args) { try { Player = ObjectManager.Player; if (Player.ChampionName != ChampName) { Game.PrintChat("No Support Champion"); return; } _Q = new Spell(SpellSlot.Q, 850f); _Q.SetSkillshot(0.25f, 120f, 900f, false, SkillshotType.SkillshotLine); _W = new Spell(SpellSlot.W, 600); _E = new Spell(SpellSlot.E, 800f); _R = new Spell(SpellSlot.R, 875f); MainMenu.Menu(); Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += OnDraw.Drawing_OnDraw; Drawing.OnEndScene += OnEndScene.Drawing_OnEndScene; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Obj_AI_Base.OnIssueOrder += Obj_AI_Base_OnIssueOrder; } catch (Exception e) { Console.Write(e); Game.PrintChat("FreshJanna is not working. plz send message by KorFresh (Code 3)"); } }
public Tristana() { Q = new Spell(SpellSlot.Q, 703); W = new Spell(SpellSlot.W, 900); W.SetSkillshot(.50f, 250f, 1400f, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 703); R = new Spell(SpellSlot.R, 703); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = true; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; vText = new Font( Drawing.Direct3DDevice, new FontDescription { FaceName = "Courier new", Height = 15, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default }); Utils.Utils.PrintMessage("Tristana loaded."); }
public Twitch() { Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 950f, TargetSelector.DamageType.True) { MinHitChance = HitChance.High }; E = new Spell(SpellSlot.E, 1200f); Recall = new Spell(SpellSlot.Recall); W.SetSkillshot(0.25f, 100f, 1400f, false, SkillshotType.SkillshotCircle); MenuProvider.Champion.Combo.addUseW(); MenuProvider.Champion.Combo.addUseE(); MenuProvider.Champion.Jungleclear.addUseW(false); MenuProvider.Champion.Jungleclear.addUseE(); MenuProvider.Champion.Jungleclear.addIfMana(20); MenuProvider.Champion.Misc.addUseKillsteal(); MenuProvider.Champion.Misc.addItem("Stealth Recall", new KeyBind('T', KeyBindType.Press)); MenuProvider.Champion.Drawings.addDrawWrange(System.Drawing.Color.DeepSkyBlue, false); MenuProvider.Champion.Drawings.addDrawErange(System.Drawing.Color.DeepSkyBlue, false); MenuProvider.Champion.Drawings.addItem("R Pierce Line", true); MenuProvider.Champion.Drawings.addDamageIndicator(GetComboDamage); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Console.WriteLine("Sharpshooter: Twitch Loaded."); Game.PrintChat("<font color = \"#00D8FF\"><b>SharpShooter Reworked:</b></font> <font color = \"#FF007F\">Twitch</font> Loaded."); }
public Ahri() { if (ObjectManager.Player.ChampionName != "Ahri") return; (_menu = new Menu("AhriSharp", "AhriSharp", true)).AddToMainMenu(); var targetSelectorMenu = new Menu("Target Selector", "TargetSelector"); TargetSelector.AddToMenu(targetSelectorMenu); _menu.AddSubMenu(targetSelectorMenu); _orbwalker = new Orbwalking.Orbwalker(_menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"))); var comboMenu = _menu.AddSubMenu(new Menu("Combo", "Combo")); comboMenu.AddItem(new MenuItem("comboQ", "Use Q").SetValue(true)); comboMenu.AddItem(new MenuItem("comboW", "Use W").SetValue(true)); comboMenu.AddItem(new MenuItem("comboE", "Use E").SetValue(true)); comboMenu.AddItem(new MenuItem("comboR", "Use R").SetValue(true)); comboMenu.AddItem(new MenuItem("comboROnlyUserInitiate", "Use R only if user initiated").SetValue(false)); var harassMenu = _menu.AddSubMenu(new Menu("Harass", "Harass")); harassMenu.AddItem(new MenuItem("harassQ", "Use Q").SetValue(true)); harassMenu.AddItem(new MenuItem("harassE", "Use E").SetValue(true)); harassMenu.AddItem(new MenuItem("harassPercent", "Skills until Mana %").SetValue(new Slider(20))); var farmMenu = _menu.AddSubMenu(new Menu("Lane Clear", "LaneClear")); farmMenu.AddItem(new MenuItem("farmQ", "Use Q").SetValue(true)); farmMenu.AddItem(new MenuItem("farmW", "Use W").SetValue(false)); farmMenu.AddItem(new MenuItem("farmPercent", "Skills until Mana %").SetValue(new Slider(20))); farmMenu.AddItem(new MenuItem("farmStartAtLevel", "Only AA until Level").SetValue(new Slider(8, 1, 18))); var drawMenu = _menu.AddSubMenu(new Menu("Drawing", "Drawing")); drawMenu.AddItem(new MenuItem("drawQE", "Draw Q, E range").SetValue(new Circle(true, System.Drawing.Color.FromArgb(125, 0, 255, 0)))); drawMenu.AddItem(new MenuItem("drawW", "Draw W range").SetValue(new Circle(false, System.Drawing.Color.FromArgb(125, 0, 0, 255)))); var dmgAfterComboItem = new MenuItem("DamageAfterCombo", "Draw Combo Damage").SetValue(true); //copied from esk0r Syndra drawMenu.AddItem(dmgAfterComboItem); var miscMenu = _menu.AddSubMenu(new Menu("Misc", "Misc")); miscMenu.AddItem(new MenuItem("packetCast", "Packet Cast").SetValue(true)); _itemDFG = Utility.Map.GetMap().Type == Utility.Map.MapType.TwistedTreeline ? new Items.Item(3188, 750) : new Items.Item(3128, 750); _spellQ = new Spell(SpellSlot.Q, 990); _spellW = new Spell(SpellSlot.W, 795 - 95); _spellE = new Spell(SpellSlot.E, 1000 - 10); _spellR = new Spell(SpellSlot.R, 1000 - 100); _spellQ.SetSkillshot(.215f, 100, 1600f, false, SkillshotType.SkillshotLine); _spellW.SetSkillshot(.71f, _spellW.Range, float.MaxValue, false, SkillshotType.SkillshotLine); _spellE.SetSkillshot(.23f, 60, 1500f, true, SkillshotType.SkillshotLine); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = dmgAfterComboItem.GetValue<bool>(); dmgAfterComboItem.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue<bool>(); }; Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Game.PrintChat("<font color=\"#1eff00\">AhriSharp by Beaving</font> - <font color=\"#00BFFF\">Loaded</font>"); }
public void LoadOKTW() { Q = new Spell(SpellSlot.Q, 500f); W = new Spell(SpellSlot.W, 700f); E = new Spell(SpellSlot.E, 250f); R = new Spell(SpellSlot.R, 650f); R.SetSkillshot(0.25f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle); Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range", true).SetValue(false)); Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("wRange", "W range", true).SetValue(false)); Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("eRange", "E range", true).SetValue(false)); Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("rRange", "R range", true).SetValue(false)); Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw only ready spells", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("Q config").AddItem(new MenuItem("autoQ", "Auto Q", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("W config").AddItem(new MenuItem("autoW", "Auto W", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("W config").AddItem(new MenuItem("slowW", "Auto W slow", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("E config").AddItem(new MenuItem("autoE", "Auto E", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("R config").AddItem(new MenuItem("rCount", "Auto R x enemies", true).SetValue(new Slider(3, 0, 5))); Config.SubMenu(Player.ChampionName).SubMenu("R config").AddItem(new MenuItem("useR", "Semi-manual cast R key", true).SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); //32 == space Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("Mana", "Clear Mana", true).SetValue(new Slider(0, 100, 30))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleQ", "Jungle Q", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("jungleE", "Jungle E", true).SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("Farm").AddItem(new MenuItem("laneQ", "Lane clear Q", true).SetValue(true)); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += GameOnOnUpdate; }
public Ezreal() { Q = new Spell(SpellSlot.Q, 1150f); Q.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 900f); W.SetSkillshot(0.25f, 80f, 1600f, false, SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 2500f); R.SetSkillshot(1f, 160f, 2000f, false, SkillshotType.SkillshotLine); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = true; VText = new Font( Drawing.Direct3DDevice, new FontDescription { FaceName = "Courier new", Height = 15, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default, }); Utils.PrintMessage("Ezreal loaded."); }
protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs) { base.OnLoad(sender, eventArgs); Spell = new Spell(SpellSlot.R, 1200); Spell.SetSkillshot(.2f, 110f, 2500f, true, SkillshotType.SkillshotLine); }
public static void Load() { Q = new Spell(SpellSlot.Q, 680f); W = new Spell(SpellSlot.W); R = new Spell(SpellSlot.R, 230f); R.SetSkillshot(0.25f, 75f, float.MaxValue, false, SkillshotType.SkillshotCircle); SharpShooter.Menu.SubMenu("Combo").AddItem(new MenuItem("comboUseQ", "Use Q", true).SetValue(true)); SharpShooter.Menu.SubMenu("Combo").AddItem(new MenuItem("comboUseW", "Use W", true).SetValue(true)); SharpShooter.Menu.SubMenu("Combo").AddItem(new MenuItem("comboUseR", "Use R", true).SetValue(true)); SharpShooter.Menu.SubMenu("Harass").AddItem(new MenuItem("harassUseQ", "Use Q", true).SetValue(true)); SharpShooter.Menu.SubMenu("Harass").AddItem(new MenuItem("harassMana", "if Mana % >", true).SetValue(new Slider(50, 0, 100))); SharpShooter.Menu.SubMenu("Laneclear").AddItem(new MenuItem("empty1", "Empty", true)); SharpShooter.Menu.SubMenu("Jungleclear").AddItem(new MenuItem("jungleclearUseQ", "Use Q", true).SetValue(true)); SharpShooter.Menu.SubMenu("Jungleclear").AddItem(new MenuItem("jungleclearMana", "if Mana % >", true).SetValue(new Slider(20, 0, 100))); SharpShooter.Menu.SubMenu("Misc").AddItem(new MenuItem("antigapcloser", "Use Anti-Gapcloser", true).SetValue(true)); SharpShooter.Menu.SubMenu("Drawings").AddItem(new MenuItem("drawingAA", "Real AA Range", true).SetValue(new Circle(true, Color.FromArgb(171, 242, 0)))); SharpShooter.Menu.SubMenu("Drawings").AddItem(new MenuItem("drawingQ", "Q Range", true).SetValue(new Circle(true, Color.FromArgb(171, 242, 0)))); SharpShooter.Menu.SubMenu("Drawings").AddItem(new MenuItem("drawingR", "R Range", true).SetValue(new Circle(false, Color.FromArgb(171, 242, 0)))); Game.OnGameUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Orbwalking.AfterAttack += Orbwalking_OnAfterAttack; }
public static void OnGameLoad(EventArgs args) { if (Player.ChampionName != "Riven") { return; // This guy is missing out.. } CreateMenu(); Q = new Spell(SpellSlot.Q, 260) { Delay = 0.5f }; W = new Spell(SpellSlot.W, 260); E = new Spell(SpellSlot.E, 250) { Delay = 0.3f, Speed = 1450 }; R = new Spell(SpellSlot.R, 1100); Ignite = new Spell(Player.GetSpellSlot("summonerdot"), 600); Q.SetSkillshot(0.5f, 100, 1400, false, SkillshotType.SkillshotCone); R.SetSkillshot(0.25f, 150, 2200, false, SkillshotType.SkillshotCone); Obj_AI_Base.OnPlayAnimation += Obj_AI_Base_OnPlayAnimation; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Game.OnUpdate += RivenCombo.OnGameUpdate; Drawing.OnDraw += DrawingOnOnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloserOnOnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2OnOnInterruptableTarget; Utility.HpBarDamageIndicator.Enabled = true; Utility.HpBarDamageIndicator.DamageToUnit = RivenCombo.GetDamage; NotificationHandler.ShowWelcome(); Game.PrintChat("<font color=\"#7CFC00\"><b>EasyPeasyRivenSqueezy:</b></font> Loaded"); }
static SpellManager() { Q = new Spell(SpellSlot.Q, 700); Q.SetTargetted(.401f, 2000); W = new Spell(SpellSlot.W, 600); W.SetSkillshot(.5f, 100, 2000, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 950); E.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine); ER = new Spell(SpellSlot.R, 950); ER.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine); EPrediction = new Spell(SpellSlot.E, 950); EPrediction.SetSkillshot(.25f, 70, 1750, true, SkillshotType.SkillshotLine); R = new Spell(SpellSlot.R, 720); { SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); } }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Twitch") return; _w = new Spell(SpellSlot.W, wRange); _w.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle); _e = new Spell(SpellSlot.E, eRange); _config = new Menu("Twitch", "Twitch", true); _orbwalker = new Orbwalking.Orbwalker(_config.SubMenu("Orbwalking")); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); TargetSelector.AddToMenu(targetSelectorMenu); _config.AddSubMenu(targetSelectorMenu); _config.SubMenu("Combo").AddItem(new MenuItem("UseWCombo", "Use W").SetValue(true)); _config.SubMenu("Combo").AddItem(new MenuItem("ghost", "Use Ghostblade").SetValue(true)); _config.SubMenu("Combo").AddItem(new MenuItem("botrk", "Use Botrk").SetValue(true)); _config.SubMenu("Drawings").AddItem(new MenuItem("ultDraw", "Draw ult range").SetValue(true)); _config.SubMenu("Drawings").AddItem(new MenuItem("EDamage", "E Damage").SetValue(new Circle(true, Color.White))); _config.SubMenu("Drawings").AddItem(new MenuItem("stealthColor", "Stealth indicator").SetValue(new Circle(true, Color.Purple))); _config.AddToMainMenu(); CustomDamageIndicator.Initialize(GetEDamage); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += OnSpellProcess; Obj_AI_Base.OnDamage += OnDamage; }
public void LoadOKTW() { Q = new Spell(SpellSlot.Q, 0); W = new Spell(SpellSlot.W, 950); E = new Spell(SpellSlot.E, 1200); R = new Spell(SpellSlot.R, 975); W.SetSkillshot(0.25f, 100f, 1410f, false, SkillshotType.SkillshotCircle); Config.SubMenu("Draw").AddItem(new MenuItem("notif", "Notification (timers)").SetValue(true)); Config.SubMenu("Draw").AddItem(new MenuItem("qRange", "Q range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("eRange", "E range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("rRange", "R range").SetValue(false)); Config.SubMenu("Draw").AddItem(new MenuItem("onlyRdy", "Draw only ready spells").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("Q Config").AddItem(new MenuItem("countQ", "Auto Q if x enemies are going in your direction 0-disable").SetValue(new Slider(3, 5, 0))); Config.SubMenu(Player.ChampionName).SubMenu("W Config").AddItem(new MenuItem("autoW", "AutoW").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("Eks", "E ks").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("countE", "Auto E if x stacks & out range AA").SetValue(new Slider(6, 6, 0))); Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("5e", "Always E if 6 stacks").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("E Config").AddItem(new MenuItem("jungleE", "Jungle ks E").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("Rks", "R KS out range AA").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("R Config").AddItem(new MenuItem("countR", "Auto R if x enemies (combo)").SetValue(new Slider(3, 5, 0))); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; //AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; // Interrupter.OnPossibleToInterrupt += Interrupter_OnPossibleToInterrupt; //Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; }
protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs) { base.OnLoad(sender, eventArgs); Spell = new Spell(SpellSlot.W, 1000); Spell.SetSkillshot(.25f, 80f, 1550f, false, SkillshotType.SkillshotLine); }
private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Tryndamere") return; Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 400f); E = new Spell(SpellSlot.E, 660f); R = new Spell(SpellSlot.R); E.SetSkillshot(0f, 93f, 600, false, SkillshotType.SkillshotLine); Menu = new Menu(Player.ChampionName, Player.ChampionName, true); Menu orbwalkerMenu = Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); Orbwalker = new Orbwalking.Orbwalker(orbwalkerMenu); Menu ts = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); ; TargetSelector.AddToMenu(ts); Menu spellMenu = Menu.AddSubMenu(new Menu("Spells", "Spells")); spellMenu.AddItem(new MenuItem("useQ", "Use Q").SetValue(true)); spellMenu.AddItem(new MenuItem("qBelow", "Q below % hp").SetValue(new Slider(20, 0, 95))); spellMenu.AddItem(new MenuItem("useW", "Use W").SetValue(true)); spellMenu.AddItem(new MenuItem("useE", "Use E").SetValue(true)); spellMenu.AddItem(new MenuItem("useR", "Use R Before Death").SetValue(true)); spellMenu.AddItem(new MenuItem("rBelow", "R below % hp").SetValue(new Slider(15, 0, 95))); Menu fleeMenu = Menu.AddSubMenu(new Menu("Flee", "Run Nigger")); fleeMenu.AddItem(new MenuItem("useEFlee", "Use E")).SetValue(new KeyBind('Z', KeyBindType.Press)); Menu.AddToMainMenu(); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnGameUpdate; Game.PrintChat("I'm a DK"); }
public void LoadOKTW() { Q = new Spell(SpellSlot.Q, 1050); Qext = new Spell(SpellSlot.Q, 1650); QextCol = new Spell(SpellSlot.Q, 1650); Q2 = new Spell(SpellSlot.Q, 600); W = new Spell(SpellSlot.W); W2 = new Spell(SpellSlot.W, 350); E = new Spell(SpellSlot.E, 650); E2 = new Spell(SpellSlot.E, 240); R = new Spell(SpellSlot.R); Q.SetSkillshot(0.25f, 80, 1200, true, SkillshotType.SkillshotLine); Qext.SetSkillshot(0.25f, 80, 1600, false, SkillshotType.SkillshotLine); QextCol.SetSkillshot(0.25f, 80, 1600, true, SkillshotType.SkillshotLine); Q2.SetTargetted(0.25f, float.MaxValue); E.SetSkillshot(0.1f, 120, float.MaxValue, false, SkillshotType.SkillshotCircle); E2.SetTargetted(0.25f, float.MaxValue); Config.SubMenu(Player.ChampionName).SubMenu("Draw").AddItem(new MenuItem("noti", "Show notification", true).SetValue(false)); foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(enemy => enemy.Team != Player.Team)) Config.SubMenu(Player.ChampionName).SubMenu("Harras").AddItem(new MenuItem("haras" + enemy.ChampionName, enemy.ChampionName).SetValue(true)); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += OnUpdate; Orbwalking.BeforeAttack += BeforeAttack; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
static SpellManager() { Q = new Spell(SpellSlot.Q, 340 + 500); Q.SetSkillshot(.135f, 80, 1600, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 800); W.SetSkillshot(.38f, 0, 0, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 500); E.SetTargetted(0, 0); R = new Spell(SpellSlot.R, 500); R.SetTargetted(.672f, 1200); var igniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot"); if (!igniteSlot.Equals(SpellSlot.Unknown)) { Ignite = new Spell(igniteSlot, 600); Ignite.SetTargetted(.172f, 20); } var smite = ObjectManager.Player.Spellbook.Spells.FirstOrDefault(h => h.Name.ToLower().Contains("smite")); if (smite != null && !smite.Slot.Equals(SpellSlot.Unknown)) { Smite = new Spell(smite.Slot, 500); Smite.SetTargetted(.333f, 20); SmiteManager.Initialize(); } }
private void InitZac() { Q = new Spell(SpellSlot.Q, 550); Q.SetSkillshot(0.55f, 120, float.MaxValue, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 320); E = new Spell(SpellSlot.E); E.SetCharged(295, eRanges[0], eChannelTimes[0], 0.75f, 1500, 230); R = new Spell(SpellSlot.R, 300); }
private void InitUdyr() { Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 300); R2 = new Spell(SpellSlot.R, 600); R2.SetSkillshot(0.3f, 90f * 2 * (float)Math.PI / 180, 1800f, false, SkillshotType.SkillshotCone); }
public Evelynn() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 500f); W = new LeagueSharp.Common.Spell(SpellSlot.W, Q.Range); E = new LeagueSharp.Common.Spell(SpellSlot.E, 225f + 2 * 65f); R = new LeagueSharp.Common.Spell(SpellSlot.R, 650f); R.SetSkillshot(0.25f, 350f, float.MaxValue, false, SkillshotType.SkillshotCircle); }
public Sona() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 850); W = new LeagueSharp.Common.Spell(SpellSlot.W, 1000); E = new LeagueSharp.Common.Spell(SpellSlot.E, 350); R = new LeagueSharp.Common.Spell(SpellSlot.R, 1000); R.SetSkillshot(0.5f, 125, float.MaxValue, false, SkillshotType.SkillshotLine); }
private void InitYorick() { Q = new Spell(SpellSlot.Q, player.AttackRange); W = new Spell(SpellSlot.W, 600); W.SetSkillshot(W.Instance.SData.SpellCastTime, W.Instance.SData.LineWidth, W.Speed, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 550); R = new Spell(SpellSlot.R, 850); }
private static void InitFiora() { Q = new Spell(SpellSlot.Q, 400f); Q.SetSkillshot(0.25f, 50f, 1600f, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 750f); W.SetSkillshot(0.75f, 80, 2000f, false, SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 500); }
private static void InitGalio() { Q = new Spell(SpellSlot.Q, 940); Q.SetSkillshot(0.25f, 125, 1300, false, SkillshotType.SkillshotCircle); W = new Spell(SpellSlot.W, 800); E = new Spell(SpellSlot.E, 1180); E.SetSkillshot(0.25f, 140, 1200, false, SkillshotType.SkillshotLine); R = new Spell(SpellSlot.R, 575); }
public static void Game_OnGameLoad() { Chat.Print("Zac - The Secret Flubber by DanZ and Drunkenninja"); if (ObjectManager.Player.BaseSkinName != Champion) { return; } Q = new Spell(SpellSlot.Q, 550); W = new Spell(SpellSlot.W, 350); E = new Spell(SpellSlot.E, 1550); R = new Spell(SpellSlot.R); Q.SetSkillshot(550, 120, int.MaxValue, false, SkillshotType.SkillshotLine); E.SetSkillshot(1550, 250, 1500, true, SkillshotType.SkillshotCone); E.SetCharged("ZacE", "ZacE", 1150, 1550, 1.5f); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Config = MainMenu.AddMenu("Zac", "Zac_menu"); comboMenu = Config.AddSubMenu("Combo", "Combo"); comboMenu.Add("UseQCombo", new CheckBox("Use Q", true)); comboMenu.Add("UseWCombo", new CheckBox("Use W", true)); comboMenu.Add("UseRCombo", new CheckBox("Use R", true)); harassMenu = Config.AddSubMenu("Harass", "Harass"); harassMenu.Add("UseQHarass", new CheckBox("Use Q", true)); harassMenu.Add("UseWHarass", new CheckBox("Use W", true)); jungleMenu = Config.AddSubMenu("Jungle Clear", "JGClear"); jungleMenu.Add("QJGClear", new CheckBox("Use Q", true)); jungleMenu.Add("WJGClear", new CheckBox("Use W", true)); miscMenu = Config.AddSubMenu("Misc", "Misc"); miscMenu.Add("KSQ", new CheckBox("KS with Q", true)); drawMenu = Config.AddSubMenu("Drawings", "Drawings"); drawMenu.Add("drawEnable", new CheckBox("Enable Drawing", true)); drawMenu.Add("drawQ", new CheckBox("Draw Q", true)); drawMenu.Add("drawW", new CheckBox("Draw W", true)); drawMenu.Add("drawE", new CheckBox("Draw E", true)); drawMenu.Add("drawR", new CheckBox("Draw R", true)); Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += OnDraw; }
private void InitFizz() { Q = new Spell(SpellSlot.Q, 550); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 650); E.SetSkillshot(0.5f, 165f, float.MaxValue, true, SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R, 1200); R.SetSkillshot(0.25f, 125f, 1300f, true, SkillshotType.SkillshotLine); }
public Hecarim() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 350); W = new LeagueSharp.Common.Spell(SpellSlot.W, 525); E = new LeagueSharp.Common.Spell(SpellSlot.E, 0); R = new LeagueSharp.Common.Spell(SpellSlot.R, 1350); R.SetSkillshot(0.5f, 200f, 1200f, false, SkillshotType.SkillshotLine); }
private static void InitRenekton() { Q = new Spell(SpellSlot.Q, 300); W = new Spell(SpellSlot.W, player.AttackRange + 55); E = new Spell(SpellSlot.E, 450); E.SetSkillshot( E.Instance.SData.SpellCastTime, E.Instance.SData.LineWidth, E.Speed, false, SkillshotType.SkillshotCone); R = new Spell(SpellSlot.R, 300); }
private void InitRumble() { Q = new Spell(SpellSlot.Q, 500); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 950); E.SetSkillshot(0.25f, 70, 1200, true, SkillshotType.SkillshotLine); R = new Spell(SpellSlot.R, 1700); R.SetSkillshot(0.4f, 130, 2500, false, SkillshotType.SkillshotLine); }
public static void LoadOKTW() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1000); E = new LeagueSharp.Common.Spell(SpellSlot.E, 700); W = new LeagueSharp.Common.Spell(SpellSlot.W, 2100); R = new LeagueSharp.Common.Spell(SpellSlot.R, 550); Q.SetSkillshot(0.25f, 90f, 1550, true, SkillshotType.SkillshotLine); E.SetTargetted(0.25f, 2000f); drawMenu = Config.AddSubMenu("Drawings"); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true)); drawMenu.Add("qRange", new CheckBox("Q range", false)); drawMenu.Add("wRange", new CheckBox("W range", false)); drawMenu.Add("eRange", new CheckBox("E range", false)); qMenu = Config.AddSubMenu("Q Config"); qMenu.Add("autoQ", new CheckBox("Auto Q", true)); qMenu.Add("harrasQ", new CheckBox("Harass Q", true)); eMenu = Config.AddSubMenu("E Config"); eMenu.Add("autoE", new CheckBox("Auto E", true)); eMenu.Add("harrasE", new CheckBox("Harass E", true)); eMenu.Add("AGC", new CheckBox("AntiGapcloser E", true)); eMenu.Add("Int", new CheckBox("Interrupter E", true)); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { eMenu.Add("gap" + enemy.ChampionName, new CheckBox("GapClose : " + enemy.ChampionName, true)); } miscMenu = Config.AddSubMenu("Misc"); miscMenu.Add("autoW", new CheckBox("Auto W", true)); miscMenu.Add("autoR", new CheckBox("Auto R in shop", true)); miscMenu.Add("focusP", new CheckBox("Focus marked enemy", true)); harassMenu = Config.AddSubMenu("Harass"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { harassMenu.Add("harras" + enemy.ChampionName, new CheckBox(enemy.ChampionName)); } farmMenu = Config.AddSubMenu("Farm"); farmMenu.Add("farmP", new CheckBox("Attack marked minion first", true)); farmMenu.Add("farmQ", new CheckBox("Farm Q", true)); farmMenu.Add("jungleE", new CheckBox("Jungle clear E", true)); farmMenu.Add("jungleQ", new CheckBox("Jungle clear Q", true)); farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100)); farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10)); Game.OnUpdate += Game_OnGameUpdate; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Drawing.OnDraw += Drawing_OnDraw; Orbwalker.OnPostAttack += afterAttack; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Orbwalker.OnPreAttack += Orbwalking_BeforeAttack; }
public static void OnLoad() { if (Player.ChampionName != "Jayce") { return; } MenuConfig.OnLoad(); //ranged Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1050); Qe = new LeagueSharp.Common.Spell(SpellSlot.Q, 1470); W = new LeagueSharp.Common.Spell(SpellSlot.W, int.MaxValue); E = new LeagueSharp.Common.Spell(SpellSlot.E, 650); // melee Qm = new LeagueSharp.Common.Spell(SpellSlot.Q, 600); Wm = new LeagueSharp.Common.Spell(SpellSlot.W, int.MaxValue); Em = new LeagueSharp.Common.Spell(SpellSlot.E, 240); R = new LeagueSharp.Common.Spell(SpellSlot.R, int.MaxValue); qpred = new PredictionInput { Aoe = false, Collision = false, Speed = Qe.Speed, Delay = Qe.Delay, Range = Qe.Range, Radius = Qe.Width, Type = SkillshotType.SkillshotLine }; qpred1 = new PredictionInput { Aoe = false, Collision = false, Speed = Q.Speed, Delay = Q.Delay, Range = Q.Range, Radius = Q.Width, Type = SkillshotType.SkillshotLine }; Q.SetSkillshot(0.3f, 70f, 1500, true, LeagueSharp.Common.SkillshotType.SkillshotLine); Qe.SetSkillshot(0.3f, 70f, 2180, true, LeagueSharp.Common.SkillshotType.SkillshotLine); Qm.SetTargetted(0f, float.MaxValue); Em.SetTargetted(0f, float.MaxValue); Game.OnUpdate += OnUpdate; Spellbook.OnCastSpell += OnCastSpell; Drawing.OnDraw += OnDraw; Game.OnUpdate += GeneralOnUpdate; Obj_AI_Base.OnSpellCast += OnDoCastRange; Obj_AI_Base.OnSpellCast += OnDoCastMelee; Obj_AI_Base.OnSpellCast += LaneClear; CustomEvents.Unit.OnDash += OnDash; AntiGapcloser.OnEnemyGapcloser += OnGapClose; Interrupter2.OnInterruptableTarget += OnInterrupt; EloBuddy.Player.OnIssueOrder += OnOrder; }
public static void LoadSpell() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1075); W = new LeagueSharp.Common.Spell(SpellSlot.W, 950); E = new LeagueSharp.Common.Spell(SpellSlot.E, 450); R = new LeagueSharp.Common.Spell(SpellSlot.R, 430); Q.SetSkillshot(0.5f, 80, 1900f, true, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 100, float.MaxValue, false, SkillshotType.SkillshotLine); }
public Morgana() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1175); W = new LeagueSharp.Common.Spell(SpellSlot.W, 900); E = new LeagueSharp.Common.Spell(SpellSlot.E, 750); R = new LeagueSharp.Common.Spell(SpellSlot.R, 550); Q.SetSkillshot(0.25f, 80f, 1200f, true, SkillshotType.SkillshotLine); W.SetSkillshot(0.28f, 175f, float.MaxValue, false, SkillshotType.SkillshotCircle); }
public Leona() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, AttackRange); W = new LeagueSharp.Common.Spell(SpellSlot.W, AttackRange); E = new LeagueSharp.Common.Spell(SpellSlot.E, 700); R = new LeagueSharp.Common.Spell(SpellSlot.R, 1200); E.SetSkillshot(0.25f, 100f, 2000f, false, SkillshotType.SkillshotLine); R.SetSkillshot(1f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle); }
public Aatrox() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 650); W = new LeagueSharp.Common.Spell(SpellSlot.W, Player.AttackRange + 25); E = new LeagueSharp.Common.Spell(SpellSlot.E, 950); //1000? R = new LeagueSharp.Common.Spell(SpellSlot.R, 550); //300? Q.SetSkillshot(0.5f, 180f, 1800f, false, SkillshotType.SkillshotCircle); //width tuned E.SetSkillshot(0.5f, 150f, 1200f, false, SkillshotType.SkillshotCone); }
private void InitSinged() { Q = new Spell(SpellSlot.Q); Qp = new Spell(SpellSlot.Q, 200); Qp.SetSkillshot(0.5f, 20, float.MaxValue, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 1000); W.SetSkillshot(0.5f, 300, 700, false, SkillshotType.SkillshotCircle); E = new Spell(SpellSlot.E, 125); R = new Spell(SpellSlot.R); }
public Soraka() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 950); W = new LeagueSharp.Common.Spell(SpellSlot.W, 450); E = new LeagueSharp.Common.Spell(SpellSlot.E, 925); R = new LeagueSharp.Common.Spell(SpellSlot.R); Q.SetSkillshot(0.5f, 300, 1750, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.5f, 70f, 1750, false, SkillshotType.SkillshotCircle); }
public Twitch() { W = new LeagueSharp.Common.Spell(SpellSlot.W, 950); W.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotCircle); E = new LeagueSharp.Common.Spell(SpellSlot.E, 1200); //Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; //Utility.HpBarDamageIndicator.Enabled = true; Utils.Utils.PrintMessage("Twitch loaded."); }
private void InitMao() { Q = new Spell(SpellSlot.Q, 600); Q.SetSkillshot(0.50f, 110f, 1200f, false, SkillshotType.SkillshotLine); Qint = new Spell(SpellSlot.Q, 250f); W = new Spell(SpellSlot.W, 500); E = new Spell(SpellSlot.E, 1100); E.SetSkillshot(1f, 250f, 1500f, false, SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R, 450); }
private static void InitShen() { Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W); //2500f E = new Spell(SpellSlot.E, 600); E.SetSkillshot(0.25f, 95f, 1250f, false, SkillshotType.SkillshotLine); EFlash = new Spell(SpellSlot.E, 990); EFlash.SetSkillshot(0.25f, 95f, 2500f, false, SkillshotType.SkillshotLine); R = new Spell(SpellSlot.R); }
private void InitNocturne() { Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 550); E = new Spell(SpellSlot.E, 600); E.SetSkillshot( E.Instance.SData.SpellCastTime, E.Instance.SData.LineWidth, E.Speed, false, SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R, 350f); }
private void InitSion() { Q = new Spell(SpellSlot.Q, 740); Q.SetSkillshot(0.6f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine); Q.SetCharged("SionQ", "SionQ", 350, 740, 0.6f); W = new Spell(SpellSlot.W, 490); E = new Spell(SpellSlot.E, 775); E.SetSkillshot(0.25f, 80f, 1800, false, SkillshotType.SkillshotLine); R = new Spell(SpellSlot.R); }
private static void InitGangPlank() { Q = new Spell(SpellSlot.Q, 590f); //2600f Q.SetTargetted(0.25f, 2200f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 950); E.SetSkillshot(0.8f, 50, float.MaxValue, false, SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R); R.SetSkillshot(1f, 100, float.MaxValue, false, SkillshotType.SkillshotCircle); }
public Caitlyn() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1240); W = new LeagueSharp.Common.Spell(SpellSlot.W, 820); E = new LeagueSharp.Common.Spell(SpellSlot.E, 800); R = new LeagueSharp.Common.Spell(SpellSlot.R, 2000); Q.SetSkillshot(0.25f, 60f, 2000f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 80f, 1600f, true, SkillshotType.SkillshotLine); }
private static void Initpoppy() { Q = new Spell(SpellSlot.Q, 400); Q.SetSkillshot(0.55f, 90f, float.MaxValue, false, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 400); E = new Spell(SpellSlot.E, 500); R = new Spell(SpellSlot.R); R.SetSkillshot(0.5f, 90f, 1400, true, SkillshotType.SkillshotLine); R.SetCharged("PoppyR", "PoppyR", 425, 1400, 1.0f); }
public Corki() { Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 825f); E = new LeagueSharp.Common.Spell(SpellSlot.E, 600f); R = new LeagueSharp.Common.Spell(SpellSlot.R, 1300f); Q.SetSkillshot(0.3f, 120f, 1000f, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0f, (float)(45 * Math.PI / 180), 1500, false, SkillshotType.SkillshotCone); R.SetSkillshot(0.2f, 40f, 2000f, true, SkillshotType.SkillshotLine); }
private void InitEzreal() { Q = new Spell(SpellSlot.Q, 1150); Q.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 1000); W.SetSkillshot(0.25f, 80f, 1600f, false, SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E, 450); R = new Spell(SpellSlot.R, 2000); R.SetSkillshot(1.2f, 160f, 2000f, false, SkillshotType.SkillshotLine); }
public static void Game_OnGameLoad() { if (Player.ChampionName != ChampionName) return; LoadMenu(); Q = new Spell(SpellSlot.Q, Player.AttackRange); W = new Spell(SpellSlot.W, 1490f); E = new Spell(SpellSlot.E, 900f); R = new Spell(SpellSlot.R, 2500f); W.SetSkillshot(0.6f, 75f, 3300f, true, SkillshotType.SkillshotLine); E.SetSkillshot(1.2f, 1f, 1750f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine); foreach (var hero in ObjectManager.Get<AIHeroClient>()) { if (hero.IsEnemy) { Enemies.Add(hero); } else if(hero.ChampionName.Equals("Blitzcrank")) { blitz = hero; } } Game.OnUpdate += Game_OnGameUpdate; Orbwalker.OnPreAttack += BeforeAttack; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Drawing.OnDraw += Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Chat.Print("<font color=\"#00BFFF\">GENESIS </font>Jinx<font color=\"#000000\"> by Sebby </font> - <font color=\"#FFFFFF\">Loaded</font>"); }
public Kalista() { _q = new Spell(SpellSlot.Q, 1150f, TargetSelector.DamageType.Physical) {MinHitChance = HitChance.High}; _w = new Spell(SpellSlot.W, 5000f); _e = new Spell(SpellSlot.E, 950f); _r = new Spell(SpellSlot.R, 1500f); _q.SetSkillshot(0.35f, 40f, 2400f, true, SkillshotType.SkillshotLine); MenuProvider.Champion.Combo.AddUseQ(); MenuProvider.Champion.Combo.AddUseE(); MenuProvider.Champion.Combo.AddItem("Attack Minion For Chasing", false); MenuProvider.Champion.Harass.AddUseQ(); MenuProvider.Champion.Harass.AddIfMana(); MenuProvider.Champion.Laneclear.AddUseQ(false); MenuProvider.Champion.Laneclear.AddItem("Cast Q if Killable Minion Number >=", new Slider(3, 1, 7)); MenuProvider.Champion.Laneclear.AddUseE(); MenuProvider.Champion.Laneclear.AddItem("Cast E if Killable Minion Number >=", new Slider(2, 1, 5)); MenuProvider.Champion.Laneclear.AddIfMana(20); MenuProvider.Champion.Jungleclear.AddUseQ(); MenuProvider.Champion.Jungleclear.AddUseE(); MenuProvider.Champion.Jungleclear.AddIfMana(20); MenuProvider.Champion.Misc.AddItem("Use Killsteal (With E)", true); MenuProvider.Champion.Misc.AddItem("Use Mobsteal (With E)", true); MenuProvider.Champion.Misc.AddItem("Use Lasthit Assist (With E)", true); MenuProvider.Champion.Misc.AddItem("Use Soulbound Saver (With R)", true); MenuProvider.Champion.Misc.AddItem("Auto Balista Combo (With R)", true); MenuProvider.Champion.Misc.AddItem("Auto Steal Siege minion & Super minion (With E)", true); MenuProvider.Champion.Misc.AddItem("Auto E Harass (With E)", true); MenuProvider.Champion.Misc.AddItem("^ Don't do this in ComboMode", false); MenuProvider.Champion.Misc.AddItem("Auto E Before Die", true); MenuProvider.Champion.Misc.AddItem("Auto W on Dragon or Baron (With W)", true); MenuProvider.Champion.Misc.AddItem("Cast W on Dragon", new KeyBind('J', KeyBindType.Press)); MenuProvider.Champion.Misc.AddItem("Cast W on Baron", new KeyBind('K', KeyBindType.Press)); MenuProvider.Champion.Drawings.AddDrawQrange(Color.FromArgb(100, Color.DeepSkyBlue), true); MenuProvider.Champion.Drawings.AddDrawWrange(Color.FromArgb(100, Color.DeepSkyBlue), false); MenuProvider.Champion.Drawings.AddDrawErange(Color.FromArgb(100, Color.DeepSkyBlue), true); MenuProvider.Champion.Drawings.AddDrawRrange(Color.FromArgb(100, Color.DeepSkyBlue), true); MenuProvider.Champion.Drawings.AddItem("Draw E Damage Percent", true); MenuProvider.Champion.Drawings.AddDamageIndicator(GetComboDamage); MenuProvider.Champion.Drawings.AddDamageIndicatorForJungle(GetJungleDamage); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Orbwalking.OnNonKillableMinion += Orbwalking_OnNonKillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; _baronLocation = new Vector3(5064f, 10568f, -71f); _dragonLocation = new Vector3(9796f, 4432f, -71f); Console.WriteLine("Sharpshooter: Kalista Loaded."); Game.PrintChat( "<font color = \"#00D8FF\"><b>SharpShooter Reworked:</b></font> <font color = \"#FF007F\">Kalista</font> Loaded."); }