public static void Load() { menuIni = MainMenu.AddMenu("Ekko", "Ekko"); menuIni.AddGroupLabel("Welcome to the Worst Ekko addon!"); UltMenu = menuIni.AddSubMenu("Ultimate"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("Rsave", new CheckBox("Use R Saver", false)); UltMenu.Add("Rsaveh", new Slider("R Saver Health", 15, 0, 100)); UltMenu.Add("RAoe", new CheckBox("Auto R AoE")); UltMenu.Add("RAoeh", new Slider("R AoE Hit", 3, 1, 5)); UltMenu.Add("REscape", new CheckBox("R Escape")); UltMenu.Add("REscapeh", new Slider("R Escape On Health", 10, 1, 100)); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W No Prediction", false)); ComboMenu.Add("Wpred", new CheckBox("Use W With Prediction")); ComboMenu.Add("Whit", new Slider("W On Hit X Enemies", 1, 1, 5)); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("Emode", new ComboBox("E Mode", 0, "To Target", "To Mouse")); ComboMenu.Add("Rk", new CheckBox("Use R On Killable")); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("Rhit", new Slider("Use R Hit", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("W", new CheckBox("Use W", false)); HarassMenu.Add("E", new CheckBox("Use E")); LaneMenu = menuIni.AddSubMenu("Lane Clear"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("Q", new CheckBox("Use Q")); LaneMenu.Add("E", new CheckBox("Use E")); JungleMenu = menuIni.AddSubMenu("Jungle Clear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("Q", new CheckBox("Use Q")); JungleMenu.Add("E", new CheckBox("Use E")); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("Qstacks", new CheckBox("Auto Q On Enemy with 2 Stacks")); ManaMenu = menuIni.AddSubMenu("Mana Manager"); ManaMenu.AddGroupLabel("Harass"); ManaMenu.Add("harassmana", new Slider("Harass Mana %", 75, 0, 100)); ManaMenu.AddGroupLabel("Lane Clear"); ManaMenu.Add("lanemana", new Slider("Lane Clear Mana %", 60, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); DrawMenu.Add("debug", new CheckBox("debug", false)); }
public static void Load() { // Combo ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo")); KillStealSummoner = ComboMenu.Add(new MenuBool("KillStealSummoner", "KillSteal Ignite", true)); // QCollision = ComboMenu.Add(new MenuBool("QCollision", "Ignore Q Collision", true)); // Lane LaneMenu = MainMenu.Add(new Menu("LaneMenu", "Lane")); LaneR = LaneMenu.Add(new MenuBool("LaneR", "Use R")); LaneQ = LaneMenu.Add(new MenuBool("LaneQ", "Last Hit Q AA", true)); LaneMana = LaneMenu.Add(new MenuSliderButton("LaneMana", "Mana Slider", 50, 0, 100, true)); JungleMenu = MainMenu.Add(new Menu("JungleMenu", "Jungle")); JungleR = JungleMenu.Add(new MenuBool("JungleR", "Use R")); // Misc MiscMenu = MainMenu.Add(new Menu("MiscMenu", "Misc")); // AutoQ = MiscMenu.Add(new MenuBool("AutoQ", "Auto Stack", true)); UseItems = MiscMenu.Add(new MenuBool("UseItems", "Use Items", true)); // Draw DrawMenu = MainMenu.Add(new Menu("Draw", "Draw")); dind = DrawMenu.Add(new MenuBool("dind", "Damage Indicator", true)); MainMenu.Attach(); }
public static void Load() { // Combo ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo")); ComboW = ComboMenu.Add(new MenuBool("ComboW", "Use W", true)); ComboE = ComboMenu.Add(new MenuBool("ComboE", "Use E", true)); UseYoumuu = ComboMenu.Add(new MenuBool("UseYoumuu", "Use Youmuu", true)); UseBotrk = ComboMenu.Add(new MenuBool("UseBotrk", "Use Blade Of The Ruined King", true)); // Harass HarassMenu = MainMenu.Add(new Menu("HarassMenu", "Harass")); HarassW = HarassMenu.Add(new MenuBool("HarassW", "Use W")); HarassE = HarassMenu.Add(new MenuSliderButton("HarassE", "E At Max E Range", 4, 0, 6, true)); // Lane LaneMenu = MainMenu.Add(new Menu("LaneMenu", "Lane")); LaneW = LaneMenu.Add(new MenuBool("LaneW", "Use W", true)); // Jungle JungleMenu = MainMenu.Add(new Menu("JungleMenu", "Jungle")); JungleW = JungleMenu.Add(new MenuBool("JungleW", "Use W", true)); JungleE = JungleMenu.Add(new MenuBool("JungleE", "Use E", true)); // Misc MiscMenu = MainMenu.Add(new Menu("MiscMenu", "Misc")); EBeforeDeath = MiscMenu.Add(new MenuBool("EBeforeDeath", "Use E Before Death", true)); StealEpic = MiscMenu.Add(new MenuBool("StealEpic", "Steal Herald, Baron & Dragons", true)); StealRed = MiscMenu.Add(new MenuBool("StealRed", "Steal Redbuff", true)); QRecall = MiscMenu.Add(new MenuKeyBind("QRecall", "Q Recall", Keys.B, KeyBindType.Press)); // Drawings DrawMenu = MainMenu.Add(new Menu("DrawMenu", "Drawings")); DrawDmg = DrawMenu.Add(new MenuBool("DrawDmg", "Damage Indicator", true)); DrawTimer = DrawMenu.Add(new MenuBool("DrawTimer", "Q Timer", true)); DrawKillable = DrawMenu.Add(new MenuBool("DrawKillable", "Killable By Passive", true)); // Killsteal KillstealMenu = MainMenu.Add(new Menu("KillstealMenu", "Killsteal")); KillstealE = KillstealMenu.Add(new MenuBool("KillstealE", "Killsecure E", true)); KillstealIgnite = KillstealMenu.Add(new MenuBool("KillstealIgnite", "Killsecure Ignite", true)); // Trinket TrinketMenu = MainMenu.Add(new Menu("TrinketMenu", "Trinket")); BuyTrinket = TrinketMenu.Add(new MenuBool("BuyTrinket", "Buy Trinket")); TrinketList = TrinketMenu.Add(new MenuList <string>("TrinketList", "Choose Trinket", new[] { "Oracle Alternation", "Farsight Alternation" })); // Skin SkinMenu = MainMenu.Add(new Menu("SkinMenu", "Skinchanger")); UseSkin = SkinMenu.Add(new MenuBool("UseSkin", "Use Skinchanger")); SkinList = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Kingping Twitch", "Whistler Village Twitch", "Medieval Twitch", "Gangster Twitch", "Vandal Twitch", "Pickpocket Twitch", "SSW Twitch" })); Debug = MainMenu.Add(new MenuBool("Debug", "Debug Mode")); MainMenu.Attach(); }
public static void Load() { // Combo ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo")); EngageQ = ComboMenu.Add(new MenuBool("EngageQ", "Engage Q Lvl 1")); ForceR = ComboMenu.Add(new MenuBool("ForceR", "Force R", true)); RKillable = ComboMenu.Add(new MenuBool("RKillable", "R2 For Max Damage", true)); QChase = ComboMenu.Add(new MenuBool("QChase", "Q Smart Chase", true)); BurstMenu = MainMenu.Add(new Menu("Burst", "Burst")); BurstKeyBind = BurstMenu.Add(new MenuKeyBind("BurstKeyBind", "Use Burst", System.Windows.Forms.Keys.T, KeyBindType.Toggle)); FnoR = BurstMenu.Add(new MenuBool("FNoR", "Burst Without R")); Flash = BurstMenu.Add(new MenuBool("Flash", "Check Killable", true)); //BurstKey = BurstMenu.Add(new MenuKeyBind("BurstKey", "Burst Keybind", System.Windows.Forms.Keys.T, KeyBindType.Press)); // Lane LaneMenu = MainMenu.Add(new Menu("LaneMenu", "Lane")); LaneVisible = LaneMenu.Add(new MenuBool("LaneVisible", "Only If No Enemy Visible", true)); LaneQ = LaneMenu.Add(new MenuBool("LaneQ", "Use Q", true)); LaneW = LaneMenu.Add(new MenuBool("LaneW", "Use W")); LaneE = LaneMenu.Add(new MenuBool("LaneE", "Use E")); // Jungle JungleMenu = MainMenu.Add(new Menu("JungleMenu", "Jungle")); JungleQ = JungleMenu.Add(new MenuBool("JungleQ", "Use Q", true)); JungleW = JungleMenu.Add(new MenuBool("JungleW", "Use W", true)); JungleE = JungleMenu.Add(new MenuBool("JungleE", "Use E", true)); // Misc MiscMenu = MainMenu.Add(new Menu("MiscMenu", "Misc")); KeepQ = MiscMenu.Add(new MenuBool("KeepQ", "Keep Q Alive", true)); Ignite = MiscMenu.Add(new MenuBool("ignite", "Killsteal Ignite", true)); QMove = MiscMenu.Add(new MenuKeyBind("QMove", "Q to cursor", Keys.K, KeyBindType.Press)); // Draw DrawMenu = MainMenu.Add(new Menu("Draw", "Draw")); QMinionDraw = DrawMenu.Add(new MenuBool("QMinionDraw", "Minion Killable Q")); Dind = DrawMenu.Add(new MenuBool("Dind", "Damage Indicator")); DrawFlee = DrawMenu.Add(new MenuBool("DrawFlee", "Draw Flee Spots")); // HealthDmg = DrawMenu.Add(new MenuBool("HealthDmg", "Write Dmg On Target")); DrawCombo = DrawMenu.Add(new MenuBool("DrawCombo", "Draw Combo Range", true)); // Flee FleeMenu = MainMenu.Add(new Menu("Flee", "Flee")); WallFlee = FleeMenu.Add(new MenuBool("WallFlee", "WallFlee")); FleeKey = FleeMenu.Add(new MenuKeyBind("FleeKey", "Flee Key", System.Windows.Forms.Keys.A, KeyBindType.Press)); CreditsMenu = MainMenu.Add(new Menu("Version + Credits", "Credits")); CreditsMenu.Add(new MenuSeparator("Version", "Version: 6.17.1")); CreditsMenu.Add(new MenuSeparator("Credits", "Developed by Nechrito")); CreditsMenu.Add(new MenuSeparator("Credits2", "Resets by Brian")); MainMenu.Attach(); }
public static void Load() { ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo")); // Combo Main Menu MantraMode = ComboMenu.Add(new MenuList <string>("MantraMode", "R Prio", new[] { "Q", "W", "E", "Auto" })); Mantra = ComboMenu.Add(new MenuKeyBind("Mantra", "Change Prio Keybind", System.Windows.Forms.Keys.G, KeyBindType.Press)); HarassMenu = MainMenu.Add(new Menu("HarassMenu", "Harass")); HarassR = HarassMenu.Add(new MenuBool("HarassR", "Use R")); HarassQ = HarassMenu.Add(new MenuSliderButton("HarassQ", "Q Mana", 70, 0, 100, true)); HarassW = HarassMenu.Add(new MenuSliderButton("HarassW", "W Mana", 70, 0, 100, true)); HarassE = HarassMenu.Add(new MenuSliderButton("HarassE", "E Mana", 70, 0, 100, true)); LaneMenu = MainMenu.Add(new Menu("LaneMenu", "Lane")); LaneR = LaneMenu.Add(new MenuBool("LaneR", "Use R")); LaneQ = LaneMenu.Add(new MenuSliderButton("LaneQ", "Q Mana", 70, 0, 100, true)); LaneE = LaneMenu.Add(new MenuSliderButton("LaneE", "E Mana", 70, 0, 100, true)); // Items ItemsMenu = MainMenu.Add(new Menu("ItemsMenu", "Items")); UseItems = ItemsMenu.Add(new MenuBool("UseItems", "Use Items")); ItemLocket = ItemsMenu.Add(new MenuBool("ItemLocket", "Locket of the Iron Solari")); ItemProtoBelt = ItemsMenu.Add(new MenuBool("ItemProtoBelt", "ProtoBelt")); // ItemSeraph = ItemsMenu.Add(new MenuBool("ItemSeraph", "Seraph's Embrace")); ItemFrostQueen = ItemsMenu.Add(new MenuBool("ItemFrostQueen", "Frost Queen's Claim")); // Draw DrawMenu = MainMenu.Add(new Menu("DrawMenu", "Draw")); UseDrawings = DrawMenu.Add(new MenuBool("UseDrawings", "Enable Drawings", true)); Dind = DrawMenu.Add(new MenuBool("Dind", "Damage Indicator (Fps Heavy)")); QRange = DrawMenu.Add(new MenuBool("QRange", "Engage Range (Q)", true)); MantraDraw = DrawMenu.Add(new MenuBool("MantraDraw", "Draw Selected Prio", true)); // Skins SkinMenu = MainMenu.Add(new Menu("SkinChanger", "SkinChanger")); UseSkin = SkinMenu.Add(new MenuBool("UseSkin", "Use SkinChanger")); SkinChanger = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Sun Godess Karma", "Sakura Karma", "Traditional Karma", "Order Of Lotus Karma", "Warden Karma" })); TrinketMenu = MainMenu.Add(new Menu("TrinketMenu", "Trinket")); Trinket = TrinketMenu.Add(new MenuBool("Trinket", "Auto Buy Advanced Trinket")); TrinketList = TrinketMenu.Add(new MenuList <string>("TrinketList", "Choose Trinket", new[] { "Oracle Alternation", "Farsight Alternation" })); FleeKey = MainMenu.Add(new MenuKeyBind("FleeKey", "Flee", System.Windows.Forms.Keys.A, KeyBindType.Press)); MainMenu.Attach(); }
public static void Load() { Chat.Print("<font color = '#cfa9a'>Welcome to </font><font color = '#ffffff'> Worthy " + Player.Instance.ChampionName + "</font><font color = '#cfa9a'>. Addon in Beta.</font>"); Menu = MainMenu.AddMenu("Fiddlesticks", "ConFiddlesticks"); Menu.AddSeparator(); Menu.AddLabel("Addon Fiddlesticks"); DrawMenu = Menu.AddSubMenu("Draw", "DrawFiddles"); DrawMenu.Add("drawDisable", new CheckBox("Disable all Draws", true)); DrawMenu.Add("Draw Q", new CheckBox("Active Draw Q", true)); DrawMenu.Add("Draw W", new CheckBox("Active Draw W", true)); DrawMenu.Add("Draw E", new CheckBox("Active Draw E", true)); DrawMenu.Add("Draw R", new CheckBox("Active Draw R", true)); //////////////////////////////////////////////////////////////// ComboMenu = Menu.AddSubMenu("Combo", "ComboFiddles"); ComboMenu.Add("comboQ", new CheckBox("Use Q in combo", true)); ComboMenu.Add("comboW", new CheckBox("Use W in combo", true)); ComboMenu.Add("comboE", new CheckBox("Use E in combo", true)); ComboMenu.Add("comboR", new CheckBox("Use R in combo", false)); /////////////////////////////////////////////////////////////// HarassMenu = Menu.AddSubMenu("Harass", "HarassFiddles"); HarassMenu.Add("Harass Q", new CheckBox("Use Q in Harass", true)); HarassMenu.Add("Harass W", new CheckBox("Use W in Harass", false)); HarassMenu.Add("Harass E", new CheckBox("Use E In Harass", true)); HarassMenu.Add("Harass HitChance", new Slider("Min >= {0}", 25, 50, 75)); HarassMenu.Add("Min%", new Slider("Min Mana >= {0}", 25, 50, 75)); /////////////////////////////////////////////////////////////////// JungleMenu = Menu.AddSubMenu("JungleClear", "JungleFiddles"); JungleMenu.Add("Jungle Q", new CheckBox("Use Q in Jungle", false)); JungleMenu.Add("Jungle W", new CheckBox("Use W in Jungle", true)); JungleMenu.Add("Jungle E", new CheckBox("Use E in Jungle", true)); JungleMenu.Add("Min%", new Slider("Min Mana >= {0}", 25, 50, 75)); /////////////////////////////////////////////////////////////////// LaneMenu = Menu.AddSubMenu("LaneClear", "LaneFiddles"); LaneMenu.Add("Lane Q", new CheckBox("Use Q in Jungle", false)); LaneMenu.Add("Lane W", new CheckBox("Use W in Jungle", true)); LaneMenu.Add("Lane E", new CheckBox("Use E in Jungle", true)); LaneMenu.Add("Min%", new Slider("Min Mana >= {0}", 25, 50, 75)); ////////////////////////////////////////////////////////////////// Gapcloser.OnGapcloser += OnGapcloser; Interrupter.OnInterruptableSpell += OnInterruptableSpell; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }
public static void Load() { ComboMenu = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("ComboMenu", "Combo")); KillStealSummoner = ComboMenu.Add(new MenuBool("KillStealSummoner", "Killsteal Ignite", true)); TowerCheck = ComboMenu.Add(new MenuBool("TowerCheck", "No R Under Turret", true)); LaneMenu = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("LaneMenu", "Lane")); LaneQ = LaneMenu.Add(new MenuBool("LaneQ", "Last Hit Q AA", true)); DrawMenu = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("Draw", "Draw")); Dind = DrawMenu.Add(new MenuBool("dind", "Damage Indicator", true)); EngageDraw = DrawMenu.Add(new MenuBool("EngageDraw", "Draw Engage", true)); DrawR = DrawMenu.Add(new MenuBool("DrawR", "Draw R Prediction")); SkinMenu = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("SkinChanger", "SkinChanger")); UseSkin = SkinMenu.Add(new MenuBool("UseSkin", "Use SkinChanger")); SkinChanger = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Happy Elf Teemo", "Recon Teemo", "Badger Teemo", "Astronaut Teemo", "Cottontail Teemo", "Super Teemo", "Panda Teemo", "Omega Squad Teemo" })); Flee = MainMenu.Add(new MenuKeyBind("Flee", "Flee", System.Windows.Forms.Keys.A, KeyBindType.Press)); MainMenu.Attach(); }
private static void OnLoad(EventArgs args) { if (ObjectManager.Player.BaseSkinName != "Lissandra") { return; } menuIni = MainMenu.AddMenu("KappaLissandra", "KappaLissandra"); menuIni.AddGroupLabel("Welcome to the Worst Lissandra addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("LaneClear", new CheckBox("Use Lane Clear?")); menuIni.Add("JungleClear", new CheckBox("Use Jungle Clear?")); menuIni.Add("Flee", new CheckBox("Use Flee?")); menuIni.Add("Misc", new CheckBox("Use Misc?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); UltMenu = menuIni.AddSubMenu("Ultimate"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("aoeR", new CheckBox("AoE R Logic")); UltMenu.Add("RF", new CheckBox("Use R Finisher")); UltMenu.Add("RS", new CheckBox("Use R On Self")); UltMenu.Add("RE", new CheckBox("Use R On Enemy")); UltMenu.Add("hitR", new Slider("R AoE Hit >=", 2, 1, 5)); UltMenu.Add("shp", new Slider("On Self Health to use R", 15, 0, 100)); UltMenu.AddGroupLabel("Don't Use Ult On: Enemy"); foreach (var enemy in ObjectManager.Get <AIHeroClient>()) { CheckBox cb = new CheckBox(enemy.BaseSkinName) { CurrentValue = false }; if (enemy.Team != ObjectManager.Player.Team) { UltMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb); } } ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("ET", new CheckBox("Use E2 If hit target")); ComboMenu.Add("E2", new CheckBox("Always E2 Max", false)); ComboMenu.Add("ES", new CheckBox("Use E2 Safe", false)); ComboMenu.Add("EHP", new Slider("Use E2 Safe if HP <= %", 30, 0, 100)); ComboMenu.Add("ESE", new Slider("Use E2 Safe if Enemies are <=", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("W", new CheckBox("Use W")); HarassMenu.Add("E", new CheckBox("Use E", false)); HarassMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("Q", new CheckBox("Use Q")); LaneMenu.Add("W", new CheckBox("Use W")); LaneMenu.Add("E", new CheckBox("Use E", false)); LaneMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); LaneMenu.AddGroupLabel("JungleClear Settings"); LaneMenu.Add("jQ", new CheckBox("Use Q")); LaneMenu.Add("jW", new CheckBox("Use W")); LaneMenu.Add("jE", new CheckBox("Use E", false)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapcloserW", new CheckBox("Anti-GapCloser W")); MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser R")); MiscMenu.Add("Interruptr", new CheckBox("Interrupt R")); MiscMenu.Add("WTower", new CheckBox("Auto W Under Tower")); MiscMenu.Add("AutoW", new Slider("Auto W On Hit >=", 2, 1, 5)); FleeMenu = menuIni.AddSubMenu("Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("Q", new CheckBox("Use Q")); FleeMenu.Add("W", new CheckBox("Use W")); FleeMenu.Add("E", new CheckBox("Use E")); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); DrawMenu.Add("debug", new CheckBox("debug", false)); Q = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75); Q2 = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Linear, 250, 2200, 90); Qtest = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Active(SpellSlot.W, 425); E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 850, 125); R = new Spell.Targeted(SpellSlot.R, 400); Game.OnUpdate += OnUpdate; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; Drawing.OnDraw += OnDraw; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Obj_AI_Base.OnBasicAttack += OnBasicAttack; Interrupter.OnInterruptableSpell += OnInterruptableSpell; Gapcloser.OnGapcloser += OnGapcloser; }
public static void Execute() { if (player.ChampionName != ChampName) { return; } //Ability Information - Range - Variables. Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); menuIni = MainMenu.AddMenu("Olaf", "Olaf"); menuIni.AddGroupLabel("Worstun olaf addonuna hoşgeldin"); menuIni.AddGroupLabel("Genel Ayarlar"); menuIni.Add("Ult", new CheckBox("Kullan Ulti?")); menuIni.Add("Items", new CheckBox("Kullan İtmeler?")); menuIni.Add("Combo", new CheckBox("Kullan Kombo?")); menuIni.Add("Harass", new CheckBox("Kullan Dürtme?")); menuIni.Add("LaneClear", new CheckBox("Kullan LaneTemizleme?")); menuIni.Add("LastHit", new CheckBox("Kullan SonVuruş?")); menuIni.Add("JungleClear", new CheckBox("Kullan OrmanTemizleme?")); menuIni.Add("KillSteal", new CheckBox("Kullan Kill çalma?")); menuIni.Add("Misc", new CheckBox("Kullan Ek?")); menuIni.Add("Drawings", new CheckBox("Kullan Göstergeler?")); ItemsMenu = menuIni.AddSubMenu("Items"); ItemsMenu.AddGroupLabel("Item Ayarları"); ItemsMenu.Add("useGhostblade", new CheckBox("Kullan Youmu")); ItemsMenu.Add("UseBOTRK", new CheckBox("Kullan Mahvolmuş Kılıç")); ItemsMenu.Add("UseBilge", new CheckBox("Kullan Bilgewater Palası")); ItemsMenu.Add("eL", new Slider("Düşmanın canı şu kadarsa", 65, 0, 100)); ItemsMenu.Add("oL", new Slider("Benim canım şu kadarsa", 65, 0, 100)); UltMenu = menuIni.AddSubMenu("Ultimate [BETA]"); UltMenu.AddGroupLabel("Ulti Ayarları"); UltMenu.Add("UseR", new CheckBox("Kullan R")); UltMenu.AddLabel("R Kullanma Ayarları:"); UltMenu.Add("blind", new CheckBox("Körse?", false)); UltMenu.Add("charm", new CheckBox("Use On Charms?")); UltMenu.Add("disarm", new CheckBox("Silahsız haldeyse?", false)); UltMenu.Add("fear", new CheckBox("Korkmuşsa?")); UltMenu.Add("frenzy", new CheckBox("Donmuşsa?", false)); UltMenu.Add("silence", new CheckBox("Sessiz kaldıysa?", false)); UltMenu.Add("snare", new CheckBox("Yavaşlamışsa?")); UltMenu.Add("sleep", new CheckBox("Uyumuşsa?")); UltMenu.Add("stun", new CheckBox("sabitlenmişse?")); UltMenu.Add("supperss", new CheckBox("Use On Supperss?")); UltMenu.Add("slow", new CheckBox("yavaşlamışsa?", false)); UltMenu.Add("knockup", new CheckBox("Use On Knock Ups?")); UltMenu.Add("knockback", new CheckBox("Devrilmişse?")); UltMenu.Add("nearsight", new CheckBox("Yakın görüşteyse?", false)); UltMenu.Add("root", new CheckBox("Kök tutmuşsa?")); UltMenu.Add("tunt", new CheckBox("Alay ediliyorsa?")); UltMenu.Add("poly", new CheckBox("Use On Polymorph?")); UltMenu.Add("poison", new CheckBox("Zehirlenmişse?", false)); UltMenu.Add("hp", new Slider("R yi sadece şu kadar canım varken kullan %", 25, 0, 100)); UltMenu.Add("human", new Slider("insancıl gecikme", 150, 0, 1500)); UltMenu.Add("Rene", new Slider("R kullanmak için çevrede düşman s.", 1, 0, 5)); UltMenu.Add("enemydetect", new Slider("düşmanları tespit etme mesafesi", 1000, 0, 2000)); UltMenu.AddLabel("Ult logic: It will Cast if you have one of the selected debuffs, HP under selected and Nearby enemies."); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.Add("UseQ", new CheckBox("Use Q")); ComboMenu.Add("UseW", new CheckBox("Use W")); ComboMenu.Add("UseE", new CheckBox("Use E")); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("hQ", new CheckBox("Kullan Q")); HarassMenu.Add("hQ2", new CheckBox("Kısa menzilde Q2 Kullan")); HarassMenu.Add("hQA", new CheckBox("Use Auto Q", false)); HarassMenu.Add("hW", new CheckBox("Kullan W", false)); HarassMenu.Add("hE", new CheckBox("Kullan E")); HarassMenu.Add("harassmana", new Slider("Harass Mana Manager", 60, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneTemizleme Ayarları"); LaneMenu.Add("laneQ", new CheckBox("Kullan Q")); LaneMenu.Add("fE", new CheckBox("Kullan E Sonvuruş")); LaneMenu.Add("laneW", new CheckBox("Kullan W")); LaneMenu.Add("laneE", new CheckBox("Kullan E", false)); LaneMenu.Add("femana", new Slider("Can (E) yardımcısı", 75, 0, 100)); LaneMenu.Add("lanemana", new Slider("Farm mana yardımcısı", 80, 0, 100)); LaneMenu.AddGroupLabel("OrmanTemizleme Ayarları"); LaneMenu.Add("jungleQ", new CheckBox("Kullan Q")); LaneMenu.Add("jE", new CheckBox("Son vuruşta E Kullan")); LaneMenu.Add("jungleW", new CheckBox("Kullan W")); LaneMenu.Add("jungleE", new CheckBox("Kullan E", false)); LaneMenu.Add("jemana", new Slider("Can için (E) yardımcısı", 75, 0, 100)); LaneMenu.Add("junglemana", new Slider("Orman için mana", 80, 0, 100)); KillStealMenu = menuIni.AddSubMenu("Kill Steal"); KillStealMenu.AddGroupLabel("Kill Çalma Ayarları"); KillStealMenu.Add("ksQ", new CheckBox("Kill Çalma Q")); KillStealMenu.Add("ksE", new CheckBox("Kill Çalma E")); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Ek Ayarları"); MiscMenu.Add("gapcloser", new CheckBox("Use Q On GapCloser")); MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.Add("Qdraw", new CheckBox("Göster Q")); DrawMenu.Add("Edraw", new CheckBox("Göster E")); DrawMenu.Add("Rdraw", new CheckBox("Göster R Tespit Menzili")); DrawMenu.Add("AxeDraw", new CheckBox("Göster Balta pozisyonu")); Drawing.OnDraw += OnDraw; Game.OnUpdate += Game_OnGameUpdate; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; }
// Menu private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Tristana")) { return; } Chat.Print("Doctor's Tristana Loaded!", Color.Orange); Chat.Print("Mercedes7!", Color.Red); uint level = (uint)Player.Instance.Level; Q = new Spell.Active(SpellSlot.Q); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180); E = new Spell.Targeted(SpellSlot.E, 550 + level * 7); R = new Spell.Targeted(SpellSlot.R, 550 + level * 7); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Menu = MainMenu.AddMenu("Doctor's Tristana", "Tristana"); SpellMenu = Menu.AddSubMenu("Combo Settings", "Combo"); SpellMenu.AddGroupLabel("Combo Settings"); SpellMenu.Add("ComboQ", new CheckBox("Use [Q] Combo")); SpellMenu.Add("ComboE", new CheckBox("Use [E] Combo")); SpellMenu.AddGroupLabel("Combo [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { SpellMenu.Add("useECombo" + target.ChampionName, new CheckBox("" + target.ChampionName)); } SpellMenu.AddGroupLabel("KillSteal Settings"); SpellMenu.Add("ERKs", new CheckBox("KillSteal [ER]")); SpellMenu.Add("RKs", new CheckBox("Automatic [R] KillSteal")); SpellMenu.Add("RKb", new KeyBind(" Semi Manual [R] KillSteal", false, KeyBind.BindTypes.HoldActive, 'R')); SpellMenu.AddGroupLabel("[W] KillSteal Settings"); SpellMenu.Add("WKs", new CheckBox("Use [W] KillSteal", false)); SpellMenu.Add("CTurret", new CheckBox("Dont Use [W] KillSteal Under Turet")); SpellMenu.Add("Attack", new Slider("Use [W] KillSteal If Can Kill Enemy With x Attack", 2, 1, 6)); SpellMenu.Add("MinW", new Slider("Use [W] KillSteal If Enemies Around Target <=", 2, 1, 5)); SpellMenu.AddLabel("Always Use [W] KillSteal If Slider Enemies Around = 5"); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass", false)); HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass")); HarassMenu.AddSeparator(); HarassMenu.AddGroupLabel("Use [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { HarassMenu.Add("HarassE" + target.ChampionName, new CheckBox("" + target.ChampionName)); } HarassMenu.Add("manaHarass", new Slider("Min Mana For Harass", 50, 0, 100)); LaneMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneMenu.AddGroupLabel("Laneclear Settings"); LaneMenu.Add("ClearQ", new CheckBox("Use [Q] Laneclear", false)); LaneMenu.Add("ClearE", new CheckBox("Use [E] Laneclear", false)); LaneMenu.Add("manaFarm", new Slider("Min Mana For LaneClear", 50, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("jungleQ", new CheckBox("Use [Q] JungleClear")); JungleMenu.Add("jungleE", new CheckBox("Use [E] JungleClear")); JungleMenu.Add("jungleW", new CheckBox("Use [W] JungleClear", false)); JungleMenu.Add("manaJung", new Slider("Min Mana For JungleClear", 50, 0, 100)); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Anti Gapcloser", false)); Misc.Add("antiRengar", new CheckBox("Anti Rengar")); Misc.Add("antiKZ", new CheckBox("Anti Kha'Zix")); Misc.Add("inter", new CheckBox("Use [R] Interupt", false)); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false)); Misc.Add("DrawE", new CheckBox("Draw Attack Range")); Misc.Add("DrawW", new CheckBox("Draw [W]", false)); Misc.Add("Notifications", new CheckBox("Alerter Can Kill With [R]")); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interupt; GameObject.OnCreate += GameObject_OnCreate; }
private static void Game_OnGameLoad(EventArgs args) { if (Player.BaseSkinName != "Brand") { return; } menuIni = MainMenu.AddMenu("Brand", "Brand"); menuIni.AddGroupLabel("Welcome to the Worst Brand addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("Farm", new CheckBox("Use Farm?")); menuIni.Add("KillSteal", new CheckBox("Use Kill Steal?")); menuIni.Add("Misc", new CheckBox("Use Misc?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQ", new CheckBox("Use Q")); ComboMenu.Add("useW", new CheckBox("Use W")); ComboMenu.Add("useE", new CheckBox("Use E")); ComboMenu.Add("blaze", new CheckBox("Use E before Q")); ComboMenu.Add("useR", new CheckBox("Use R")); ComboMenu.Add("Rhit", new Slider("AoE R Casting", 2, 1, 5)); ComboMenu.AddLabel("Ult logic: It will prefer to Cast AoE ult over killable enemy."); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q")); HarassMenu.Add("useW", new CheckBox("Use W")); HarassMenu.Add("useE", new CheckBox("Use E")); HarassMenu.Add("mana", new Slider("Harass Mana Manager", 60, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("Farm Settings"); LaneMenu.Add("useQ", new CheckBox("Use Q", false)); LaneMenu.Add("useW", new CheckBox("Use W")); LaneMenu.Add("useE", new CheckBox("Use E")); LaneMenu.Add("mana", new Slider("Farm Mana Manager", 80, 0, 100)); KillStealMenu = menuIni.AddSubMenu("Kill Steal"); KillStealMenu.AddGroupLabel("Kill Steal Settings"); KillStealMenu.Add("ksQ", new CheckBox("Kill Steal Q")); KillStealMenu.Add("ksW", new CheckBox("Kill Steal W")); KillStealMenu.Add("ksE", new CheckBox("Kill Steal E")); KillStealMenu.Add("ksR", new CheckBox("Kill Steal R", false)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapclose", new CheckBox("Anti-GapCloser")); MiscMenu.Add("interrupt", new CheckBox("Auto Interupter")); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("drawQ", new CheckBox("Draw Q")); DrawMenu.Add("drawW", new CheckBox("Draw W")); DrawMenu.Add("drawE", new CheckBox("Draw E")); DrawMenu.Add("drawR", new CheckBox("Draw R")); DrawMenu.Add("drawDamage", new CheckBox("Draw Healthbar Damage")); DrawMenu.Add("drawKill", new CheckBox("Draw Killable")); _Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1600, 120); _W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 850, -1, 250); _W2 = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 850, -1, 125); _E = new Spell.Targeted(SpellSlot.E, 640); _R = new Spell.Targeted(SpellSlot.R, 750); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Interrupter.OnInterruptableSpell += OnInterruptableTarget; Gapcloser.OnGapcloser += OnEnemyGapcloser; }
private static void OnLoad(EventArgs args) { if (ObjectManager.Player.BaseSkinName != "Elise") { return; } Menu = MainMenu.AddMenu("Elise", "Elise"); Menu.AddGroupLabel("Elise Addon!"); ComboMenu = Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("UseQ", new CheckBox("Use Q Human")); ComboMenu.Add("UseW", new CheckBox("Use W Human")); ComboMenu.Add("UseE", new CheckBox("Use E Human")); ComboMenu.Add("UseQSpider", new CheckBox("Use Q Spider")); ComboMenu.Add("UseWSpider", new CheckBox("Use W Spider")); ComboMenu.Add("UseESpider", new CheckBox("Use E Spider")); ComboMenu.Add("UseR", new CheckBox("Switch forms")); ComboMenu.Add("forcee", new KeyBind("Force E key", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.Add("cmana", new Slider("Dont switch to human if mana under", 10, 0, 100)); HarassMenu = Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("UseQ", new CheckBox("Use Q Human")); HarassMenu.Add("UseW", new CheckBox("Use W Human")); LaneMenu = Menu.AddSubMenu("LaneClear"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("UseQ", new CheckBox("Use Q Human")); LaneMenu.Add("UseW", new CheckBox("Use W Human")); LaneMenu.Add("UseQSpider", new CheckBox("Use Spider Q")); LaneMenu.Add("UseWSpider", new CheckBox("Use Spider W")); LaneMenu.Add("UseRl", new CheckBox("Switch R")); LaneMenu.Add("lmana", new Slider("Minimum mana", 20, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("UseQ", new CheckBox("Use Q")); JungleMenu.Add("UseW", new CheckBox("Use W")); JungleMenu.Add("UseQSpider", new CheckBox("Use Spider Q")); JungleMenu.Add("UseWSpider", new CheckBox("Use Spider W")); JungleMenu.Add("useRj", new CheckBox("Switch R")); JungleMenu.Add("useRj2", new CheckBox("Switch R")); JungleMenu.Add("jmana", new Slider("Minimum mana", 20, 0, 100)); SmiteMenu = Menu.AddSubMenu("Smite", "Smite"); SmiteMenu.AddSeparator(); SmiteMenu.Add("smiteActive", new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H')); SmiteMenu.AddSeparator(); SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite")); SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite")); SmiteMenu.AddSeparator(); SmiteMenu.AddGroupLabel("Camps"); SmiteMenu.AddLabel("Epics"); SmiteMenu.Add("SRU_Baron", new CheckBox("Baron")); SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon")); SmiteMenu.AddLabel("Buffs"); SmiteMenu.Add("SRU_Blue", new CheckBox("Blue")); SmiteMenu.Add("SRU_Red", new CheckBox("Red")); SmiteMenu.AddLabel("Small Camps"); SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false)); SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false)); SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false)); SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false)); SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false)); MiscMenu = Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("autoe", new CheckBox("Auto E immobile")); MiscMenu.Add("Antigapcloser", new CheckBox("Use E - Antigapcloser")); MiscMenu.Add("Interrupter", new CheckBox("Use E - interrupter")); DrawMenu = Menu.AddSubMenu("Draw"); DrawMenu.AddGroupLabel("Draw Settings"); DrawMenu.Add("drawoff", new CheckBox("Disable drawings", false)); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("draww", new CheckBox("Draw W")); DrawMenu.Add("drawe", new CheckBox("Draw E")); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular); E = new Spell.Skillshot(SpellSlot.E, 1075, SkillShotType.Linear, 250, 1600, 80) { AllowedCollisionCount = 0 }; R = new Spell.Active(SpellSlot.R); SpiderQ = new Spell.Targeted(SpellSlot.Q, 475); SpiderW = new Spell.Active(SpellSlot.W); SpiderE = new Spell.Targeted(SpellSlot.E, 750); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += OnInterruptableSpell; Game.OnUpdate += SmiteEvent; }
public static void Game_OnGameLoad(EventArgs args) { if (myHero.ChampionName != "Quinn") { return; } quinnMenu = MainMenu.AddMenu("Quinn", "Quinn"); quinnMenu.AddGroupLabel("Quinn it to WIN it!"); ComboMenu = quinnMenu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQ", new CheckBox("Use Q")); ComboMenu.Add("UseW", new CheckBox("Use W when enemy is not visible")); ComboMenu.Add("useE", new CheckBox("Use E")); ComboMenu.Add("youmus", new CheckBox("Use Yoummu")); ComboMenu.Add("useitems", new CheckBox("Use Other Items")); ComboMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite")); ComboMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite")); HarassMenu = quinnMenu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q")); LaneMenu = quinnMenu.AddSubMenu("LaneCLear"); LaneMenu.AddGroupLabel("LaneCLear Settings"); LaneMenu.Add("UseQlc", new CheckBox("Use Q")); LaneMenu.Add("UseElc", new CheckBox("Use E")); LaneMenu.AddSeparator(); LaneMenu.Add("lccount", new Slider("Min minions for Q", 3, 1, 5)); LaneMenu.Add("lanem", new Slider("Minimum mana %", 20, 0, 100)); JungleMenu = quinnMenu.AddSubMenu("Jungleclear"); JungleMenu.AddGroupLabel("Jungleclear Settings"); JungleMenu.Add("UseQjg", new CheckBox("Use Q")); JungleMenu.Add("UseEjg", new CheckBox("Use E")); JungleMenu.Add("jgMana", new Slider("Minimum mana %", 20, 0, 100)); JungleMenu.AddSeparator(); JungleMenu.Add("smiteActive", new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H')); JungleMenu.AddSeparator(); JungleMenu.AddSeparator(); JungleMenu.AddGroupLabel("Camps"); JungleMenu.AddLabel("Epics"); JungleMenu.Add("SRU_Baron", new CheckBox("Baron")); JungleMenu.Add("SRU_Dragon", new CheckBox("Dragon")); JungleMenu.AddLabel("Buffs"); JungleMenu.Add("SRU_Blue", new CheckBox("Blue")); JungleMenu.Add("SRU_Red", new CheckBox("Red")); JungleMenu.AddLabel("Small Camps"); JungleMenu.Add("SRU_Gromp", new CheckBox("Gromp", false)); JungleMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false)); JungleMenu.Add("SRU_Krug", new CheckBox("Krug", false)); JungleMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false)); JungleMenu.Add("Sru_Crab", new CheckBox("Skuttles", false)); KSMenu = quinnMenu.AddSubMenu("Killsteal"); KSMenu.AddGroupLabel("Killsteal Settings"); KSMenu.Add("ksQ", new CheckBox("Use Q")); MiscMenu = quinnMenu.AddSubMenu("Miscellaneous"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("antiG", new CheckBox("Use E - Antigapcloser")); MiscMenu.Add("interrpt", new CheckBox("Use E - interrupter")); MiscMenu.Add("autor", new CheckBox("Use R in Base")); IgniteSlot = ObjectManager.Player.GetSpellSlotFromName("summonerdot"); Q = new Spell.Skillshot(SpellSlot.Q, 1025, SkillShotType.Linear, 0, 750, 210); W = new Spell.Skillshot(SpellSlot.W, 2100, SkillShotType.Circular, 0, 5000, 300); E = new Spell.Targeted(SpellSlot.E, (int)675f); R = new Spell.Active(SpellSlot.R, 550); Game.OnUpdate += OnUpdate; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Interrupt; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Orbwalker.OnPostAttack += AfterAA; Game.OnUpdate += SmiteEvent; }
public static void Execute() { if (player.ChampionName != "AurelionSol") { return; } Q = new Spell.Skillshot(SpellSlot.Q, (uint)650f, SkillShotType.Linear, 250, 850, 180); W = new Spell.Active(SpellSlot.W, 725); R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 1750, 180); menuIni = MainMenu.AddMenu("AurelionSol", "AurelionSol"); menuIni.AddGroupLabel("Hoşgeldin Worst AurelionSol addon!"); menuIni.AddGroupLabel("Genel Ayarlar"); menuIni.Add("Combo", new CheckBox("Kullan Combo?")); menuIni.Add("Harass", new CheckBox("Kullan Harass?")); menuIni.Add("Clear", new CheckBox("Kullan Lane Clear?")); menuIni.Add("Drawings", new CheckBox("Kullan Drawings?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.Add("Q", new CheckBox("Kullan Q")); ComboMenu.Add("Q2", new CheckBox("Follow Q")); ComboMenu.Add("W", new CheckBox("Kullan W")); ComboMenu.Add("W2", new CheckBox("Kullan W2")); ComboMenu.Add("R", new CheckBox("Kullan R")); ComboMenu.Add("Rhit", new Slider("Kullan R İsabet Sayısı", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("Q", new CheckBox("Kullan Q")); HarassMenu.Add("W", new CheckBox("Kullan W", false)); HarassMenu.Add("W2", new CheckBox("Kullan W2", false)); HarassMenu.Add("Mana", new Slider("Kullanmak için gereken mana %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Ayarları"); LaneMenu.Add("Q", new CheckBox("Göster Q")); LaneMenu.Add("W", new CheckBox("Göster W", false)); LaneMenu.Add("Mana", new Slider("Kullanmak için gereken mana %", 30, 0, 100)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Ek Ayarlar"); MiscMenu.Add("gapcloserQ", new CheckBox("Anti-GapCloser (Q)")); MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser (R)")); MiscMenu.Add("KillStealQ", new CheckBox("Killçalma (Q)")); MiscMenu.Add("KillStealR", new CheckBox("Killçalma (R)")); MiscMenu.Add("AQ", new Slider("Otomatik Q Tetikleyici kişi sayısı", 1, 1, 5)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.Add("Q", new CheckBox("Göster Q")); DrawMenu.Add("W", new CheckBox("Göster W")); DrawMenu.Add("E", new CheckBox("Göster E")); DrawMenu.Add("R", new CheckBox("Göster R")); DrawMenu.Add("QS", new CheckBox("Göster Q Boyutu")); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; }
private static void OnLoad(EventArgs args) { if (player.ChampionName != "AurelionSol") { return; } Q = new Spell.Skillshot(SpellSlot.Q, (uint)650f, SkillShotType.Linear, 250, 850, 180); W = new Spell.Active(SpellSlot.W, 725); R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 1750, 180); menuIni = MainMenu.AddMenu("AurelionSol", "AurelionSol"); menuIni.AddGroupLabel("Welcome to the Worst AurelionSol addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("Clear", new CheckBox("Use Lane Clear?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("Q2", new CheckBox("Follow Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("W2", new CheckBox("Use W2")); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("Rhit", new Slider("Use R Hit", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("W", new CheckBox("Use W", false)); HarassMenu.Add("W2", new CheckBox("Use W2", false)); HarassMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("Q", new CheckBox("Use Q")); LaneMenu.Add("W", new CheckBox("Use W", false)); LaneMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapcloserQ", new CheckBox("Anti-GapCloser (Q)")); MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser (R)")); MiscMenu.Add("KillStealQ", new CheckBox("KillSteal (Q)")); MiscMenu.Add("KillStealR", new CheckBox("KillSteal (R)")); MiscMenu.Add("AQ", new Slider("Auto Trigger Q On hit (Size inc)", 1, 1, 5)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); DrawMenu.Add("QS", new CheckBox("Draw Q Size")); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; }
// Menu private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Tristana")) { return; } Chat.Print("Doctor's Tristana Yuklendi Ceviri TekinTR!", Color.Orange); uint level = (uint)Player.Instance.Level; Q = new Spell.Active(SpellSlot.Q); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180); E = new Spell.Targeted(SpellSlot.E, 550 + level * 7); R = new Spell.Targeted(SpellSlot.R, 550 + level * 7); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Menu = MainMenu.AddMenu("Doctor's Tristana", "Tristana"); SpellMenu = Menu.AddSubMenu("Combo Settings", "Combo"); SpellMenu.AddGroupLabel("Combo Settings"); SpellMenu.Add("ComboQ", new CheckBox("Kullan [Q] Kombo")); SpellMenu.Add("ComboE", new CheckBox("Kullan [E] Kombo")); SpellMenu.AddGroupLabel("Kombo [E] Uzerinde"); foreach (var target in EntityManager.Heroes.Enemies) { SpellMenu.Add("useECombo" + target.ChampionName, new CheckBox("" + target.ChampionName)); } SpellMenu.AddGroupLabel("KillSteal Settings"); SpellMenu.Add("ERKs", new CheckBox("Oldururken [ER]")); SpellMenu.Add("RKs", new CheckBox("Otomatik [R] Oldururken")); SpellMenu.Add("RKb", new KeyBind(" Yarı otomatik [R] Oldururken", false, KeyBind.BindTypes.HoldActive, 'R')); SpellMenu.AddGroupLabel("[W] Oldurme Ayari"); SpellMenu.Add("WKs", new CheckBox("Kullan [W] KillSteal", false)); SpellMenu.Add("CTurret", new CheckBox("Kullanma [W] kule altinda oldurme")); SpellMenu.Add("Attack", new Slider("Kullan [W] oldurme eger mumkunse x atak ile", 2, 1, 6)); SpellMenu.Add("MinW", new Slider("Kullan [W] oldurme yakindaki dusman sayisi <=", 2, 1, 5)); SpellMenu.AddLabel("Surekli kullan [W] oldurme yakindaki dusman sayisi = 5"); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q] Durtme", false)); HarassMenu.Add("HarassE", new CheckBox("Kullan [E] Durtme")); HarassMenu.AddSeparator(); HarassMenu.AddGroupLabel("Kullan [E] Uzerinde"); foreach (var target in EntityManager.Heroes.Enemies) { HarassMenu.Add("HarassE" + target.ChampionName, new CheckBox("" + target.ChampionName)); } HarassMenu.Add("manaHarass", new Slider("Durtmek icin enaz mana", 50, 0, 100)); LaneMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneMenu.AddGroupLabel("Laneclear Settings"); LaneMenu.Add("ClearQ", new CheckBox("Kullan [Q] Koridortemizleme", false)); LaneMenu.Add("ClearE", new CheckBox("Kullan [E] Koridortemizleme", false)); LaneMenu.Add("manaFarm", new Slider("Koridortemizleme icin enaz mana", 50, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("jungleQ", new CheckBox("Kullan [Q] Orman")); JungleMenu.Add("jungleE", new CheckBox("Kullan [E] Orman")); JungleMenu.Add("jungleW", new CheckBox("Kullan [W] Orman", false)); JungleMenu.Add("manaJung", new Slider("Orman icin enaz mana", 50, 0, 100)); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Atilma onleyicisi", false)); Misc.Add("antiRengar", new CheckBox("Anti Rengar")); Misc.Add("antiKZ", new CheckBox("Anti Kha'Zix")); Misc.Add("inter", new CheckBox("Kullan [R] Engelleme", false)); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("Draw_Disabled", new CheckBox("Cizimleri kapat", false)); Misc.Add("DrawE", new CheckBox("Goster atak menzili")); Misc.Add("DrawW", new CheckBox("Goster [W]", false)); Misc.Add("Notifications", new CheckBox("Oldurulebilicek varsa beni uyar [R]")); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interupt; GameObject.OnCreate += GameObject_OnCreate; }
public static void Initialize() { var blitzcrank = EntityManager.Heroes.Allies.Any(x => x.ChampionName == "Blitzcrank"); //Initialize the menu Menu = MainMenu.AddMenu("S复仇之矛", "ScaryKalista"); Menu.AddGroupLabel("欢迎使用Scary Kalista 滑板鞋,由CH汉化!"); //Combo ComboMenu = Menu.AddSubMenu("连招"); { ComboMenu.Add("combo.useQ", new CheckBox("使用 Q")); ComboMenu.Add("combo.minManaQ", new Slider("最低 {0}% 蓝量使用Q", 40)); ComboMenu.Add("combo.sep1", new Separator()); ComboMenu.Add("combo.useE", new CheckBox("抢头 E")); ComboMenu.Add("combo.gapClose", new CheckBox("使用小兵/野怪造成间距")); ComboMenu.Add("combo.sep2", new Separator()); ComboMenu.Add("combo.harassEnemyE", new CheckBox("E骚扰敌人英雄当能同时杀死小兵", false)); } //Harass HarassMenu = Menu.AddSubMenu("骚扰"); { HarassMenu.Add("harass.useQ", new CheckBox("使用 Q")); HarassMenu.Add("harass.minManaQ", new Slider("最低 {0}% 蓝量使用Q", 60)); HarassMenu.Add("harass.sep1", new Separator()); HarassMenu.Add("harass.harassEnemyE", new CheckBox("E骚扰敌人英雄当能同时杀死小兵")); } //LaneClear LaneMenu = Menu.AddSubMenu("LaneClear"); { LaneMenu.Add("laneclear.useQ", new CheckBox("使用 Q")); LaneMenu.Add("laneclear.minQ", new Slider("最低 {0}% 小兵数量使用Q", 3, 2, 10)); LaneMenu.Add("laneclear.minManaQ", new Slider("最低 {0}% 蓝量使用Q", 30)); LaneMenu.Add("laneclear.sep1", new Separator()); LaneMenu.Add("laneclear.useE", new CheckBox("使用 E")); LaneMenu.Add("laneclear.minE", new Slider("最低 {0}% 小兵数量使用E", 3, 2, 10)); LaneMenu.Add("laneclear.minManaE", new Slider("最低 {0}% 蓝量使用E", 30)); LaneMenu.Add("laneclear.sep2", new Separator()); LaneMenu.Add("laneclear.harassEnemyE", new CheckBox("E骚扰敌人英雄当能同时杀死小兵")); } //JungleClear JungleMenu = Menu.AddSubMenu("清野"); { JungleMenu.Add("jungleclear.useE", new CheckBox("使用E杀死野怪")); JungleMenu.Add("jungleclear.miniE", new CheckBox("使用E杀死小野怪", false)); } //Flee FleeMenu = Menu.AddSubMenu("逃跑"); { FleeMenu.Add("flee.attack", new CheckBox("攻击 英雄/小兵/野怪")); FleeMenu.Add("flee.useJump", new CheckBox("在可跳墙点时使用Q跳墙")); } //Sentinel SentinelMenu = Menu.AddSubMenu("守卫 (W)"); { SentinelMenu.Add("sentinel.castDragon", new KeyBind("往小龙送守卫", false, KeyBind.BindTypes.HoldActive, 'U')); SentinelMenu.Add("sentinel.castBaron", new KeyBind("往先锋/男爵送守卫", false, KeyBind.BindTypes.HoldActive, 'I')); SentinelMenu.Add("sentinel.sep1", new Separator()); SentinelMenu.Add("sentinel.enable", new CheckBox("自动发送守卫", false)); SentinelMenu.Add("sentinel.noMode", new CheckBox("无模式下才使用")); SentinelMenu.Add("sentinel.alert", new CheckBox("警告(本地)当守卫受到攻击")); SentinelMenu.Add("sentinel.mana", new Slider("最低 {0}% 蓝量使用W", 40)); SentinelMenu.Add("sentinel.sep2", new Separator()); SentinelMenu.Add("sentinel.locationLabel", new Label("向以下地点发送守卫:")); (SentinelMenu.Add("sentinel.baron", new CheckBox("男爵 / 峡谷先锋"))).OnValueChange += SentinelLocationsChanged; (SentinelMenu.Add("sentinel.dragon", new CheckBox("小龙"))).OnValueChange += SentinelLocationsChanged; (SentinelMenu.Add("sentinel.mid", new CheckBox("中路草"))).OnValueChange += SentinelLocationsChanged; (SentinelMenu.Add("sentinel.blue", new CheckBox("蓝"))).OnValueChange += SentinelLocationsChanged; (SentinelMenu.Add("sentinel.red", new CheckBox("红"))).OnValueChange += SentinelLocationsChanged; Sentinel.RecalculateOpenLocations(); } //Misc MiscMenu = Menu.AddSubMenu("杂项"); { MiscMenu.Add("misc.labelSteal", new Label("偷窃: 不需要按任何按钮")); MiscMenu.Add("misc.killstealE", new CheckBox("E抢头")); MiscMenu.Add("misc.junglestealE", new CheckBox("E抢野怪")); MiscMenu.Add("misc.sep1", new Separator()); MiscMenu.Add("misc.autoE", new CheckBox("自动使用E")); MiscMenu.Add("misc.autoEHealth", new Slider("生命低于 {0}% 自动使用E", 10, 5, 25)); MiscMenu.Add("misc.sep2", new Separator()); MiscMenu.Add("misc.unkillableE", new CheckBox("对无法杀死的小兵使用E")); MiscMenu.Add("misc.sep3", new Separator()); MiscMenu.Add("misc.useR", new CheckBox("使用R拯救友军")); MiscMenu.Add("misc.healthR", new Slider("友军生命低于{0}% 使用R", 15, 5, 25)); } //Items ItemMenu = Menu.AddSubMenu("物品"); { var cutlass = Items.BilgewaterCutlass; ItemMenu.Add("item." + cutlass.ItemInfo.Name, new CheckBox("使用 " + cutlass.ItemInfo.Name)); ItemMenu.Add("item." + cutlass.ItemInfo.Name + "MyHp", new Slider("我的生命低于 {0}%", 80)); ItemMenu.Add("item." + cutlass.ItemInfo.Name + "EnemyHp", new Slider("敌方生命低于 {0}%", 80)); ItemMenu.Add("item.sep", new Separator()); var bork = Items.BladeOfTheRuinedKing; ItemMenu.Add("item." + bork.ItemInfo.Name, new CheckBox("使用 " + bork.ItemInfo.Name)); ItemMenu.Add("item." + bork.ItemInfo.Name + "MyHp", new Slider("我的生命低于 {0}%", 80)); ItemMenu.Add("item." + bork.ItemInfo.Name + "EnemyHp", new Slider("敌方生命低于 {0}%", 80)); } //Balista if (blitzcrank) { BalistaMenu = Menu.AddSubMenu("机器人与滑板鞋的合体"); { BalistaMenu.Add("balista.use", new CheckBox("使用合体")); BalistaMenu.Add("balista.sep1", new Separator()); BalistaMenu.Add("balista.comboOnly", new CheckBox("只在连招时使用合体技")); BalistaMenu.Add("balista.distance", new Slider("我与机器人间最短距离使用合体: {0}", 400, 0, 1200)); BalistaMenu.Add("balista.sep2", new Separator()); BalistaMenu.Add("balista.label", new Label("给以下敌人秀合体:")); foreach (var enemy in EntityManager.Heroes.Enemies) { BalistaMenu.Add("balista." + enemy.ChampionName, new CheckBox(enemy.ChampionName)); } } } //Drawings DrawMenu = Menu.AddSubMenu("线圈"); { DrawMenu.Add("draw.Q", new CheckBox("显示 Q 范围")); DrawMenu.Add("draw.W", new CheckBox("显示 W 范围", false)); DrawMenu.Add("draw.E", new CheckBox("显示 E 范围")); DrawMenu.Add("draw.R", new CheckBox("显示 R 范围")); DrawMenu.Add("draw.enemyE", new CheckBox("敌人血条显示E伤害")); DrawMenu.Add("draw.percentage", new CheckBox("敌人血条显示E伤害百分比")); DrawMenu.Add("draw.jungleE", new CheckBox("野怪血条显示E伤害")); DrawMenu.Add("draw.killableMinions", new CheckBox("显示E可击杀的小兵")); DrawMenu.Add("draw.stacks", new CheckBox("显示敌人E叠加数量", false)); DrawMenu.Add("draw.jumpSpots", new CheckBox("显示可跳墙点")); if (blitzcrank) { DrawMenu.Add("draw.balista", new CheckBox("显示合体技距离")); } } }
public static void Execute() { Player = ObjectManager.Player; if (Player.ChampionName != ChampionName) { return; } Q = new Spell.Skillshot(SpellSlot.Q, 925, SkillShotType.Linear, 250, 1450, 60); Q2 = new Spell.Skillshot(SpellSlot.Q, 1800, SkillShotType.Linear, 250, 1450, 60); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Targeted(SpellSlot.W, 650); E = new Spell.Targeted(SpellSlot.E, 650); R = new Spell.Targeted(SpellSlot.R, 900); IgniteSlot = Player.GetSpellSlotFromName("SummonerDot"); PixManager.DrawPix = true; menuIni = MainMenu.AddMenu(ChampionName, ChampionName); menuIni.AddGroupLabel("Welcome to the Worst Lulu addon!"); menuIni.AddGroupLabel("Genel Ayarlar"); menuIni.Add("Combo", new CheckBox("Kullan Combo?")); menuIni.Add("Harass", new CheckBox("Kullan Dürtme?")); menuIni.Add("LaneClear", new CheckBox("Kullan Lanetemizleme?")); menuIni.Add("Flee", new CheckBox("Kullan Kaçma?")); menuIni.Add("Saver", new CheckBox("Kullan Koruyucu?")); menuIni.Add("Drawings", new CheckBox("Kullan Göstergeler?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.Add("Q", new CheckBox("Kullan Q")); ComboMenu.Add("W", new CheckBox("Kullan W")); ComboMenu.Add("E", new CheckBox("Kullan E")); ComboMenu.Add("Wkite", new CheckBox("W kite ile kullan")); ComboMenu.Add("WkiteD", new Slider("W Kite Mesafesi", 300, 0, 500)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("Q", new CheckBox("Kullan Q")); HarassMenu.Add("E", new CheckBox("Kullan E")); HarassMenu.Add("harassmana", new Slider("Dürtme Mana Yardımcısı", 60, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("Lanetemizleme Ayarları"); LaneMenu.Add("Q", new CheckBox("Kullan Q")); LaneMenu.Add("E", new CheckBox("Kullan E")); LaneMenu.Add("lanemana", new Slider("Farm Mana Yardımcısı", 80, 0, 100)); LaneMenu.AddGroupLabel("Ormantemizleme Ayarları"); LaneMenu.Add("QJ", new CheckBox("Kullan Q")); LaneMenu.Add("EJ", new CheckBox("Kullan E")); FleeMenu = menuIni.AddSubMenu("Flee"); FleeMenu.AddGroupLabel("Kaçma Ayarları"); FleeMenu.Add("Q", new CheckBox("Kullan Q")); FleeMenu.Add("exQ", new CheckBox("Q ile zorla", false)); FleeMenu.Add("Wkite", new CheckBox("Kite için W kullan")); FleeMenu.Add("WkiteD", new Slider("W kite mesafesi", 300, 0, 500)); FleeMenu.Add("fleemana", new Slider("Kaçma mana yardımcısı", 60, 0, 100)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("EK Ayarlar"); MiscMenu.Add("AutoE", new CheckBox("KS E ile")); MiscMenu.Add("Support", new CheckBox("Destek Modu", false)); Saver = menuIni.AddSubMenu("Saver"); Saver.AddGroupLabel("Koruyucu Ayarları"); Saver.AddGroupLabel("Anti GapCloser"); Saver.Add("allywgapclose", new CheckBox("Dostlara W KUllan")); Saver.Add("enemywgapclose", new CheckBox("Düşmana W kullan")); Saver.Add("gapcloserR", new CheckBox("DÜşmandan kurutlmak için R Kullan")); Saver.AddGroupLabel("Interrupter"); Saver.Add("InterruptSpellsW", new CheckBox("İnterrup W")); Saver.Add("InterruptSpellsR", new CheckBox("İnterrupt R")); Saver.AddGroupLabel("Otomatik Kalkan"); Saver.Add("AutoES", new CheckBox("Otomatik E Dostlara")); Saver.Add("AutoR", new CheckBox("Otomatik R Koruyucu")); Saver.AddSeparator(); Saver.AddGroupLabel("R yi KUllan:"); foreach (var ally in ObjectManager.Get <AIHeroClient>()) { CheckBox cb = new CheckBox(ally.BaseSkinName); cb.CurrentValue = false; if (ObjectManager.Player.Team == ally.Team) { Saver.Add("DontUlt" + ally.BaseSkinName, cb); } } DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.Add("Q", new CheckBox("Göster Q")); DrawMenu.Add("PixQ", new CheckBox("Göster Pix Q Menzili")); DrawMenu.Add("W", new CheckBox("Göster W")); DrawMenu.Add("E", new CheckBox("Göster E")); DrawMenu.Add("R", new CheckBox("Göster R")); DrawMenu.Add("PixP", new CheckBox("Göster Pix Pozisyonu")); Drawing.OnDraw += OnDraw; Game.OnUpdate += Game_OnUpdate; Interrupter.OnInterruptableSpell += Interrupter2_OnInterruptableTarget; Gapcloser.OnGapcloser += OnGapClose; Orbwalker.OnPreAttack += OnBeforeAttack; Obj_AI_Base.OnBasicAttack += OnBasicAttack; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; }
private static void OnLoad(EventArgs args) { if (player.ChampionName != ChampName) { return; } //Ability Information - Range - Variables. Q = new Spell.Active(SpellSlot.Q, 375); W = new Spell.Active(SpellSlot.W, 0); E = new Spell.Targeted(SpellSlot.E, 640); R = new Spell.Active(SpellSlot.R, 375); menuIni = MainMenu.AddMenu("Wukong ", "Wukong"); menuIni.AddGroupLabel("Welcome to the Worst Wukong addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Items", new CheckBox("Use Items?")); menuIni.Add("Ultimate", new CheckBox("Use Ultimate?")); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("LaneClear", new CheckBox("Use LaneClear?")); menuIni.Add("KillSteal", new CheckBox("Use Kill Steal?")); menuIni.Add("Misc", new CheckBox("Use Misc?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); ItemsMenu = menuIni.AddSubMenu("Items"); ItemsMenu.AddGroupLabel("Items Settings"); ItemsMenu.Add("useGhostblade", new CheckBox("Use Youmuu's Ghostblade")); ItemsMenu.Add("UseBOTRK", new CheckBox("Use Blade of the Ruined King")); ItemsMenu.Add("UseBilge", new CheckBox("Use Bilgewater Cutlass")); ItemsMenu.Add("eL", new Slider("Use On Enemy health", 65, 0, 100)); ItemsMenu.Add("oL", new Slider("Use On My health", 65, 0, 100)); UltMenu = menuIni.AddSubMenu("Ultimate"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("stickR", new CheckBox("Stick to Target While R Is active", false)); UltMenu.Add("interrupt", new CheckBox("Interrupt Spells (R)")); UltMenu.Add("tower", new CheckBox("Auto R Under Tower")); UltMenu.Add("saveR", new CheckBox("Disable AA While R Active")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("UseQ", new CheckBox("Use Q")); ComboMenu.Add("UseW", new CheckBox("Use W", false)); ComboMenu.Add("UseE", new CheckBox("Use E")); ComboMenu.Add("UseR", new CheckBox("Use R")); ComboMenu.Add("Rene", new Slider("Min Enemies for R", 1, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("hQ", new CheckBox("Use Q")); HarassMenu.Add("hW", new CheckBox("Use W", false)); HarassMenu.Add("hE", new CheckBox("Use E")); HarassMenu.Add("harassmana", new Slider("Harass Mana Manager", 60, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("Farm Settings"); LaneMenu.Add("laneQ", new CheckBox("Use Q")); LaneMenu.Add("laneE", new CheckBox("Use E")); LaneMenu.Add("lanemana", new Slider("Farm Mana Manager", 80, 0, 100)); KillStealMenu = menuIni.AddSubMenu("Kill Steal"); KillStealMenu.AddGroupLabel("Kill Steal Settings"); KillStealMenu.Add("ksQ", new CheckBox("Kill Steal Q")); KillStealMenu.Add("ksE", new CheckBox("Kill Steal E")); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapcloser", new CheckBox("Use W On GapCloser")); MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Qdraw", new CheckBox("Draw Q")); DrawMenu.Add("Wdraw", new CheckBox("Draw W")); DrawMenu.Add("Edraw", new CheckBox("Draw E")); DrawMenu.Add("Rdraw", new CheckBox("Draw R")); DrawMenu.Add("DrawD", new CheckBox("Draw Damage")); Drawing.OnDraw += OnDraw; Game.OnUpdate += Game_OnGameUpdate; Spellbook.OnCastSpell += OnCastSpell; Drawing.OnEndScene += OnEndScene; Interrupter.OnInterruptableSpell += Interrupter2_OnInterruptableTarget; Gapcloser.OnGapcloser += AntiGapcloser_OnEnemyGapcloser; }
private static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.BaseSkinName != "Nautilus") { return; } foreach (var hero in ObjectManager.Get <AIHeroClient>()) { if (hero.IsEnemy) { Enemies.Add(hero); } if (hero.IsAlly) { Allies.Add(hero); } } Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, (int)0.5f, (int?)1900f, 90); Q.AllowedCollisionCount = 0; W = new Spell.Active(SpellSlot.W); E = new Spell.Active(SpellSlot.E, 300); R = new Spell.Targeted(SpellSlot.R, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange); nautmenu = MainMenu.AddMenu("Nautilus", "Nautilus"); nautmenu.AddGroupLabel("Nautilus!"); PredictionMenu = nautmenu.AddSubMenu("Prediction", "prediction"); StringList(PredictionMenu, "Qpred", "Q Prediction", new[] { "Low", "Medium", "High", "Very High" }, 3); ComboMenu = nautmenu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ts", new CheckBox("Use EB TargetSelector")); ComboMenu.Add("ts1", new CheckBox("Only one target", false)); ComboMenu.Add("minGrab", new Slider("Min range grab", 250, 125, (int)Q.Range)); ComboMenu.Add("maxGrab", new Slider("Max range grab", (int)Q.Range, 125, (int)Q.Range)); ComboMenu.AddLabel("Grab:"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { ComboMenu.Add("grab" + enemy.ChampionName, new CheckBox(enemy.ChampionName)); } ComboMenu.AddSeparator(); ComboMenu.Add("useW", new CheckBox("Use W")); ComboMenu.Add("useE", new CheckBox("Use E")); ComboMenu.Add("useR", new CheckBox("Use R")); ComboMenu.AddGroupLabel("Don't Use Ult On: Enemy"); foreach (var enemy in ObjectManager.Get <AIHeroClient>()) { CheckBox cb = new CheckBox(enemy.BaseSkinName) { CurrentValue = false }; if (enemy.Team != ObjectManager.Player.Team) { ComboMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb); } } KSMenu = nautmenu.AddSubMenu("KS"); KSMenu.AddGroupLabel("KS Settings"); KSMenu.Add("ksQ", new CheckBox("Use Q")); KSMenu.Add("ksE", new CheckBox("Use E")); LaneMenu = nautmenu.AddSubMenu("LaneCLear"); LaneMenu.AddGroupLabel("LaneCLear Settings"); LaneMenu.Add("UseWlc", new CheckBox("Use W")); LaneMenu.Add("UseElc", new CheckBox("Use E")); LaneMenu.AddSeparator(); LaneMenu.Add("lccount", new Slider("Min minions for E", 3, 1, 5)); LaneMenu.Add("lanem", new Slider("Minimum mana %", 20, 0, 100)); JungleMenu = nautmenu.AddSubMenu("Jungleclear"); JungleMenu.AddGroupLabel("Jungleclear Settings"); JungleMenu.Add("UseQjg", new CheckBox("Use Q")); JungleMenu.Add("UseWjg", new CheckBox("Use W")); JungleMenu.Add("UseEjg", new CheckBox("Use E")); JungleMenu.Add("jgMana", new Slider("Minimum mana %", 20, 0, 100)); JungleMenu.AddSeparator(); SmiteMenu = nautmenu.AddSubMenu("Smite", "Smite"); SmiteMenu.AddSeparator(); SmiteMenu.Add("smiteActive", new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H')); SmiteMenu.AddSeparator(); SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite")); SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite")); SmiteMenu.AddSeparator(); SmiteMenu.AddGroupLabel("Camps"); SmiteMenu.AddLabel("Epics"); SmiteMenu.Add("SRU_Baron", new CheckBox("Baron")); SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon")); SmiteMenu.AddLabel("Buffs"); SmiteMenu.Add("SRU_Blue", new CheckBox("Blue")); SmiteMenu.Add("SRU_Red", new CheckBox("Red")); SmiteMenu.AddLabel("Small Camps"); SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false)); SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false)); SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false)); SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false)); SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false)); FleeMenu = nautmenu.AddSubMenu("Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("fleeuseQ", new CheckBox("Use Q")); FleeMenu.Add("fleeuseW", new CheckBox("Use W")); MiscMenu = nautmenu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("antiG", new CheckBox("Use E - Antigapcloser")); MiscMenu.Add("interruptq", new CheckBox("Use Q - interrupter")); MiscMenu.Add("interruptr", new CheckBox("Use R - interrupter")); DrawMenu = nautmenu.AddSubMenu("Draw"); DrawMenu.AddGroupLabel("Draw Settings"); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Game.OnUpdate += Game_OnUpdate; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += SmiteEvent; }
private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Tristana")) { return; } Chat.Print("Bristana Loaded!", Color.GreenYellow); Chat.Print("Good Luck!", Color.GreenYellow); Bootstrap.Init(null); uint level = (uint)Player.Instance.Level; Q = new Spell.Active(SpellSlot.Q, 550); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180); E = new Spell.Targeted(SpellSlot.E, 550); R = new Spell.Targeted(SpellSlot.R, 550); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Menu = MainMenu.AddMenu("Bristana", "Bristana"); Menu.AddGroupLabel("Bristana"); Menu.AddLabel(" FEATURES "); Menu.AddLabel(" Please Select E Before Play ! "); Menu.AddLabel(" Combo Mode"); Menu.AddLabel(" Harass Mode "); Menu.AddLabel(" Drawing Mode "); Menu.AddLabel(" KillSteal Mode "); Menu.AddLabel(" LaneClear Mode"); Menu.AddLabel(" Anti Gapcloser"); Menu.AddLabel(" Flee Mode "); Menu.AddLabel(" Skin Hack "); SpellMenu = Menu.AddSubMenu("Combo Settings", "Combo"); SpellMenu.AddGroupLabel("Combo Settings"); SpellMenu.Add("ComboQ", new CheckBox("Spell [Q]")); SpellMenu.Add("ComboR", new CheckBox("Spell [R]")); SpellMenu.Add("ComboER", new CheckBox("Spell [ER]")); SpellMenu.Add("item", new CheckBox("Use [BOTRK]")); SpellMenu.AddLabel("Spell [E] on"); foreach (var enemies in EntityManager.Heroes.Enemies.Where(i => !i.IsMe)) { SpellMenu.Add("useECombo" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]", false)); HarassMenu.AddLabel("Spell [E] on"); foreach (var enemies in EntityManager.Heroes.Enemies.Where(i => !i.IsMe)) { HarassMenu.Add("HarassE" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } HarassMenu.Add("manaHarass", new Slider("Min Mana For Harass", 50, 0, 100)); LaneMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneMenu.AddGroupLabel("Laneclear Settings"); LaneMenu.Add("ClearQ", new CheckBox("Spell [Q]", false)); LaneMenu.Add("ClearE", new CheckBox("Spell [E]", false)); LaneMenu.Add("ClearTower", new CheckBox("Spell [E] Turret", false)); LaneMenu.Add("manaFarm", new Slider("Min Mana For LaneClear", 50, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("jungleQ", new CheckBox("Spell [Q]")); JungleMenu.Add("jungleE", new CheckBox("Spell [E]")); JungleMenu.Add("jungleW", new CheckBox("Spell [W]", false)); JungleMenu.Add("manaJung", new Slider("Min Mana For JungleClear", 50, 0, 100)); StealMenu = Menu.AddSubMenu("KillSteal Settings", "KS"); StealMenu.AddGroupLabel("Killsteal Settings"); StealMenu.Add("RKs", new CheckBox("Spell [R]")); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Anti Gapcloser")); Misc.Add("antiRengar", new CheckBox("Anti Rengar")); Misc.Add("antiKZ", new CheckBox("Anti Kha'Zix")); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("drawAA", new CheckBox("Draw E")); Misc.Add("drawW", new CheckBox("Draw W", false)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 0, "Classic", "Riot Tristana", "Earnest Elf Tristana", "Firefighter Tristana", "Guerilla Tristana", "Rocket Tristana", "Color Tristana", "Color Tristana", "Color Tristana", "Color Tristana", "Dragon Trainer Tristana")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; GameObject.OnCreate += GameObject_OnCreate; }
public static void Load() { menuIni = MainMenu.AddMenu("Kindred", "Kindred"); menuIni.AddGroupLabel("Welcome to the Worst Kindred addon!"); UltMenu = menuIni.AddSubMenu("Ultimate"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("Rally", new CheckBox("R Save Ally / Self")); UltMenu.Add("Rallyh", new Slider("R Ally Health %", 20, 0, 100)); UltMenu.AddGroupLabel("Don't Use Ult On: "); foreach (var ally in ObjectManager.Get <AIHeroClient>()) { CheckBox cb = new CheckBox(ally.BaseSkinName) { CurrentValue = false }; if (ally.Team == ObjectManager.Player.Team) { UltMenu.Add("DontUlt" + ally.BaseSkinName, cb); } } ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.AddGroupLabel("Extra Settings"); ComboMenu.Add("Qmode", new ComboBox("Q Mode", 0, "To Target", "To Mouse")); ComboMenu.Add("QW", new CheckBox("Only Q When W is active", false)); ComboMenu.Add("QAA", new CheckBox("Dont Q When target is in AA Range", false)); ComboMenu.Add("Emark", new CheckBox("Focus target with E mark")); ComboMenu.Add("Pmark", new CheckBox("Focus target with Passive mark")); ComboMenu.Add("Pspells", new CheckBox("Dont attack targets in ult under 15% hp", false)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("W", new CheckBox("Use W", false)); HarassMenu.Add("E", new CheckBox("Use E")); LaneMenu = menuIni.AddSubMenu("Lane Clear"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("Q", new CheckBox("Use Q")); LaneMenu.Add("W", new CheckBox("Use W", false)); LaneMenu.Add("E", new CheckBox("Use E", false)); JungleMenu = menuIni.AddSubMenu("Jungle Clear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("Q", new CheckBox("Use Q")); JungleMenu.Add("W", new CheckBox("Use W", false)); JungleMenu.Add("E", new CheckBox("Use E", false)); FleeMenu = menuIni.AddSubMenu("Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("Q", new CheckBox("Use Q")); FleeMenu.Add("Qgap", new CheckBox("Use Q On GapClosers")); ManaMenu = menuIni.AddSubMenu("Mana Manager"); ManaMenu.AddGroupLabel("Harass"); ManaMenu.Add("harassmana", new Slider("Harass Mana %", 75, 0, 100)); ManaMenu.AddGroupLabel("Lane Clear"); ManaMenu.Add("lanemana", new Slider("Lane Clear Mana %", 60, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); DrawMenu.Add("debug", new CheckBox("debug", false)); }
public static void getMenu() { /* * Main Menu */ Rengar = MainMenu.AddMenu("Rengod", "Rengod"); Rengar.AddGroupLabel("RenGOD ~.^"); Rengar.AddSeparator(); Rengar.AddLabel("" + G_name); /* * Combo Menu */ ComboMenu = Rengar.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Options"); ComboMenu.AddSeparator(); ComboMenu.Add("ComboQ", new CheckBox("Use Q on Combo")); ComboMenu.Add("ComboW", new CheckBox("Use W on Combo")); ComboMenu.Add("ComboE", new CheckBox("Use E on Combo")); ComboPrio = ComboMenu.Add("cPrio", new Slider("Prioritize: ", 0, 0, 2)); ComboPrio.OnValueChange += delegate { ComboPrio.DisplayName = "Prioritize: " + prio[ComboPrio.CurrentValue]; }; ComboPrio.DisplayName = "Prioritize: " + prio[ComboPrio.CurrentValue]; ComboKey = ComboMenu.Add("changeC", new KeyBind("Press to change Combo Prioritize", false, KeyBind.BindTypes.PressToggle, 'N')); ComboKey.OnValueChange += delegate { var x = ComboPrio.CurrentValue; if (x == 2) { ComboPrio.CurrentValue = 0; } else { ComboPrio.CurrentValue = ComboPrio.CurrentValue + 1; } }; ComboMenu.AddSeparator(); ComboMenu.Add("useIG", new CheckBox("Use Ignite on Combo")); ComboMenu.Add("useSmite", new CheckBox("Use Smite on Combo")); /* * Harass Menu */ HarassMenu = Rengar.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Options"); HarassMenu.AddSeparator(); HarassMenu.Add("HarassQ", new CheckBox("Use Q on Harass")); HarassMenu.Add("HarassW", new CheckBox("Use W on Harass")); HarassMenu.Add("HarassE", new CheckBox("Use E on Harass")); HarassPrio = HarassMenu.Add("hPrio", new Slider("Prioritize: ", 0, 0, 1)); HarassPrio.OnValueChange += delegate { HarassPrio.DisplayName = "Prioritize: " + prio[HarassPrio.CurrentValue]; }; HarassPrio.DisplayName = "Prioritize: " + prio[HarassPrio.CurrentValue]; /* * LaneClear Menu */ LaneMenu = Rengar.AddSubMenu("LaneClear", "LaneClear"); LaneMenu.AddGroupLabel("LaneClear Options"); LaneMenu.AddSeparator(); LaneMenu.Add("LaneQ", new CheckBox("Use Q on LaneClear")); LaneMenu.Add("LaneW", new CheckBox("Use W on LaneClear")); LaneMenu.Add("LaneE", new CheckBox("Use E on LaneClear")); /* * JungleClear Menu */ JungleMenu = Rengar.AddSubMenu("Jungle", "Jungle"); JungleMenu.AddGroupLabel("Jungle Options"); JungleMenu.AddSeparator(); JungleMenu.Add("JungleQ", new CheckBox("Use Q on Jungle")); JungleMenu.Add("JungleW", new CheckBox("Use W on Jungle")); JungleMenu.Add("JungleE", new CheckBox("Use E on Jungle")); /* * Items Menu */ ItemsMenu = Rengar.AddSubMenu("Items", "Items"); ItemsMenu.AddGroupLabel("Items Options"); ItemsMenu.Add("useYoumu", new CheckBox("Use Youmuus")); ItemsMenu.Add("useHydra", new CheckBox("Use Hydra")); ItemsMenu.AddSeparator(); ItemsMenu.Add("useBTRK", new CheckBox("Use BTRK")); ItemsMenu.Add("myHP", new Slider("My Hp <% to use", 60)); ItemsMenu.Add("enemyHP", new Slider("Enemy HP <% to use", 60)); ItemsMenu.AddSeparator(); ItemsMenu.Add("usePOT", new CheckBox("Use Potions")); /* * Misc Menu */ MiscMenu = Rengar.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc Options"); MiscMenu.AddSeparator(); MiscMenu.Add("useHeal", new CheckBox("Auto Heal with W")); MiscMenu.Add("hpHeal", new Slider("HP % to Heal", 25)); MiscMenu.AddSeparator(); SkinHax = MiscMenu.Add("skinHax", new Slider("Choose you Skin [number]", 2, 0, 2)); SkinHax.OnValueChange += delegate { _Player.SetSkinId(SkinHax.CurrentValue); }; /* * Drawing Menu */ DrawingMenu = Rengar.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Options"); DrawingMenu.AddSeparator(); DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawingMenu.Add("drawW", new CheckBox("Draw W Range")); DrawingMenu.Add("drawE", new CheckBox("Draw E Range")); DrawingMenu.Add("drawR", new CheckBox("Draw R Range")); DrawingMenu.Add("drawK", new CheckBox("Draw K on Killable Enemies")); DrawingMenu.Add("drawT", new CheckBox("Draw R Timer Left")); DrawingMenu.AddSeparator(); DrawingMenu.Add("drawC", new CheckBox("Draw Current Combo Prioritize")); DrawingMenu.Add("posX", new Slider("X Position", 50, 0, 2000)); DrawingMenu.Add("posY", new Slider("Y Position", 50, 0, 2000)); }
public static void Load() { menuIni = MainMenu.AddMenu("Kindred", "Kindred"); menuIni.AddGroupLabel("Welcome to the Worst Kindred addon!"); UltMenu = menuIni.AddSubMenu("Ultimate"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("Rally", new CheckBox("R Save Ally / Self")); UltMenu.Add("Rallyh", new Slider("R Ally Health %", 20, 0, 100)); UltMenu.AddGroupLabel("Don't Use Ult On: "); foreach (var ally in ObjectManager.Get <AIHeroClient>()) { CheckBox cb = new CheckBox(ally.BaseSkinName) { CurrentValue = false }; if (ally.Team == ObjectManager.Player.Team) { UltMenu.Add("DontUlt" + ally.BaseSkinName, cb); } } ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.Add("Q", new CheckBox("Kullan Q")); ComboMenu.Add("W", new CheckBox("Kullan W")); ComboMenu.Add("E", new CheckBox("Kullan E")); ComboMenu.AddGroupLabel("Ek Ayarlar"); ComboMenu.Add("Qmode", new ComboBox("Q Mode", 0, "To Target", "To Mouse")); ComboMenu.Add("QW", new CheckBox("Q yu sadece w aktifse kullan", false)); ComboMenu.Add("QAA", new CheckBox("AA menzilinde hedefe Q kullanma", false)); ComboMenu.Add("Emark", new CheckBox("Odaklanmış hedefe E işaretle")); ComboMenu.Add("Pmark", new CheckBox("Odaklanmış hedefe pasif işaretle")); ComboMenu.Add("Pspells", new CheckBox("Hedefe ulti kullanmak için canı yüzde 15ten az olsun", false)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("Q", new CheckBox("Kullan Q")); HarassMenu.Add("W", new CheckBox("Kullan W", false)); HarassMenu.Add("E", new CheckBox("Kullan E")); LaneMenu = menuIni.AddSubMenu("Lane Clear"); LaneMenu.AddGroupLabel("LaneTemizleme Ayarları"); LaneMenu.Add("Q", new CheckBox("Kullan Q")); LaneMenu.Add("W", new CheckBox("Kullan W", false)); LaneMenu.Add("E", new CheckBox("Kullan E", false)); JungleMenu = menuIni.AddSubMenu("Jungle Clear"); JungleMenu.AddGroupLabel("OrmanTemizleme Ayarları"); JungleMenu.Add("Q", new CheckBox("Kullan Q")); JungleMenu.Add("W", new CheckBox("Kullan W", false)); JungleMenu.Add("E", new CheckBox("Kullan E", false)); FleeMenu = menuIni.AddSubMenu("Flee"); FleeMenu.AddGroupLabel("Flee Ayarları"); FleeMenu.Add("Q", new CheckBox("Kullan Q")); FleeMenu.Add("Qgap", new CheckBox("Gapclose Q Kullan")); ManaMenu = menuIni.AddSubMenu("Mana Yardımcısı"); ManaMenu.AddGroupLabel("Dürtme"); ManaMenu.Add("harassmana", new Slider("Dürtme mana %", 75, 0, 100)); ManaMenu.AddGroupLabel("Lanetemizleme"); ManaMenu.Add("lanemana", new Slider("Lanetemizleme mana %", 60, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.Add("Q", new CheckBox("Göster Q")); DrawMenu.Add("W", new CheckBox("Göster W")); DrawMenu.Add("E", new CheckBox("Göster E")); DrawMenu.Add("R", new CheckBox("Göster R")); DrawMenu.Add("debug", new CheckBox("Hataayıklama", false)); }
public static void Execute() { if (player.ChampionName != "AurelionSol") { return; } Q = new Spell.Skillshot(SpellSlot.Q, (uint)650f, SkillShotType.Linear, 250, 850, 180); W = new Spell.Active(SpellSlot.W, 725); R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 1750, 180); menuIni = MainMenu.AddMenu("CH汉化-龙王", "AurelionSol"); menuIni.AddGroupLabel("欢迎使用龙王脚本!"); menuIni.AddGroupLabel("全局设定"); menuIni.Add("Combo", new CheckBox("开启连招?")); menuIni.Add("Harass", new CheckBox("开启骚扰?")); menuIni.Add("Clear", new CheckBox("开启清线?")); menuIni.Add("Drawings", new CheckBox("开启线圈?")); ComboMenu = menuIni.AddSubMenu("连招"); ComboMenu.AddGroupLabel("连招设置"); ComboMenu.Add("Q", new CheckBox("使用 Q")); ComboMenu.Add("Q2", new CheckBox("跟随 Q")); ComboMenu.Add("W", new CheckBox("使用 W")); ComboMenu.Add("W2", new CheckBox("使用 W2")); ComboMenu.Add("R", new CheckBox("使用 R")); ComboMenu.Add("Rhit", new Slider("使用 R 命中敌方数量", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("骚扰"); HarassMenu.AddGroupLabel("骚扰设置"); HarassMenu.Add("Q", new CheckBox("使用 Q")); HarassMenu.Add("W", new CheckBox("使用 W", false)); HarassMenu.Add("W2", new CheckBox("使用 W2", false)); HarassMenu.Add("Mana", new Slider("保存蓝量 %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("农兵"); LaneMenu.AddGroupLabel("清线设置"); LaneMenu.Add("Q", new CheckBox("使用 Q")); LaneMenu.Add("W", new CheckBox("使用 W", false)); LaneMenu.Add("Mana", new Slider("保存蓝量 %", 30, 0, 100)); MiscMenu = menuIni.AddSubMenu("杂项"); MiscMenu.AddGroupLabel("杂项设置"); MiscMenu.Add("gapcloserQ", new CheckBox("防突进 (Q)")); MiscMenu.Add("gapcloserR", new CheckBox("防突进 (R)")); MiscMenu.Add("KillStealQ", new CheckBox("抢头 (Q)")); MiscMenu.Add("KillStealR", new CheckBox("抢头 (R)")); MiscMenu.Add("AQ", new Slider("当能命中 X 数量自动Q", 1, 1, 5)); DrawMenu = menuIni.AddSubMenu("线圈"); DrawMenu.AddGroupLabel("线圈竖直"); DrawMenu.Add("Q", new CheckBox("显示 Q")); DrawMenu.Add("W", new CheckBox("显示 W")); DrawMenu.Add("E", new CheckBox("显示 E")); DrawMenu.Add("R", new CheckBox("显示 R")); DrawMenu.Add("QS", new CheckBox("显示 Q 大小")); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += OnCreate; GameObject.OnDelete += OnDelete; }
private static void Game_OnGameLoad(EventArgs args) { Player = ObjectManager.Player; if (Player.BaseSkinName != ChampionName) { return; } //Create the spells QDummy = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, int.MaxValue, 50) { AllowedCollisionCount = 0 }; QSplit = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 2100, 50) { MinimumHitChance = HitChance.High, AllowedCollisionCount = 0 }; Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1300, 50) { MinimumHitChance = HitChance.High, AllowedCollisionCount = 0 }; W = new Spell.Skillshot(SpellSlot.W, 1050, SkillShotType.Linear, 250, 1700, 80) { MinimumHitChance = HitChance.High, AllowedCollisionCount = int.MaxValue }; E = new Spell.Skillshot(SpellSlot.E, 850, SkillShotType.Circular, 500, 1500, 120) { MinimumHitChance = HitChance.High, AllowedCollisionCount = int.MaxValue }; R = new Spell.Skillshot(SpellSlot.R, 1550, SkillShotType.Linear) { AllowedCollisionCount = int.MaxValue }; IgniteSlot = Player.GetSpellSlotFromName("SummonerDot"); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); menuIni = MainMenu.AddMenu(ChampionName, ChampionName); menuIni.AddGroupLabel("Welcome to the Worst VelKoz addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("Clear", new CheckBox("Use Lane Clear?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("Ignite", new CheckBox("Ignite")); ComboMenu.Add("Rhit", new Slider("Use R Hit", 2, 1, 5)); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("W", new CheckBox("Use W")); HarassMenu.Add("E", new CheckBox("Use E")); HarassMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("Q", new CheckBox("Use Q")); LaneMenu.Add("W", new CheckBox("Use W")); LaneMenu.Add("E", new CheckBox("Use E")); LaneMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100)); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapcloser", new CheckBox("Anti-GapCloser")); MiscMenu.Add("Interrupt", new CheckBox("Interrupt")); MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); Game.OnUpdate += Game_OnGameUpdate; Interrupter.OnInterruptableSpell += Interrupter2_OnInterruptableTarget; GameObject.OnCreate += Obj_SpellMissile_OnCreate; Spellbook.OnUpdateChargeableSpell += Spellbook_OnUpdateChargedSpell; }
public static void Execute() { if (player.ChampionName != ChampName) { return; } //Ability Information - Range - Variables. Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); menuIni = MainMenu.AddMenu("Olaf", "Olaf"); menuIni.AddGroupLabel("Welcome to the Worst Olaf addon!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Ult", new CheckBox("Use Ultimate?")); menuIni.Add("Items", new CheckBox("Use Items?")); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("LaneClear", new CheckBox("Use LaneClear?")); menuIni.Add("LastHit", new CheckBox("Use LastHit?")); menuIni.Add("JungleClear", new CheckBox("Use JungleClear?")); menuIni.Add("KillSteal", new CheckBox("Use Kill Steal?")); menuIni.Add("Misc", new CheckBox("Use Misc?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); ItemsMenu = menuIni.AddSubMenu("Items"); ItemsMenu.AddGroupLabel("Items Settings"); ItemsMenu.Add("useGhostblade", new CheckBox("Use Youmuu's Ghostblade")); ItemsMenu.Add("UseBOTRK", new CheckBox("Use Blade of the Ruined King")); ItemsMenu.Add("UseBilge", new CheckBox("Use Bilgewater Cutlass")); ItemsMenu.Add("eL", new Slider("Use On Enemy health", 65, 0, 100)); ItemsMenu.Add("oL", new Slider("Use On My health", 65, 0, 100)); UltMenu = menuIni.AddSubMenu("Ultimate [BETA]"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("UseR", new CheckBox("Use R")); UltMenu.AddLabel("Use R Settings:"); UltMenu.Add("blind", new CheckBox("Use On Blinds?", false)); UltMenu.Add("charm", new CheckBox("Use On Charms?")); UltMenu.Add("disarm", new CheckBox("Use On Disarm?", false)); UltMenu.Add("fear", new CheckBox("Use On Fear?")); UltMenu.Add("frenzy", new CheckBox("Use On Frenzy?", false)); UltMenu.Add("silence", new CheckBox("Use On Silence?", false)); UltMenu.Add("snare", new CheckBox("Use On Snare?")); UltMenu.Add("sleep", new CheckBox("Use On Sleep?")); UltMenu.Add("stun", new CheckBox("Use On Stuns?")); UltMenu.Add("supperss", new CheckBox("Use On Supperss?")); UltMenu.Add("slow", new CheckBox("Use On Slows?", false)); UltMenu.Add("knockup", new CheckBox("Use On Knock Ups?")); UltMenu.Add("knockback", new CheckBox("Use On Knock Backs?")); UltMenu.Add("nearsight", new CheckBox("Use On NearSight?", false)); UltMenu.Add("root", new CheckBox("Use On Roots?")); UltMenu.Add("tunt", new CheckBox("Use On Taunts?")); UltMenu.Add("poly", new CheckBox("Use On Polymorph?")); UltMenu.Add("poison", new CheckBox("Use On Poisons?", false)); UltMenu.Add("hp", new Slider("Use Only When HP is Under %", 25, 0, 100)); UltMenu.Add("human", new Slider("Humanizer Delay", 150, 0, 1500)); UltMenu.Add("Rene", new Slider("Enemies Near to Cast R", 1, 0, 5)); UltMenu.Add("enemydetect", new Slider("Enemies Detect Range", 1000, 0, 2000)); UltMenu.AddLabel("Ult logic: It will Cast if you have one of the selected debuffs, HP under selected and Nearby enemies."); ComboMenu = menuIni.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("UseQ", new CheckBox("Use Q")); ComboMenu.Add("UseW", new CheckBox("Use W")); ComboMenu.Add("UseE", new CheckBox("Use E")); HarassMenu = menuIni.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("hQ", new CheckBox("Use Q")); HarassMenu.Add("hQ2", new CheckBox("Use Q with short range")); HarassMenu.Add("hQA", new CheckBox("Use Auto Q", false)); HarassMenu.Add("hW", new CheckBox("Use W", false)); HarassMenu.Add("hE", new CheckBox("Use E")); HarassMenu.Add("harassmana", new Slider("Harass Mana Manager", 60, 0, 100)); LaneMenu = menuIni.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("laneQ", new CheckBox("Use Q")); LaneMenu.Add("fE", new CheckBox("Use E LastHit")); LaneMenu.Add("laneW", new CheckBox("Use W")); LaneMenu.Add("laneE", new CheckBox("Use E", false)); LaneMenu.Add("femana", new Slider("Health (E) Manager", 75, 0, 100)); LaneMenu.Add("lanemana", new Slider("Farm Mana Manager", 80, 0, 100)); LaneMenu.AddGroupLabel("JungleClear Settings"); LaneMenu.Add("jungleQ", new CheckBox("Use Q")); LaneMenu.Add("jE", new CheckBox("Use E LastHit")); LaneMenu.Add("jungleW", new CheckBox("Use W")); LaneMenu.Add("jungleE", new CheckBox("Use E", false)); LaneMenu.Add("jemana", new Slider("Health (E) Manager", 75, 0, 100)); LaneMenu.Add("junglemana", new Slider("Jungle Mana Manager", 80, 0, 100)); KillStealMenu = menuIni.AddSubMenu("Kill Steal"); KillStealMenu.AddGroupLabel("Kill Steal Settings"); KillStealMenu.Add("ksQ", new CheckBox("Kill Steal Q")); KillStealMenu.Add("ksE", new CheckBox("Kill Steal E")); MiscMenu = menuIni.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("gapcloser", new CheckBox("Use Q On GapCloser")); MiscMenu.Add("gapclosermana", new Slider("Anti-GapCloser Mana", 25, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Qdraw", new CheckBox("Draw Q")); DrawMenu.Add("Edraw", new CheckBox("Draw E")); DrawMenu.Add("Rdraw", new CheckBox("Draw R Detection Range")); DrawMenu.Add("AxeDraw", new CheckBox("Draw Axe Position")); Drawing.OnDraw += OnDraw; Game.OnUpdate += Game_OnGameUpdate; Gapcloser.OnGapcloser += Gapcloser_OnGap; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; }
private static void OnLoad(EventArgs args) { if (ObjectManager.Player.BaseSkinName != "Zilean") { return; } ZilMenu = MainMenu.AddMenu("Zilean", "Zilean"); ZilMenu.AddGroupLabel("Welcome to FUE Zilean addon!"); UltMenu = ZilMenu.AddSubMenu("Ultimate"); UltMenu.AddGroupLabel("Ultimate Settings"); UltMenu.Add("ultially", new CheckBox("Use ult on ally")); UltMenu.Add("allyhpult", new Slider("Ally Health %", 15, 1, 100)); UltMenu.AddGroupLabel("Ult ally"); foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(hero => hero.IsAlly && !hero.IsMe)) { CheckBox cb = new CheckBox(ally.BaseSkinName) { CurrentValue = false }; if (ally.Team == ObjectManager.Player.Team) { UltMenu.Add("castultally" + ally.BaseSkinName, cb); } } UltMenu.AddSeparator(); UltMenu.Add("user", new CheckBox("Use ult on Myself")); UltMenu.Add("rhp", new Slider("Self Health %", 15, 1, 100)); ComboMenu = ZilMenu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQ", new CheckBox("Use Q")); ComboMenu.Add("useW1", new CheckBox("Use W", false)); ComboMenu.Add("useW2", new CheckBox("Use W only if Q hits")); ComboMenu.Add("useE", new CheckBox("Use E")); ComboMenu.Add("Qcc", new CheckBox("Use Q on immobile")); ComboMenu.Add("useign", new CheckBox("Use Ignite")); HarassMenu = ZilMenu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQH", new CheckBox("Use Q")); HarassMenu.Add("useEH", new CheckBox("Use E", false)); HarassMenu.Add("autoH", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'T')); HarassMenu.AddSeparator(); HarassMenu.Add("autoHQ", new CheckBox("Use Q AutoHarass")); HarassMenu.Add("autoHE", new CheckBox("Use E AutoHarass")); HarassMenu.AddSeparator(); HarassMenu.Add("HMana", new Slider("Min % mana for AutoHarass", 30, 0, 100)); LaneMenu = ZilMenu.AddSubMenu("Farm"); LaneMenu.AddGroupLabel("LaneClear Settings"); LaneMenu.Add("useQL", new CheckBox("Use Q")); LaneMenu.Add("useWL", new CheckBox("Use W to reset bomb")); LaneMenu.AddSeparator(); LaneMenu.Add("usemanaL", new Slider("Min % mana for LaneClear", 30, 0, 100)); LaneMenu.Add("lccount", new Slider("Min Minions for Q", 3, 0, 8)); MiscMenu = ZilMenu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.Add("disableAA", new CheckBox("Disable AA", false)); MiscMenu.Add("suppmode", new CheckBox("Support mode", false)); MiscMenu.Add("gap", new CheckBox("gapcloser")); MiscMenu.Add("int", new CheckBox("interrupter")); MiscMenu.Add("ksQ", new CheckBox("Q ks")); DrawMenu = ZilMenu.AddSubMenu("Draw"); DrawMenu.AddGroupLabel("Drawings Settings"); DrawMenu.Add("drawaoff", new CheckBox("Disable Draws", false)); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("draww", new CheckBox("Draw W")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); FleeMenu = ZilMenu.AddSubMenu("Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("fleee", new CheckBox("Use E")); FleeMenu.Add("fleew", new CheckBox("Use W")); SkinMenu = ZilMenu.AddSubMenu("Skin", "Skin"); SkinMenu.AddGroupLabel("Skin Selectior"); var skin = SkinMenu.Add("SkinID", new Slider("Skin", 5, 0, 5)); var SkinID = new[] { "Classic Zilean", "Old Saint Zilean", "Groovy Zilean", "Shurima Desert Zilean", "Time Machine Zilean", "Blood Moon Zilean" }; skin.DisplayName = SkinID[skin.CurrentValue]; skin.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = SkinID[changeArgs.NewValue]; }; Q = new Spell.Skillshot(SpellSlot.Q, 880, SkillShotType.Circular, (int)0.3f, 2000, 150); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Active(SpellSlot.W, 0); E = new Spell.Targeted(SpellSlot.E, 700); R = new Spell.Targeted(SpellSlot.R, 900); ign = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Game.OnUpdate += OnGameUpdate; Gapcloser.OnGapcloser += OnGapCloser; Interrupter.OnInterruptableSpell += Interrupt; Drawing.OnDraw += Drawing_OnDraw; }
public static void Execute() { if (player.ChampionName != "Karthus") { return; } Q = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Circular, 1000, int.MaxValue, 160); Q2 = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Circular, 650, int.MaxValue, 100); W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Circular, 500, int.MaxValue, 70); E = new Spell.Active(SpellSlot.E, 510); R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Circular, 3000, int.MaxValue, int.MaxValue); menuIni = MainMenu.AddMenu("CH汉化-死哥", "Karthus"); menuIni.AddGroupLabel("欢迎使用最“渣”死哥!"); menuIni.AddGroupLabel("全局设定"); menuIni.Add("Ultimate", new CheckBox("使用大招?")); menuIni.Add("Combo", new CheckBox("使用连招?")); menuIni.Add("Harass", new CheckBox("使用骚扰?")); menuIni.Add("LastHit", new CheckBox("使用尾兵?")); menuIni.Add("LaneClear", new CheckBox("使用清线?")); menuIni.Add("JungleClear", new CheckBox("使用清野?")); menuIni.Add("KillSteal", new CheckBox("使用抢头?")); menuIni.Add("Misc", new CheckBox("使用杂项?")); menuIni.Add("Drawings", new CheckBox("使用线圈?")); UltMenu = menuIni.AddSubMenu("大招"); UltMenu.AddGroupLabel("大招设置"); UltMenu.Add("UltKS", new CheckBox("R抢人头", false)); UltMenu.Add("UltMode", new ComboBox("大招逻辑", 0, "Kappa逻辑")); UltMenu.AddGroupLabel("Kappa逻辑设置"); UltMenu.Add("RnearE", new CheckBox("禁用R当敌人在我身边时?")); UltMenu.Add("RnearEn", new Slider("附近敌人数量禁用R", 1, 1, 5)); UltMenu.Add("Rranged", new Slider("附近敌人搜索范围", 1600, 100, 3000)); UltMenu.AddLabel("推荐距离 (1600 >)"); ComboMenu = menuIni.AddSubMenu("连招"); ComboMenu.AddGroupLabel("连招设置"); ComboMenu.Add("CUse_Q", new CheckBox("使用 Q")); ComboMenu.Add("CUse_W", new CheckBox("使用 W")); ComboMenu.Add("CUse_E", new CheckBox("使用 E")); ComboMenu.Add("CUse_AA", new CheckBox("禁用普攻", false)); ComboMenu.Add("CEPercent", new Slider("使用 E 蓝量百分比 %", 30, 0, 100)); ComboMenu.AddSeparator(); ComboMenu.Add("CE_Auto_False", new CheckBox("自动 E")); ComboMenu.AddLabel("自动关闭E当无敌人时"); HarassMenu = menuIni.AddSubMenu("骚扰"); HarassMenu.AddGroupLabel("骚扰设置"); HarassMenu.Add("HUse_Q", new CheckBox("使用 Q")); HarassMenu.Add("HUse_E", new CheckBox("使用 E")); HarassMenu.Add("HEPercent", new Slider("使用 E 蓝量百分比 %", 30, 0, 100)); HarassMenu.Add("HUse_AA", new CheckBox("禁用普攻", false)); HarassMenu.Add("E_LastHit", new CheckBox("使用 E 尾兵")); HarassMenu.AddSeparator(); HarassMenu.Add("HE_Auto_False", new CheckBox("自动 E")); HarassMenu.AddLabel("自动关闭E当无敌人时"); LaneMenu = menuIni.AddSubMenu("农兵"); LaneMenu.AddGroupLabel("清线设置"); LaneMenu.Add("FUse_Q", new CheckBox("使用 Q")); LaneMenu.Add("FQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100)); LaneMenu.AddSeparator(); LaneMenu.AddGroupLabel("清野设置"); LaneMenu.Add("JUse_Q", new CheckBox("使用 Q")); LaneMenu.Add("JQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100)); LaneMenu.AddSeparator(); LaneMenu.AddGroupLabel("尾兵设置"); LaneMenu.Add("LUse_Q", new CheckBox("使用 Q")); LaneMenu.Add("LAA", new CheckBox("可使用Q则屏蔽普攻", false)); LaneMenu.Add("LHQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100)); /* * JungleMenu = menuIni.AddSubMenu("JungleClear"); * JungleMenu.Add("JUse_Q", new CheckBox("Use Q")); * JungleMenu.Add("JQPercent", new Slider("Use Q Mana %", 30, 0, 100)); * * LhMenu = menuIni.AddSubMenu("Last Hit"); * LhMenu.AddGroupLabel("LastHit Settings"); * LhMenu.Add("LUse_Q", new CheckBox("Use Q")); */ KillStealMenu = menuIni.AddSubMenu("抢头"); KillStealMenu.AddGroupLabel("抢头设置"); KillStealMenu.Add("KS", new CheckBox("Q抢头")); MiscMenu = menuIni.AddSubMenu("杂项"); MiscMenu.AddGroupLabel("杂项设置"); MiscMenu.Add("NotifyUlt", new CheckBox("大招提示")); MiscMenu.Add("ping", new CheckBox("本地提示: 可击杀敌人")); MiscMenu.Add("DeadCast", new CheckBox("可击杀")); MiscMenu.Add("SaveR", new CheckBox("为R保存蓝")); MiscMenu.Add("gapcloser", new CheckBox("防突击")); MiscMenu.Add("gapclosermana", new Slider("防突击蓝量设置", 25, 0, 100)); DrawMenu = menuIni.AddSubMenu("线圈"); DrawMenu.AddGroupLabel("线圈设置"); DrawMenu.Add("Draw_Q", new CheckBox("显示 Q")); DrawMenu.Add("Draw_W", new CheckBox("显示 W")); DrawMenu.Add("Draw_E", new CheckBox("显示 E")); DrawMenu.Add("Rranged", new CheckBox("显示最少附近敌人数量使用R")); DrawMenu.Add("Rtarget", new CheckBox("显示R目标")); DrawMenu.Add("Track", new CheckBox("监控敌人血量")); Game.OnUpdate += Zigzag; Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; }
internal static void Iniciar() { //Menu Original OriMenu = MainMenu.AddMenu("OriToy", "OriToy"); //Menu Combo ComboMenu = OriMenu.AddSubMenu("Combo"); ComboMenu.AddLabel("Settings Combo"); ComboMenu.AddSeparator(); ComboMenu.Add("ComboQ", new CheckBox("Toy Combo (Q)")); ComboMenu.Add("ComboW", new CheckBox("Toy Combo (W)")); ComboMenu.Add("ComboR", new CheckBox("Toy Combo (R)")); ComboMenu.AddLabel("Settings R"); ComboMenu.Add("UtiEnemy", new Slider("How Many Enemies = {0}", 2, 1, 5)); Aly = ComboMenu.Add("Life", new Slider("Use Spell only with HP = {0}", 1, 5, 100)); ComboMenu.Add("Execute", new CheckBox("Use R Elimined", false)); ComboMenu.AddLabel("Settings E"); ComboMenu.Add("UseE", new CheckBox("Use E Aly")); ComboMenu.Add("UseMyHero", new CheckBox("Use E Toy Combo?", false)); ComboMenu.AddLabel("Settings Prediction"); Prediction = ComboMenu.Add("Pre1", new ComboBox("HitChance", 1, "Low", "Medium", "High")); //Harass HarassMenu = OriMenu.AddSubMenu("Harass"); HarassMenu.AddLabel("Settings Harass"); HarassMenu.AddSeparator(); HarassMenu.Add("H1Q", new CheckBox("Harass Toy (Q)")); HarassMenu.Add("H2W", new CheckBox("Harass Toy (W)")); HarassMenu.Add("H3E", new CheckBox("Harass Toy (E)")); HarassMenu.AddLabel("Settings Mana"); ManaManeger = HarassMenu.Add("Minimo", new Slider("Finish Harass = {0}", 10, 5, 100)); //Lane LaneMenu = OriMenu.AddSubMenu("LaneClear"); LaneMenu.AddLabel("Settings Lane"); LaneMenu.AddSeparator(); LaneMenu.Add("L1Q", new CheckBox("Use Toy (Q)")); LaneMenu.Add("LW2", new CheckBox("Use Toy (W)")); LaneMenu.AddLabel("Settings"); Mini = LaneMenu.Add("Minions", new Slider("Use Spell (Q) Mini = {0}", 3, 1, 10)); Mini = LaneMenu.Add("Minions2", new Slider("Use Spell (W) Mini = {0}", 3, 1, 10)); //Jungle JungleMenu = OriMenu.AddSubMenu("JungleClear"); JungleMenu.AddLabel("Settings Jungle"); JungleMenu.AddSeparator(); JungleMenu.Add("J1Q", new CheckBox("Spell (Q)")); JungleMenu.Add("J1W", new CheckBox("Spell (W)")); JungleMenu.AddLabel("Spell Smite"); JungleMenu.Add("SmiteSpell", new CheckBox("Smite?", false)); //KilSteal KilMenu = OriMenu.AddSubMenu("KilSteal"); KilMenu.AddLabel("Sttings KillSteal"); KilMenu.AddSeparator(); KilMenu.Add("Kil1", new CheckBox("Steal Spell (R)")); KilMenu.Add("Kil2", new CheckBox("Steal Spell (W)")); //Misc Misc = OriMenu.AddSubMenu("Misc"); Misc.AddLabel("Settings Misc"); Misc.Add("M1R", new CheckBox("Use R Prediction")); Misc.Add("IG", new CheckBox("Spell Ignite")); //Draws Draws = OriMenu.AddSubMenu("Draws"); Draws.Add("D1Q", new CheckBox("Range (Q)")); Draws.Add("D1E", new CheckBox("Range (E)")); Draws.Add("DIG", new CheckBox("Range (Spell)")); //Comandos }