public static void Initialize(Champion champ) { s_Champion = champ; s_Flash = ObjectManager.Player.GetSpellSlot("summonerflash"); Menu condemn = new Menu("Condemn Settings", "SAutoCarry.Helpers.Condemn.Root"); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.AntiGapCloser", "Use Condemn to Gapclosers").SetValue(false)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Interrupter", "Use Condemn to Interrupt spells").SetValue(false)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn", "Q->E when possible").SetTooltip("if this option enabled, assembly will try to do tumble and condemn (this option may drop fps while E is up)").SetValue(true)).ValueChanged += (s, ar) => { condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnSafe").Show(ar.GetNewValue<bool>()); condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnCount").Show(ar.GetNewValue<bool>()); }; condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnCount", "Q->E Position Check Count").SetValue(new Slider(12, 2, 12)).SetTooltip("the bigger count is more fps drop")).Show(condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn").GetValue<bool>()); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnSafe", "Only Q->E when tumble position is safe").SetValue(false)).Show(condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn").GetValue<bool>()); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.FlashCondemn", "Condemn->Flash selected target").SetValue(new KeyBind('T', KeyBindType.Press))); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.DontCondemnTurret", "Dont Condemn Under Turret").SetTooltip("if this option enabled, enemy wont condemned under his allied tower").SetValue(true)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.PushDistance", "Push Distance").SetValue(new Slider(400, 300, 470))); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Accuracy", "Accuracy").SetValue(new Slider(12, 2, 12))).SetTooltip("the bigger count is more fps drop"); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Draw", "Draw").SetValue(true)); Menu whitelist = new Menu("Whitelist", "SAutoCarry.Helpers.Condemn.WhiteList"); foreach(var enemy in HeroManager.Enemies) whitelist.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.WhiteList" + enemy.ChampionName, "Condemn " + enemy.ChampionName).SetValue(true)); condemn.AddSubMenu(whitelist); s_Champion.ConfigMenu.AddSubMenu(condemn); AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(SCommon.PluginBase.Champion champ) { s_Champion = champ; s_Flash = ObjectManager.Player.GetSpellSlot("summonerflash"); Menu condemn = new Menu("Condemn Settings", "SAutoCarry.Helpers.Condemn.Root"); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.AntiGapCloser", "Use Condemn to Gapclosers").SetValue(false)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Interrupter", "Use Condemn to Interrupt spells").SetValue(false)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Jungle", "Condemn Jungle Minions").SetValue(true)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn", "Q->E when possible").SetTooltip("if this option enabled, assembly will try to do tumble and condemn (this option may drop fps while E is up)").SetValue(true)).ValueChanged += (s, ar) => { condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnSafe").Show(ar.GetNewValue <bool>()); condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnCount").Show(ar.GetNewValue <bool>()); }; condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnCount", "Q->E Position Check Count").SetValue(new Slider(12, 2, 12)).SetTooltip("the bigger count is more fps drop")).Show(condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn").GetValue <bool>()); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemnSafe", "Only Q->E when tumble position is safe").SetValue(false)).Show(condemn.Item("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn").GetValue <bool>()); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.FlashCondemn", "Condemn->Flash selected target").SetValue(new KeyBind('T', KeyBindType.Press))); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.DontCondemnTurret", "Dont Condemn Under Turret").SetTooltip("if this option enabled, enemy wont condemned under his allied tower").SetValue(true)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.PushDistance", "Push Distance").SetValue(new Slider(400, 300, 470))); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Accuracy", "Accuracy").SetValue(new Slider(12, 2, 12))).SetTooltip("the bigger count is more fps drop"); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Draw", "Draw").SetValue(true)); Menu whitelist = new Menu("Whitelist", "SAutoCarry.Helpers.Condemn.WhiteList"); foreach (var enemy in HeroManager.Enemies) { whitelist.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.WhiteList" + enemy.ChampionName, "Condemn " + enemy.ChampionName).SetValue(true)); } condemn.AddSubMenu(whitelist); s_Champion.ConfigMenu.AddSubMenu(condemn); AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(Champion champ) { s_Champion = champ; s_WorkQueue = new ConcurrentQueue<Tuple<Command, Tuple<Obj_AI_Hero, Vector2>>>(); Position = ObjectManager.Player.ServerPosition; Game.OnUpdate += Game_OnUpdate; Obj_AI_Hero.OnCreate += Obj_AI_Hero_OnCreate; Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast; }
public static void Initialize(SCommon.PluginBase.Champion champ) { s_Champion = champ; s_WorkQueue = new ConcurrentQueue <Tuple <Command, Tuple <AIHeroClient, Vector2> > >(); Position = ObjectManager.Player.ServerPosition; Game.OnUpdate += Game_OnUpdate; AIHeroClient.OnCreate += AIHeroClient_OnCreate; AIHeroClient.OnSpellCast += AIHeroClient_OnProcessSpellCast; }
public static void Initialize(SCommon.PluginBase.Champion champ) { s_Champion = champ; s_Soldiers = new List <GameObject>(); m = MainMenu.AddMenu("SoldierMgr", "SAutoCarry.Helpers.SoldierMgr.Root"); m.Add("SAutoCarry.Helpers.SoldierMgr.Root.DrawRanges", new CheckBox("Draw Soldier Range")); AIHeroClient.OnCreate += AIHeroClient_OnCreate; AIHeroClient.OnPlayAnimation += AIHeroClient_OnPlayAnimation; AIHeroClient.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast; Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(Champion champ) { s_Champion = champ; s_Soldiers = new List<GameObject>(); Menu m = new Menu("SoldierMgr", "SAutoCarry.Helpers.SoldierMgr.Root"); m.AddItem(new MenuItem("SAutoCarry.Helpers.SoldierMgr.Root.DrawRanges", "Draw Soldier Ranges").SetValue(new Circle(true, System.Drawing.Color.Yellow))); s_Champion.ConfigMenu.AddSubMenu(m); Obj_AI_Base.OnCreate += Obj_AI_Base_OnCreate; Obj_AI_Base.OnPlayAnimation += Obj_AI_Base_OnPlayAnimation; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(SCommon.PluginBase.Champion champ) { s_Champion = champ; s_Soldiers = new List <GameObject>(); Menu m = new Menu("SoldierMgr", "SAutoCarry.Helpers.SoldierMgr.Root"); m.AddItem(new MenuItem("SAutoCarry.Helpers.SoldierMgr.Root.DrawRanges", "Draw Soldier Ranges").SetValue(new Circle(true, System.Drawing.Color.Yellow))); s_Champion.ConfigMenu.AddSubMenu(m); Obj_AI_Base.OnCreate += Obj_AI_Base_OnCreate; Obj_AI_Base.OnPlayAnimation += Obj_AI_Base_OnPlayAnimation; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnProcessSpellCast; Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(Champion champ) { s_Champion = champ; Menu tumble = new Menu("Tumble Settings", "SAutoCarry.Helpers.Tumble.Root"); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Mode", "Mode").SetValue(new StringList(new[] { "Auto Pos", "Cursor Pos" }, 1))); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Wall", "Always Tumble to wall if possible").SetTooltip("Tumbles to wall when possible (fastest Q->AA burst)").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Only2W", "Tumble only when enemy has 2 w stacks").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Only2WHarass", "Tumble only when enemy has 2 w stacks in harass mode").SetValue(true)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.DontQIntoEnemy", "Dont Q Into Enemies").SetTooltip("if this option enabled, assembly wont go in AA range with Tumble").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.DontSafeCheck", "Dont check tumble position is safe").SetTooltip("if this option enabled, assembly never checks if the tumble position is safe").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.WallTumble", "Wall Tumble").SetValue(new KeyBind('Y', KeyBindType.Press))); s_Champion.ConfigMenu.AddSubMenu(tumble); s_Rnd = new Random(); Game.OnUpdate += Game_OnUpdate; }
public static void Initialize(SCommon.PluginBase.Champion champ) { s_Champion = champ; Menu tumble = new Menu("Tumble Settings", "SAutoCarry.Helpers.Tumble.Root"); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Mode", "Mode").SetValue(new StringList(new[] { "Auto Pos", "Cursor Pos" }, 1))); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Wall", "Always Tumble to wall if possible").SetTooltip("Tumbles to wall when possible (fastest Q->AA burst)").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Only2W", "Tumble only when enemy has 2 w stacks").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.Only2WHarass", "Tumble only when enemy has 2 w stacks in harass mode").SetValue(true)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.DontQIntoEnemy", "Dont Q Into Enemies").SetTooltip("if this option enabled, assembly wont go in AA range with Tumble").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.DontSafeCheck", "Dont check tumble position is safe").SetTooltip("if this option enabled, assembly never checks if the tumble position is safe").SetValue(false)); tumble.AddItem(new MenuItem("SAutoCarry.Helpers.Tumble.Root.WallTumble", "Wall Tumble").SetValue(new KeyBind('Y', KeyBindType.Press))); s_Champion.ConfigMenu.AddSubMenu(tumble); s_Rnd = new Random(); Game.OnUpdate += Game_OnUpdate; }
public static void Initialize(Champion champ) { s_Champion = champ; s_Flash = ObjectManager.Player.GetSpellSlot("summonerflash"); Menu condemn = new Menu("Condemn Settings", "SAutoCarry.Helpers.Condemn.Root"); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.AntiGapCloser", "Use Condemn to Gapclosers").SetValue(false)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Interrupter", "Use Condemn to Interrupt spells").SetValue(false)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.TumbleCondemn", "Q->E when possible").SetValue(true)); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.FlashCondemn", "Condemn->Flash selected target").SetValue(new KeyBind('T', KeyBindType.Press))); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.PushDistance", "Push Distance").SetValue(new Slider(400, 300, 470))); condemn.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.Root.Draw", "Draw").SetValue(true)); Menu whitelist = new Menu("Whitelist", "SAutoCarry.Helpers.Condemn.WhiteList"); foreach(var enemy in HeroManager.Enemies) whitelist.AddItem(new MenuItem("SAutoCarry.Helpers.Condemn.WhiteList" + enemy.ChampionName, "Condemn " + enemy.ChampionName).SetValue(true)); condemn.AddSubMenu(whitelist); s_Champion.ConfigMenu.AddSubMenu(condemn); AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(SCommon.PluginBase.Champion champ) { s_Champion = champ; Game.OnUpdate += Game_OnUpdate; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnProcessSpellCast; }
public static void Initialize(Champion champ) { s_Champion = champ; Game.OnUpdate += Game_OnUpdate; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; }