static Gangplank() { Init(); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 250, int.MaxValue, 325); R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 250, int.MaxValue, 600); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); //HarassMenu = MenuIni.AddSubMenu("Harass"); JungleClearMenu = MenuIni.AddSubMenu("JungleClear"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); DrawMenu = MenuIni.AddSubMenu("Drawings"); SpellList.Add(Q); SpellList.Add(E); SpellList.Add(R); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); if (i != R) { //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); //HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); JungleClearMenu.AddSeparator(0); DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot); if (i != E) { //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); } } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); }); AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs"); AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions"); AutoMenu.CreateKeyBind("EQMOUSE", "E > Q To Mouse", false, KeyBind.BindTypes.HoldActive, 'S'); ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6); KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12); LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q"); LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10); LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10); DrawMenu.CreateCheckBox("Barrels", "Enable Barrels Drawings"); Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
static JungleClear() { JungleClearMenu.AddGroupLabel("JungleClear"); _useQ = JungleClearMenu.Add("jungleClearUseQ", new CheckBox("Use Q")); _useQmana = JungleClearMenu.Add("jungleClearUseQmana", new Slider("Mana %")); JungleClearMenu.AddSeparator(10); _useW = JungleClearMenu.Add("jungleClearUseW", new CheckBox("Use W")); _useWmana = JungleClearMenu.Add("jungleClearUseWmana", new Slider("Mana %")); JungleClearMenu.AddSeparator(10); _spellWeaving = JungleClearMenu.Add("jungleClearSpellWeaving", new CheckBox("Use SpellWeaving")); }
static Sion() { Q = new Spell.Skillshot(SpellSlot.Q, 740, SkillShotType.Linear, 250, int.MaxValue, 200, DamageType.Physical) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Active(SpellSlot.W, 500); E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Linear, 250, 1250, 70) { AllowedCollisionCount = -1 }; R = new Spell.Skillshot(SpellSlot.R, 850, SkillShotType.Linear, 250, 950, 300) { AllowedCollisionCount = -1 }; SpellList.Add(Q); SpellList.Add(E); SpellList.Add(R); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); HarassMenu = MenuIni.AddSubMenu("Harass"); JungleClearMenu = MenuIni.AddSubMenu("JungleClear"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); DrawMenu = MenuIni.AddSubMenu("Drawings"); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); if (i != R) { HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hits {0}", 3, 1, 20); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); JungleClearMenu.AddSeparator(0); KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); } DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot); }); Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Spellbook.OnStopCast += Spellbook_OnStopCast; }
static JungleClear() { JungleClearMenu.AddGroupLabel("JungleClear"); _useQ = JungleClearMenu.Add("useQ", new CheckBox("Use Q")); JungleClearMenu.AddSeparator(10); _useQmode = JungleClearMenu.Add("useQmode", new ComboBox("Q Mode:", 2, "Always", "After Attack", "Only killable")); _useQmana = JungleClearMenu.Add("useQmana", new Slider("If Mana % > {0}", 0, 0, 100)); JungleClearMenu.AddSeparator(20); _useE = JungleClearMenu.Add("useE", new CheckBox("Use E")); JungleClearMenu.AddSeparator(10); _useEmode = JungleClearMenu.Add("useEmode", new ComboBox("E Mode:", 1, "Always", "Only with Ghouls")); _useEmana = JungleClearMenu.Add("useEmana", new Slider("If Mana % > {0}", 0, 0, 100)); }
static JungleClear() { JungleClearMenu.AddGroupLabel("JungleClear"); _useQ = JungleClearMenu.Add("useQ", new CheckBox("Use Q")); JungleClearMenu.AddSeparator(20); _useQmana = JungleClearMenu.Add("useQmana", new Slider("If Mana % > {0}", 0, 0, 100)); JungleClearMenu.AddSeparator(50); _useW = JungleClearMenu.Add("useW", new CheckBox("Use W")); JungleClearMenu.AddSeparator(20); _useWtentacles = JungleClearMenu.Add("useWtentacles", new CheckBox("Only with Tentacles in Range")); JungleClearMenu.AddSeparator(20); _useWmode = JungleClearMenu.Add("useWmode", new ComboBox("W Mode:", 0, "Always", "Afterattack")); JungleClearMenu.AddSeparator(20); _useWmana = JungleClearMenu.Add("useWmana", new Slider("If Mana % > {0}", 0, 0, 100)); }
public static void Initialize() { HomeMenu = Menu.AddMenu("[T2IN1-REBORN] " + Globals.MyHero.ChampionName); /* Combo Section */ ComboMenu = HomeMenu.AddSubMenu("> COMBO"); ComboMenu.AddSeparator("-Combo Settings-"); ComboMenu.Add(new MenuCheckbox("UseQ", "Use Q in Combo", true)); ComboMenu.Add(new MenuCheckbox("UseE", "Use E in Combo", true)); ComboMenu.Add(new MenuCheckbox("UseR", "Use R in Combo", true)); ComboMenu.AddSeparator("-Extra Options-"); ComboMenu.Add(new MenuCheckbox("UseTiamat", "Use Tiamat for AA Cancel", true)); ComboMenu.Add(new MenuCheckbox("UseHydra", "Use Hydra for AA Cancel", true)); ComboMenu.Add(new MenuSlider("MinEnemiesHitableR", "Min Enemys Hitable to use R", 1, 5, 1)); /* JungleClear Section */ JungleClearMenu = HomeMenu.AddSubMenu("> JUNGLE CLEAR"); JungleClearMenu.AddSeparator("-Spells-"); JungleClearMenu.Add(new MenuCheckbox("UseQ", "Use Q", true)); JungleClearMenu.Add(new MenuCheckbox("UseW", "Use W", true)); JungleClearMenu.Add(new MenuCheckbox("UseE", "Use E", true)); JungleClearMenu.AddSeparator("-Mana Options-"); JungleClearMenu.Add(new MenuCheckbox("UseTiamat", "Use Tiamat for AA Cancel", false)); JungleClearMenu.Add(new MenuCheckbox("UseHydra", "Use Hydra for AA Cancel", false)); JungleClearMenu.Add(new MenuSlider("MaxMana", "Min Mana Percent to use Spells", 0, 100, 45)); /* LaneClear Section */ LaneClearMenu = HomeMenu.AddSubMenu("> LANE CLEAR"); LaneClearMenu.AddSeparator("-Spells-"); LaneClearMenu.Add(new MenuCheckbox("UseQ", "Use Q", true)); LaneClearMenu.Add(new MenuCheckbox("UseW", "Use W", true)); LaneClearMenu.Add(new MenuCheckbox("UseE", "Use E", true)); LaneClearMenu.AddSeparator("-Extra Options-"); LaneClearMenu.Add(new MenuSlider("MinMinionsW", "Min Hitable Minions to use W", 1, 5, 1)); LaneClearMenu.Add(new MenuSlider("MinMinionsE", "Min Hitable Minions to use E", 1, 5, 1)); LaneClearMenu.Add(new MenuCheckbox("UseTiamat", "Use Tiamat for AA Cancel", false)); LaneClearMenu.Add(new MenuCheckbox("UseHydra", "Use Hydra for AA Cancel", false)); LaneClearMenu.AddSeparator("-Mana Options-"); LaneClearMenu.Add(new MenuSlider("MaxMana", "Min Mana Percent to use Spells", 0, 100, 45)); /* LastHit Section */ LastHitMenu = HomeMenu.AddSubMenu("> LAST HIT"); LastHitMenu.AddSeparator("-Spells-"); LastHitMenu.Add(new MenuCheckbox("UseQ", "Use Q", true)); LastHitMenu.Add(new MenuCheckbox("UseW", "Use W", true)); LastHitMenu.Add(new MenuCheckbox("UseE", "Use E", true)); LastHitMenu.AddSeparator("-Extra Options-"); LastHitMenu.Add(new MenuCheckbox("UseTiamat", "Use Tiamat for AA Cancel", false)); LastHitMenu.Add(new MenuCheckbox("UseHydra", "Use Hydra for AA Cancel", false)); LastHitMenu.AddSeparator("-Mana Options-"); LastHitMenu.Add(new MenuSlider("MaxMana", "Min Mana % to use Spells", 0, 100, 45)); /* Visuals Section */ VisualsMenu = HomeMenu.AddSubMenu("> VISUALS"); VisualsMenu.AddSeparator("-Drawings-"); VisualsMenu.Add(new MenuCheckbox("DrawSpellsRange", "Draw Spells Range", true)); VisualsMenu.Add(new MenuCheckbox("DrawDamage", "Draw Damage Indicator", true)); VisualsMenu.Add(new MenuCheckbox("DrawBoundingRadius", "Draw Enemy Champion Hit Radius", true)); VisualsMenu.AddSeparator("-Spell Drawing Options-"); VisualsMenu.Add(new MenuCheckbox("DrawQ", "Draw Q", true)); VisualsMenu.Add(new MenuCheckbox("DrawE", "Draw E", true)); VisualsMenu.Add(new MenuCheckbox("DrawR", "Draw R", true)); VisualsMenu.AddSeparator("-Extra Options-"); VisualsMenu.Add(new MenuCheckbox("DrawOnlyWhenReadyQ", "Draw Q only when ready", true)); VisualsMenu.Add(new MenuCheckbox("DrawOnlyWhenReadyE", "Draw E only when ready", true)); VisualsMenu.Add(new MenuCheckbox("DrawOnlyWhenReadyR", "Draw R only when ready", true)); /* Misc Section */ MiscMenu = HomeMenu.AddSubMenu("> MISC"); /* MiscMenu.AddSeparator("-Interrupt-"); * MiscMenu.Add(new MenuCheckbox("InterruptOnGapCloser", "Interrupt Enemy GapCloser with Stun", true)); * MiscMenu.Add(new MenuCheckbox("InterruptPassive", "Use Passive to Interrupt Enemy")); * MiscMenu.Add(new MenuCheckbox("InterruptR", "Use R to Interrupt Enemy")); TODO: IMPLEMENT */ MiscMenu.AddSeparator("-Auto Leveler-"); MiscMenu.Add(new MenuCheckbox("AutoLevel", "Enable Auto Leveler")); MiscMenu.Add(new MenuCombo("AutoLevelFirstFocus", "1 Spell to Focus", new[] { "Q", "W", "E" }, 0)); MiscMenu.Add(new MenuCombo("AutoLevelSecondFocus", "2 Spell to Focus", new[] { "Q", "W", "E" }, 1)); MiscMenu.Add(new MenuCombo("AutoLevelThirdFocus", "3 Spell to Focus", new[] { "Q", "W", "E" }, 2)); MiscMenu.Add(new MenuSlider("AutoLevelDelaySlider", "Delay Slider", 200, 150, 500)); Logger.Log(">> Executed", ConsoleColor.Green); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Corki addon"); ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Gatling Gun (E) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Valkyrie (W) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Missile Barrage (R) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("Minimum stacks to use R", 0, 0, 7)); ComboMenu.AddSeparator(1); ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Allow collision on minions", false)); ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Corki addon"); HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Gatling Gun (E) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Missile Barrage (R) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1)); HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 0, 7)); HarassMenu.AddSeparator(1); HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Allow collision on minions")); HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Min minions killed to use Q", 2, 1, 6)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Gatling Gun (E) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Missile Barrage (R) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 6, 0, 7)); LaneClearMenu.AddSeparator(1); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.RAllowCollision", new CheckBox("Allow collision on minions")); LaneClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions."); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon"); JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Gatling Gun (E) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Missile Barrage (R) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 5, 0, 7)); JungleClearMenu.AddSeparator(1); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Allow collision on minions")); JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions."); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Corki addon"); MiscMenu.AddLabel("Auto harass settings : "); MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled", new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Use big bomb", false)); MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 0, 7)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Auto harass enabled for : "); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString())); } DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator on enemy HP bars")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
static Gangplank() { Init(); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 325); R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 500, int.MaxValue, 600); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Otomatik"); ComboMenu = MenuIni.AddSubMenu("Kombo"); //HarassMenu = MenuIni.AddSubMenu("Dürtme"); JungleClearMenu = MenuIni.AddSubMenu("OrmanTemizleme"); LaneClearMenu = MenuIni.AddSubMenu("LaneTemizleme"); KillStealMenu = MenuIni.AddSubMenu("KillÇal"); DrawMenu = MenuIni.AddSubMenu("Göstergeler"); SpellList.Add(Q); SpellList.Add(E); SpellList.Add(R); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); if (i != R) { //HarassMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); //HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Kullan " + i.Slot); JungleClearMenu.AddSeparator(0); DrawMenu.CreateCheckBox(i.Slot, "Göster " + i.Slot); if (i != E) { //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Yardımcısı {0}%", 60); } } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillÇal"); }); MenuIni.AddGroupLabel("W ile Arındırma için Activator Kontrol Et > Qss"); //AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs"); AutoMenu.CreateCheckBox("AutoQ", "Varillere Otomatik Q", false); AutoMenu.CreateCheckBox("Qunk", "Ölmeyecek Minyona Q"); AutoMenu.CreateKeyBind("EQMOUSE", "E > Q Fareye Doğru", false, KeyBind.BindTypes.HoldActive, 'S'); ComboMenu.CreateCheckBox("FB", "Önce Varil Yerleştir"); ComboMenu.CreateSlider("RAOE", "R alanı için düşman sayısı {0}", 3, 1, 6); KillStealMenu.CreateCheckBox("RSwitch", "Hasar Yükseltmeyi Otomatik Kullan"); KillStealMenu.CreateSlider("Rdmg", "R hasarını çoğalt X{0}", 3, 1, 12); LaneClearMenu.CreateCheckBox("QLH", "Q ile Son vuruş"); LaneClearMenu.CreateSlider("EKill", "E için ölecek minyon Sayısı {0}", 2, 0, 10); LaneClearMenu.CreateSlider("EHits", "E kaç Minyona Çarpması gerekir {0}", 3, 0, 10); DrawMenu.CreateCheckBox("Barrels", "Varil Göstergeleri Aktif"); Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; }
static Xerath() { Scryb = new Item((int)ItemId.Farsight_Alteration, 3500f); Q = new Spell.Chargeable(SpellSlot.Q, 750, 1500, 1500, 500, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Skillshot(SpellSlot.W, 1100, SkillShotType.Circular, 250, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear, 250, 1600, 70) { AllowedCollisionCount = 0 }; R = new Spell.Skillshot(SpellSlot.R, 3200, SkillShotType.Circular, 500, int.MaxValue, 120) { AllowedCollisionCount = int.MaxValue }; SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Xerath", "Xerath"); RMenu = Menuini.AddSubMenu("R Settings"); ComboMenu = Menuini.AddSubMenu("Combo Settings"); ComboMenu.AddGroupLabel("Combo Settings"); HarassMenu = Menuini.AddSubMenu("Harass Settings"); HarassMenu.AddGroupLabel("Harass Settings"); LaneClearMenu = Menuini.AddSubMenu("LaneClear Settings"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); KillStealMenu = Menuini.AddSubMenu("Stealer"); KillStealMenu.AddGroupLabel("Stealer Settings"); MiscMenu = Menuini.AddSubMenu("Misc Settings"); DrawMenu = Menuini.AddSubMenu("Drawings Settings"); ColorMenu = Menuini.AddSubMenu("Color Picker"); foreach (var spell in SpellList) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); Menuini.AddSeparator(0); } RMenu.AddGroupLabel("R Settings"); RMenu.Add("R", new CheckBox("Use R")); RMenu.Add("scrybR", new CheckBox("Use Scrybing Orb while Ulting")); RMenu.Add("Rmode", new ComboBox("R Mode", 0, "Auto", "Custom Delays", "On Tap")); RMenu.Add("Rtap", new KeyBind("R Tap Key", false, KeyBind.BindTypes.HoldActive, 'S')); RMenu.AddGroupLabel("R Custom Delays"); for (var i = 1; i <= 5; i++) { RMenu.Add("delay" + i, new Slider("Delay " + i, 0, 0, 1500)); } RMenu.Add("Rblock", new CheckBox("Block Commands While Casting R")); RMenu.Add("Rnear", new CheckBox("Focus Targets Near Mouse Only")); RMenu.Add("Mradius", new Slider("Mouse Radius", 750, 300, 1500)); HarassMenu.Add("toggle", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'H')); foreach (var spell in SpellList.Where(s => s != R)) { ComboMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% > [{0}%]")); HarassMenu.AddSeparator(0); LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mode", new ComboBox(spell.Slot + " Mode", 0, "LaneClear", "LastHit", "Both")); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% > [{0}%]")); LaneClearMenu.AddSeparator(0); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% > [{0}%]")); JungleClearMenu.AddSeparator(0); KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot)); KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot)); KillStealMenu.AddSeparator(0); } MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gap", new CheckBox("E Anti-GapCloser")); MiscMenu.Add("int", new CheckBox("E Interrupter")); MiscMenu.Add("Danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low")); MiscMenu.Add("flee", new KeyBind("Escape with E", false, KeyBind.BindTypes.HoldActive, 'A')); MiscMenu.Add("Notifications", new CheckBox("Use Notifications")); MiscMenu.Add("autoECC", new CheckBox("Auto E On CC enemy")); MiscMenu.Add("scrybebuy", new CheckBox("Auto Scrybing Orb Buy")); MiscMenu.Add("scrybebuylevel", new Slider("Buy Orb at level [{0}]", 9, 1, 18)); foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); } DrawMenu.Add("Rmini", new CheckBox("Draw R Range (MiniMap)", false)); DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); foreach (var spell in SpellList) { ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", Color.Chartreuse)); } Drawing.OnEndScene += Drawing_OnEndScene; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Player.OnIssueOrder += Player_OnIssueOrder; GameObject.OnCreate += GameObject_OnCreate; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("库奇 连招 设置"); ComboMenu.AddLabel("Q设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("最小成数使用R", 1, 1, 7)); ComboMenu.AddSeparator(1); ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("允许R的敌人", false)); ComboMenu.AddLabel("允许R的敌人 适用于敌人的小兵."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("库奇 骚扰 设置"); HarassMenu.AddLabel("Q设置 :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("E设置 :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("R设置 :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1)); HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7)); HarassMenu.AddSeparator(1); HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("允许R的敌人")); HarassMenu.AddLabel("允许R的敌人 适用于敌人的小兵."); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("库奇 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线")); var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("最少杀死使用Q", 2, 1, 6)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Gatling Gun (E) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Missile Barrage (R) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("最小成数使用R", 6, 1, 7)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("最少R到小兵", 3, 1, 4)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("库奇 打野 设置"); JungleClearMenu.AddLabel("Q设置 :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Gatling Gun (E) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Missile Barrage (R) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("最小成数使用R", 5, 1, 7)); JungleClearMenu.AddSeparator(1); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("允许R的敌人")); JungleClearMenu.AddLabel("允许R的敌人也适用于敌人 小兵 野怪."); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("库奇 其他 设置"); MiscMenu.AddLabel("自动 骚扰 设置: "); MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled", new KeyBind("自动骚扰热键", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("适用大炸弹", false)); MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("最小成数使用R", 3, 1, 7)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("自动骚扰开启 : "); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString())); } DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator on enemy HP bars")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
static Viktor() { Q = new Spell.Targeted(SpellSlot.Q, 670); W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Circular, 500, int.MaxValue, 250) { AllowedCollisionCount = int.MaxValue }; E = new Spell.Skillshot(SpellSlot.E, 1225, SkillShotType.Linear, 250, int.MaxValue, 100) { AllowedCollisionCount = int.MaxValue }; R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, int.MaxValue, 450) { AllowedCollisionCount = int.MaxValue }; SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); HarassMenu = MenuIni.AddSubMenu("Harass"); JungleClearMenu = MenuIni.AddSubMenu("JungleClear"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); DrawMenu = MenuIni.AddSubMenu("Drawings"); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); if (i != R && i != W) { HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); JungleClearMenu.AddSeparator(0); } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot); }); AutoMenu.Add("Wmode", new ComboBox("GapCloser W Mode", 1, "Place On Self", "Place On Enemy")); AutoMenu.CreateCheckBox("GapW", "Auto W Anti-GapCloser"); AutoMenu.CreateCheckBox("IntW", "Auto W Interrupter"); AutoMenu.CreateCheckBox("IntR", "Auto R Interrupter"); AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions"); ComboMenu.CreateSlider("RAOE", "R AoE Hit Count {0}", 2, 1, 6); ComboMenu.CreateSlider("RMulti", "Mutilply R Damage By X{0} Times", 3, 1, 10); LaneClearMenu.CreateSlider("Ehits", "E Hit Count {0}", 3, 1, 20); Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Twitch addon"); ComboMenu.AddLabel("Ambush (Q) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Kullan Q")); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("Kullan Q oldurdukten sonra")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Venom Cask (W) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Kullan W")); ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("R aktif degilse W kullanma")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Contaminate (E) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Kullan E")); var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E kullanma mode", 0, "can azalt", "yuk varken", "sadece oldurme")); ComboMenu.AddSeparator(10); ComboMenu.AddLabel("Percentage : Uses E only if it will deal desired percentage of enemy current health.\nAt stacks : Uses E only if desired amount of stack are reached on enemy.\nOnly to killsteal : " + "Uses E only to execute enemies."); ComboMenu.AddSeparator(10); var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks", new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30)); switch (mode.CurrentValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; break; case 2: percentage.IsVisible = false; break; } mode.OnValueChange += (a, b) => { switch (b.NewValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; percentage.IsVisible = true; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; percentage.IsVisible = true; break; case 2: percentage.IsVisible = false; break; } }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Rat-Ta-Tat-Tat (R) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Kullan R")); ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("Su kadar sampiyona deyicekse {0} R kullan", 3, 1, 5)); ComboMenu.AddSeparator(5); ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("Hedef menzilden cikinca R kullan", false)); ComboMenu.AddLabel("Uses R if target is killabe, but he is not inside basic attack range, and R won't be up in next 2 secs."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Twitch addon"); HarassMenu.AddLabel("Venom Cask (W) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Kullan W", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Contaminate (E) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Kullan E", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("Sadece 2 sampiyona deyicekse kullan", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 80, 1)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("Gereken en az yuk E", 6, 1, 6)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Twitch addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Dusman yoksa lane temizleme aktif")); var scanRange = LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman sayisi", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Venom Cask (W) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Kullan W", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Contaminate (E) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Kullan E", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 80, 1)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("En az kac miyona E", 4, 1, 7)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Twitch addon"); JungleClearMenu.AddLabel("Venom Cask (W) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Kullan W", false)); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Contaminate (E) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Kullan E")); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 30, 1)); JungleClearMenu.AddLabel("Uses E only on big monsters and buffs"); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Twitch addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("Enable steath recall")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Twitch addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Venom Cask (W) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Goster W menzili", false)); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", new CheckBox("Renk sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Contaminate (E) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Goster E menzili")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Rat-Ta-Tat-Tat (R) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Goster R menzili")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator", new CheckBox("Dusmana verilicek hasari goster", false)).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Twitch addon"); ComboMenu.AddLabel("Ambush (Q) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("Use Q after kill")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Venom Cask (W) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("Don't use W if R is active")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Contaminate (E) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E")); var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E usage mode", 0, "Percentage", "At stacks", "Only to killsteal")); ComboMenu.AddSeparator(10); ComboMenu.AddLabel("Percentage : Uses E only if it will deal desired percentage of enemy current health.\nAt stacks : Uses E only if desired amount of stack are reached on enemy.\nOnly to killsteal : " + "Uses E only to execute enemies."); ComboMenu.AddSeparator(10); var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks", new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30)); switch (mode.CurrentValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; break; case 2: percentage.IsVisible = false; break; } mode.OnValueChange += (a, b) => { switch (b.NewValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; percentage.IsVisible = true; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; percentage.IsVisible = true; break; case 2: percentage.IsVisible = false; break; } }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Rat-Ta-Tat-Tat (R) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("Use R if gonna hit {0} enemies", 3, 1, 5)); ComboMenu.AddSeparator(5); ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("Use R if target is out of range", false)); ComboMenu.AddLabel("Uses R if target is killabe, but he is not inside basic attack range, and R won't be up in next 2 secs."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Twitch addon"); HarassMenu.AddLabel("Venom Cask (W) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Contaminate (E) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("Only if will hit 2 or more enemies", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 80, 1)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("Min stacks to use E", 6, 1, 6)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Twitch addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Venom Cask (W) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Contaminate (E) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 80, 1)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("Min minions hit to use E", 4, 1, 7)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Twitch addon"); JungleClearMenu.AddLabel("Venom Cask (W) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false)); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Contaminate (E) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E")); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 30, 1)); JungleClearMenu.AddLabel("Uses E only on big monsters and buffs"); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Twitch addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("Enable steath recall")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Twitch addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Venom Cask (W) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Contaminate (E) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Rat-Ta-Tat-Tat (R) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator on enemy HP bars", false)).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Twitch")) { return; } Chat.Print("Twitch7 Loaded!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 1550, 275); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Active(SpellSlot.E, 1200); R = new Spell.Active(SpellSlot.R); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Youmuu = new Item(3142, 10); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Menu = MainMenu.AddMenu("Twitch7", "Twitch"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]")); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.AddGroupLabel("Combo [E] Settings"); ComboMenu.Add("ComboE", new CheckBox("Spell [E]")); ComboMenu.Add("MinEC", new Slider("Min Stacks Use [E]", 5, 0, 6)); ComboMenu.AddGroupLabel("Combo [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { ComboMenu.Add("combo" + target.ChampionName, new CheckBox("" + target.ChampionName)); } ComboMenu.AddSeparator(); ComboMenu.Add("ComboR", new CheckBox("Spell [R]")); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassW", new CheckBox("Use [W]", false)); HarassMenu.Add("HarassQ", new CheckBox("Use [Q]", false)); HarassMenu.Add("HminQ", new Slider("Min Enemies Use [Q]", 2, 0, 5)); HarassMenu.AddGroupLabel("Harass [E] Settings"); HarassMenu.Add("HarassE", new CheckBox("Use [E]")); HarassMenu.Add("HminE", new Slider("Min Stacks Use [E]", 5, 0, 6)); HarassMenu.AddGroupLabel("Harass [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName)); } HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ELH", new CheckBox("Only Use [E] LastHit", false)); LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 40)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 30)); JungleClearMenu.AddGroupLabel("[E] Settings"); JungleClearMenu.Add("EDragon", new CheckBox("Use [E] Ks")); JungleClearMenu.AddSeparator(); JungleClearMenu.Add("jungleSRU_Baron", new CheckBox("Baron")); JungleClearMenu.Add("jungleSRU_Dragon_Elder", new CheckBox("Elder Dragon")); JungleClearMenu.Add("jungleSRU_Dragon_Air", new CheckBox("Air Dragon")); JungleClearMenu.Add("jungleSRU_Dragon_Earth", new CheckBox("Fire Dragon")); JungleClearMenu.Add("jungleSRU_Dragon_Fire", new CheckBox("Earth Dragon")); JungleClearMenu.Add("jungleSRU_Dragon_Water", new CheckBox("Water Dragon")); JungleClearMenu.Add("jungleSRU_Red", new CheckBox("Red")); JungleClearMenu.Add("jungleSRU_Blue", new CheckBox("Blue")); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddGroupLabel("Misc Settings"); Misc.Add("AntiGap", new CheckBox("Use [W] AntiGapcloser")); Misc.Add("FleeQ", new CheckBox("Use [Q] Flee")); Misc.Add("FleeW", new CheckBox("Use [W] Flee")); Misc.AddGroupLabel("Use [E] Enemy Out Range"); Misc.Add("ERanh", new CheckBox("Use [E] If Enemy Escape", false)); Misc.Add("ERanhs", new Slider("Min Stacks Use [E]", 6, 1, 6)); Misc.AddGroupLabel("Skin Changer"); Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false)); Misc.Add("skin.Id", new ComboBox("Skin Mode", 7, "Default", "1", "2", "3", "4", "5", "6", "7")); Misc.AddGroupLabel("Draw Settings"); Misc.Add("DrawW", new CheckBox("[W] Range")); Misc.Add("DrawE", new CheckBox("[E] Range")); Misc.Add("Damage", new CheckBox("Damage Indicator")); Items = Menu.AddSubMenu("Items Settings", "Items"); Items.AddGroupLabel("Items Settings"); Items.Add("you", new CheckBox("Use [Youmuu]")); Items.Add("BOTRK", new CheckBox("Use [Botrk]")); Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); Items.AddGroupLabel("Qss Settings"); Items.Add("Qss", new CheckBox("Use Qss")); Items.AddGroupLabel("Qss On CC"); Items.Add("stun", new CheckBox("Stuns")); Items.Add("rot", new CheckBox("Root")); Items.Add("tunt", new CheckBox("Taunt")); Items.Add("snare", new CheckBox("Snare")); Items.Add("charm", new CheckBox("Charm", false)); Items.Add("slow", new CheckBox("Slows", false)); Items.Add("blind", new CheckBox("Blinds", false)); Items.Add("fear", new CheckBox("Fear", false)); Items.Add("silence", new CheckBox("Silence", false)); Items.Add("supperss", new CheckBox("Supperss", false)); Items.Add("poly", new CheckBox("Polymorph", false)); Items.Add("delay", new Slider("Humanizer Qss Delay", 0, 0, 1500)); Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Damage; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Twitch")) { return; } Chat.Print("Twitch7 Loaded!", Color.GreenYellow); Chat.Print("Doctor7", Color.Yellow); Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q); W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 250, 1550, 275); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Active(SpellSlot.E, 1200); R = new Spell.Active(SpellSlot.R); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Youmuu = new Item(3142, 10); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Menu = MainMenu.AddMenu("Twitch7", "Twitch"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]")); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.AddGroupLabel("Combo [E] Settings"); ComboMenu.Add("ComboE", new CheckBox("Spell [E]")); ComboMenu.Add("MinEC", new Slider("Min Stacks Use [E]", 5, 0, 6)); ComboMenu.AddGroupLabel("Combo [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { ComboMenu.Add("combo" + target.ChampionName, new CheckBox("" + target.ChampionName)); } ComboMenu.AddSeparator(); ComboMenu.Add("ComboR", new CheckBox("Spell [R]")); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassW", new CheckBox("Use [W]")); HarassMenu.Add("HarassQ", new CheckBox("Use [Q]", false)); HarassMenu.Add("HminQ", new Slider("Min Enemies Use [Q]", 2, 0, 5)); HarassMenu.AddGroupLabel("Harass [E] Settings"); HarassMenu.Add("HarassE", new CheckBox("Use [E]")); HarassMenu.Add("HminE", new Slider("Min Stacks Use [E]", 5, 0, 6)); HarassMenu.AddGroupLabel("Harass [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName)); } HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false)); LaneClearMenu.Add("ELH", new CheckBox("Only Use [E] LastHit", false)); LaneClearMenu.Add("mineLC", new Slider("Min Stacks Use [E]", 4, 0, 6)); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 40)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("EJungle", new CheckBox("Use [E]")); JungleClearMenu.Add("mineJ", new Slider("Min Stacks Use [E]", 6, 0, 6)); JungleClearMenu.AddSeparator(); JungleClearMenu.Add("WJungle", new CheckBox("Use [W]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 30)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddGroupLabel("Misc Settings"); Misc.Add("AntiGap", new CheckBox("Use [W] AntiGapcloser")); Misc.Add("FleeQ", new CheckBox("Use [Q] Flee")); Misc.Add("FleeW", new CheckBox("Use [W] Flee")); Misc.AddGroupLabel("Skin Changer"); Misc.Add("checkSkin", new CheckBox("Use Skin Changer")); Misc.Add("skin.Id", new ComboBox("Skin Mode", 7, "Default", "1", "2", "3", "4", "5", "6", "7")); Misc.AddGroupLabel("Draw Settings"); Misc.Add("DrawW", new CheckBox("[W] Range")); Misc.Add("DrawE", new CheckBox("[E] Range")); Misc.Add("Damage", new CheckBox("Damage Indicator")); Items = Menu.AddSubMenu("Items Settings", "Items"); Items.AddGroupLabel("Items Settings"); Items.Add("you", new CheckBox("Use [Youmuu]")); Items.Add("BOTRK", new CheckBox("Use [Botrk]")); Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Damage; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Corki addon"); ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Kullan Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Gatling Gun (E) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Kullan E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Valkyrie (W) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Kullan W", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Missile Barrage (R) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Kullan R")); ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("R kullanmak icin en az R sayisi", 1, 1, 7)); ComboMenu.AddSeparator(1); ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Minyonlara carpmaya izin ver", false)); ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Corki addon"); HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Kullan Q")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("En az mana ({0}%) Q icin", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Gatling Gun (E) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Kullan E")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("En az mana ({0}%) E icin", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Missile Barrage (R) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Kullan R")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1)); HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("En az stack R icin", 3, 1, 7)); HarassMenu.AddSeparator(1); HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Minyonlara carpmasina izin ver")); HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Yakinda dusman yoksa koridor temizle")); var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman miktarı", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Kullan Q")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Q ile kesilicek en az minyon sayisi", 2, 1, 6)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("En az mana ({0}%) Q icin", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Gatling Gun (E) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Kullan E", false)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("En az mana ({0}%) E icin", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Missile Barrage (R) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Kullan R")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 6, 1, 7)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("R en az kac minyona carpsin", 3, 1, 4)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon"); JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Kullan Q")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Gatling Gun (E) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Kullan E", false)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Missile Barrage (R) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Kullan R")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 5, 1, 7)); JungleClearMenu.AddSeparator(1); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Minyonlara carpmasina izin ver")); JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions."); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Corki addon"); MiscMenu.AddLabel("Auto harass settings : "); MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled", new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Kullan buyuk bomba", false)); MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 3, 1, 7)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Auto harass enabled for : "); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString())); } DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Goster Q Mesafesi")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Goster W Mesafesi", false)); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Goster R Mesafesi")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator", new CheckBox("Dusman caninda verilicek hasari goster")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
static Kalista() { Edmg = new Text(string.Empty, new Font("Tahoma", 9, FontStyle.Bold)) { Color = System.Drawing.Color.White }; Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2100, 60) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Skillshot(SpellSlot.W, 5000, SkillShotType.Circular, 250, 2100, 80); E = new Spell.Active(SpellSlot.E, 1000); R = new Spell.Active(SpellSlot.R, 1100); SpellList.Add(Q); SpellList.Add(E); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); HarassMenu = MenuIni.AddSubMenu("Harass"); JungleClearMenu = MenuIni.AddSubMenu("JungleClear"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); DrawMenu = MenuIni.AddSubMenu("Drawings"); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); JungleClearMenu.AddSeparator(0); KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot); }); //AutoMenu.CreateCheckBox("exploit", "Enable Kalista Exploit (WILL BAN YOU)", false); AutoMenu.CreateCheckBox("AutoR", "Auto R"); AutoMenu.CreateCheckBox("EDeath", "E Before Death"); AutoMenu.CreateCheckBox("AutoEJungle", "Auto Steal Jungle Camps (E)"); AutoMenu.CreateCheckBox("AutoEBig", "Auto Use E Big Minions"); AutoMenu.CreateCheckBox("AutoEUnKillable", "Auto Use E On UnKillable Minions"); AutoMenu.CreateCheckBox("AutoE", "Auto Use E if no modes active"); AutoMenu.CreateSlider("AutoEcount", "{0} Min Stacks to Auto E", 5, 1, 25); ComboMenu.CreateSlider("EKillCount", "Use E To Kill {0}+ Enemies Only", 1, 1, 6); HarassMenu.CreateCheckBox("Emin", "E Kill Minion For Harass"); HarassMenu.CreateSlider("Estacks", "{0} Stacks to Use E", 5, 1, 25); LaneClearMenu.CreateSlider("Qhits", "Q Hit Count {0}", 3, 1, 15); LaneClearMenu.CreateSlider("Ekills", "E Kill Count {0}", 2, 1, 10); JungleClearMenu.CreateCheckBox("Esmall", "E Kill Small Mobs"); KillStealMenu.CreateCheckBox("ETransfer", "Stacks Transfer Killsteal (Q > E)"); DrawMenu.CreateCheckBox("EDMG", "Draw E Damage"); Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Spellbook.OnCastSpell += Spellbook_OnCastSpell; Events.OnIncomingDamage += Events_OnIncomingDamage; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; //Obj_AI_Base.OnBuffGain += Obj_AI_Base_OnBuffGain; }
static Syndra() { Init(); dmg = new Text(string.Empty, new Font("Tahoma", 9, FontStyle.Bold)) { Color = Color.White }; Q = new Spell.Skillshot(SpellSlot.Q, 810, SkillShotType.Circular, 600, int.MaxValue, 125) { AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical }; W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 350, 1500, 140) { AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical }; E = new Spell.Skillshot(SpellSlot.E, 680, SkillShotType.Cone, 250, 2500, 50) { AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical }; R = new Spell.Targeted(SpellSlot.R, 680, DamageType.Magical); Eball = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 250, 2400, 40) { AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical }; SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(Eball); SpellList.Add(R); MenuIni = MainMenu.AddMenu(MenuName, MenuName); AutoMenu = MenuIni.AddSubMenu("Auto"); ComboMenu = MenuIni.AddSubMenu("Combo"); HarassMenu = MenuIni.AddSubMenu("Harass"); JungleClearMenu = MenuIni.AddSubMenu("JungleClear"); LaneClearMenu = MenuIni.AddSubMenu("LaneClear"); KillStealMenu = MenuIni.AddSubMenu("KillSteal"); DrawMenu = MenuIni.AddSubMenu("Drawings"); UltMenu = MenuIni.AddSubMenu("R BlackList"); SpellList.ForEach( i => { ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i.Slot != SpellSlot.E); if (i != R) { HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E); HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); HarassMenu.AddSeparator(0); LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E); LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hit {0} Minions", 3, 1, 20); LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); LaneClearMenu.AddSeparator(0); JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E); JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60); JungleClearMenu.AddSeparator(0); } KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal"); DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot); }); AutoMenu.CreateCheckBox("QEgap", "Auto QE Anti-Gapcloser"); AutoMenu.CreateCheckBox("QEint", "Auto QE Interrupter"); AutoMenu.CreateCheckBox("Egap", "Auto E Anti-Gapcloser"); AutoMenu.CreateCheckBox("Eint", "Auto E Interrupter"); AutoMenu.CreateCheckBox("Wunk", "Auto W Unkillable Minions"); AutoMenu.CreateCheckBox("fleeE", "Flee E"); AutoMenu.CreateKeyBind("QEkey", "QE To Mouse", false, KeyBind.BindTypes.HoldActive); ComboMenu.CreateCheckBox("QE", "Use QE"); ComboMenu.CreateCheckBox("Eball", "Use E on Balls"); HarassMenu.CreateCheckBox("QE", "Use QE"); HarassMenu.CreateCheckBox("Eball", "Use E on Balls"); HarassMenu.CreateKeyBind("auto", "Auto Harass", false, KeyBind.BindTypes.PressToggle); KillStealMenu.CreateCheckBox("QE", "QE KillSteal"); DrawMenu.CreateCheckBox("dmg", "Draw Combo Damage"); DrawMenu.CreateCheckBox("balls", "Draw Balls"); UltMenu.AddGroupLabel("Targets To Not Use R On:"); foreach (var enemy in EntityManager.Heroes.Enemies) { UltMenu.CreateCheckBox(enemy.Name(), "Dont Ult " + enemy.Name(), false); } MenuList.Add(HarassMenu); MenuList.Add(LaneClearMenu); MenuList.Add(JungleClearMenu); Spellbook.OnCastSpell += Spellbook_OnCastSpell; Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; }
public static void Init() { /* Main */ TwitchMenu = MainMenu.AddMenu("kTwitch2", "kTwitch2"); TwitchMenu.AddGroupLabel("kTwitch2"); TwitchMenu.AddSeparator(); TwitchMenu.AddLabel("Made by Kk2"); /* Combo */ ComboMenu = TwitchMenu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Options"); ComboMenu.AddSeparator(); ComboMenu.Add("comboW", new CheckBox("Use W on Combo")); ComboMenu.Add("comboE", new CheckBox("Use E on Combo (Only when Killable)")); ComboMenu.Add("comboR", new CheckBox("Use R on Combo")); ComboMenu.Add("comboMinR", new Slider("Min Enemies to R", 1, 1, 5)); /* Harass */ HarassMenu = TwitchMenu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Options"); HarassMenu.AddSeparator(); HarassMenu.Add("harassW", new CheckBox("Use W on Harass")); HarassMenu.Add("harassE", new CheckBox("Use E on Harass")); HarassModeSlider = HarassMenu.Add("hMode", new Slider("Use E Only: ", 0, 0, 1)); HarassModeSlider.OnValueChange += delegate { HarassModeSlider.DisplayName = "Use E Only: " + hModes[HarassModeSlider.CurrentValue]; }; HarassModeSlider.DisplayName = "Use E Only: " + hModes[HarassModeSlider.CurrentValue]; HarassMenu.AddSeparator(); HarassMenu.Add("harassMana", new Slider("Min Mana %> to Harass", 20)); /* LaneClear */ LaneClearMenu = TwitchMenu.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Options"); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("luseW", new CheckBox("Use W on LaneClear")); LaneClearMenu.Add("luseE", new CheckBox("Use E on LaneClear")); LaneClearMenu.Add("lminE", new Slider("Min Minions to Kill to use E", 2, 1, 5)); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("lMana", new Slider("Min Mana %> to LaneClear", 20)); /* JungleClear */ JungleClearMenu = TwitchMenu.AddSubMenu("JungleClear", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Options"); JungleClearMenu.AddSeparator(); JungleClearMenu.Add("juseW", new CheckBox("Use W on JungleClear")); JungleClearMenu.Add("juseE", new CheckBox("use E on JungleClear")); JungleClearMenu.Add("jMana", new Slider("Min Mana %> to JungleClear")); /* Items */ ItemsMenu = TwitchMenu.AddSubMenu("Items", "Items"); ItemsMenu.AddGroupLabel("Items Menu"); ItemsMenu.AddSeparator(); ItemsMenu.Add("usePOT", new CheckBox("Use Potions")); ItemsMenu.Add("useYoumu", new CheckBox("Use Youmuus Ghostblade")); ItemsMenu.AddSeparator(); ItemsMenu.Add("useBTRK", new CheckBox("Use Blade of the Ruined King")); ItemsMenu.Add("myHP", new Slider("My HP <% to Use BTRK", 80)); ItemsMenu.Add("enemyHP", new Slider("Enemy HP <% to Use BTRK", 80)); /* Draws */ DrawingsMenu = TwitchMenu.AddSubMenu("Drawings", "Drawings"); DrawingsMenu.AddGroupLabel("Drawings Options"); DrawingsMenu.AddSeparator(); DrawingsMenu.Add("drawW", new CheckBox("Draw W Range")); DrawingsMenu.Add("drawR", new CheckBox("Draw R Range")); DrawingsMenu.AddSeparator(); DrawingsMenu.Add("drawTimer", new CheckBox("Draw Remaining Time of Q")); DrawingsMenu.Add("drawE", new CheckBox("Draw E Damage on Enemy HPBAR")); /* Misc */ MiscMenu = TwitchMenu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc Options"); MiscMenu.AddSeparator(); MiscMenu.Add("stealM", new CheckBox("Steal Jungle/Dragon/Baron with E")); MiscMenu.AddSeparator(); SkinHackSlider = MiscMenu.Add("skinHack", new Slider("Choose your Skin [number]", 0, 0, 7)); SkinHackSlider.OnValueChange += delegate { _Player.SetSkinId(SkinHackSlider.CurrentValue); }; _Player.SetSkinId(SkinHackSlider.CurrentValue); }