private static void loadMenu() { menu = MainMenu.AddMenu("KhaZix", "Khazix"); ComboMenu = menu.AddSubMenu("Combo", "Combo"); ComboMenu.Add("QC", new CheckBox("Use Q",true)); ComboMenu.Add("WC", new CheckBox("Use W",true)); ComboMenu.Add("EC", new CheckBox("Use E",true)); ComboMenu.Add("RC", new CheckBox("Use R", true)); ComboMenu.AddSeparator(25); ComboMenu.Add("IC", new CheckBox("Use Items",true)); ComboMenu.Add("ECG", new CheckBox("Use E Gapcloser", true)); ComboMenu.Add("WCG", new CheckBox("Use E to Gapcloser for W", true)); ComboMenu.Add("RCG", new CheckBox("Use R after long Gapcloses", true)); HarrassMenu = menu.AddSubMenu("Harrass", "Harrass"); HarrassMenu.Add("QH", new CheckBox("Use Q", true)); HarrassMenu.Add("WH", new CheckBox("Use W", true)); LastHitMenu = menu.AddSubMenu("LastHit", "LastHit"); LastHitMenu.Add("QL", new CheckBox("Use Q", true)); DrawingMenu = menu.AddSubMenu("Drawing", "Drawing"); DrawingMenu.Add("DQ", new CheckBox("Draw Q", true)); DrawingMenu.Add("DW", new CheckBox("Draw W", true)); DrawingMenu.Add("DE", new CheckBox("Draw E", true)); DoubleJumpMenu = menu.AddSubMenu("DoubleJump", "DoubleJump"); DoubleJumpMenu.Add("DE", new CheckBox("Enabled")); // DoubleJumpMenu.Add("SliderD",new Slider("Delay between jumps",250, 250, 500)); // DoubleJumpMenu.Add("DQ", new CheckBox("Wait for Q instead of AutoAttacks")); // DoubleJumpMenu.Add("DC", new CheckBox("Jump to cursor(true) for addon logic (false)")); // DoubleJumpMenu.Add("DS", new CheckBox("Do Second Jump")); // DoubleJumpMenu.Add("DCS", new CheckBox("SecondJump to cursor(true) for addon logic (false)")); }
public static void LastHitmenu() { LastHitMenu = YMenu.AddSubMenu("LastHit", "LastHit"); LastHitMenu.Add("Q", new CheckBox("Use Q")); LastHitMenu.Add("Q3", new CheckBox("Use Q3")); LastHitMenu.Add("E", new CheckBox("Use E")); }
public static void LastHitmenu() { LastHitMenu = YMenu.AddSubMenu("最后一击", "LastHit"); LastHitMenu.Add("Q", new CheckBox("使用 Q")); LastHitMenu.Add("Q3", new CheckBox("使用Q第3下")); LastHitMenu.Add("E", new CheckBox("使用 E")); }
public static void LastHitmenu() { LastHitMenu = YMenu.AddSubMenu("尾兵", "LastHit"); LastHitMenu.AddGroupLabel("尾兵"); LastHitMenu.Add("Q", new CheckBox("使用 Q")); LastHitMenu.Add("Q3", new CheckBox("使用 Q3")); LastHitMenu.Add("E", new CheckBox("使用 E")); }
static LastHit() { // Initialize the menu values LastHitMenu.AddGroupLabel("LastHit"); _useQ = LastHitMenu.Add("lastQ", new CheckBox("Use Overload (Q Spell)")); _useW = LastHitMenu.Add("lastW", new CheckBox("Use Rune Prison (W Spell)")); _useE = LastHitMenu.Add("lastE", new CheckBox("Use Spell Flux (E Spell)")); }
static LastHit() { LastHitMenu.AddGroupLabel("LastHit"); _useQ = LastHitMenu.Add("lastHitUseQ", new CheckBox("Use Q")); LastHitMenu.AddSeparator(10); _useW = LastHitMenu.Add("lastHitUseW", new CheckBox("Use W")); LastHitMenu.AddSeparator(10); _spellWeaving = LastHitMenu.Add("lastHitSpellWeaving", new CheckBox("Use SpellWeaving")); }
static LastHit() { LastHitMenu.AddGroupLabel("LastHit"); _useQ = LastHitMenu.Add("useQ", new CheckBox("Use Q")); LastHitMenu.AddSeparator(10); _useQmana = LastHitMenu.Add("useQmana", new Slider("If Mana % > {0}", 0, 0, 100)); }
public static void Init() { MaiinMenu = MainMenu.AddMenu("RyzePro", "RyzePro"); MaiinMenu.AddGroupLabel("Ryze Pro Loaded.."); MaiinMenu.AddLabel("Rexy Tarafından kodlanmıştır"); MaiinMenu.AddLabel("Eğer hata alırsanız lütfen discorddan yapımcıya bildirin"); ComboMenu = MaiinMenu.AddSubMenu("Combo"); ComboMenu.Add("combo.useQ", new CheckBox("Kullan Q")); ComboMenu.Add("combo.useW", new CheckBox("Kullan W")); ComboMenu.Add("combo.useE", new CheckBox("Kullan E")); ComboMenu.Add("combo.useR", new CheckBox("Hedefe giderken R Kullan")); ComboMenu.Add("combo.aa", new CheckBox("Komboda AA yapma")); ComboMenu.Add("combo.gapcloser", new CheckBox("Otomatik GapCloser Düşman")); HarassMenu = MaiinMenu.AddSubMenu("Harass"); HarassMenu.Add("harass.useQ", new CheckBox("Kullan Q")); HarassMenu.Add("harass.useW", new CheckBox("Kullan W")); HarassMenu.Add("harass.useE", new CheckBox("Kullan E")); HarassMenu.Add("harass.mana", new Slider("Min % Mana", 15)); LaneClearMenu = MaiinMenu.AddSubMenu("LaneClear"); LaneClearMenu.Add("laneclear.useQ", new CheckBox("Kullan Q")); LaneClearMenu.Add("laneclear.useW", new CheckBox("Kullan W")); LaneClearMenu.Add("laneclear.useE", new CheckBox("Kullan E")); LaneClearMenu.Add("laneclear.useR", new CheckBox("Kullan R")); LaneClearMenu.Add("laneclear.mana", new Slider("Min % Mana", 15)); JungleClearMenu = MaiinMenu.AddSubMenu("JungleClear"); JungleClearMenu.Add("jungleclear.useQ", new CheckBox("Kullan Q")); JungleClearMenu.Add("jungleclear.useW", new CheckBox("Kullan W")); JungleClearMenu.Add("jungleclear.useE", new CheckBox("Kullan E")); JungleClearMenu.Add("jungleclear.useR", new CheckBox("Kullan R")); JungleClearMenu.Add("jungleclear.mana", new Slider("Min % Mana", 15)); LastHitMenu = MaiinMenu.AddSubMenu("LastHit"); LastHitMenu.Add("lasthit.useQ", new CheckBox("Kullan Q")); DrawMenu = MaiinMenu.AddSubMenu("Draw Settings"); DrawMenu.Add("draw.no", new CheckBox("No Drawings")); DrawMenu.Add("draw.Q", new CheckBox("Göster Q Menzili")); DrawMenu.Add("draw.W", new CheckBox("Göster W Menzili")); DrawMenu.Add("draw.E", new CheckBox("Göster E Menzili")); HumanizerMenu = MaiinMenu.AddSubMenu("Humanizer"); HumanizerMenu.Add("humanizer.active", new CheckBox("İnsancıl ayar Aktif", false)); HumanizerMenu.Add("humanizer.mindelay", new Slider("En az Gecikme", 150, 0, 1000)); HumanizerMenu.Add("humanizer.maxdelay", new Slider("En çok Gecikme", 250, 0, 1000)); }
public static void Init() { MaiinMenu = MainMenu.AddMenu("RyzePro", "RyzePro"); MaiinMenu.AddGroupLabel("Ryze Pro Loaded.."); MaiinMenu.AddLabel("Coded by Rexy"); MaiinMenu.AddLabel("If you found a bug, Pls feedback on my thread"); ComboMenu = MaiinMenu.AddSubMenu("Combo"); ComboMenu.Add("combo.useQ", new CheckBox("Use Q")); ComboMenu.Add("combo.useW", new CheckBox("Use W")); ComboMenu.Add("combo.useE", new CheckBox("Use E")); ComboMenu.Add("combo.useR", new CheckBox("Use R when target rooted")); ComboMenu.Add("combo.aa", new CheckBox("Dont AA while combo")); ComboMenu.Add("combo.gapcloser", new CheckBox("Auto GapCloser Enemy")); HarassMenu = MaiinMenu.AddSubMenu("Harass"); HarassMenu.Add("harass.useQ", new CheckBox("Use Q")); HarassMenu.Add("harass.useW", new CheckBox("Use W")); HarassMenu.Add("harass.useE", new CheckBox("Use E")); HarassMenu.Add("harass.mana", new Slider("Min % Mana", 15)); LaneClearMenu = MaiinMenu.AddSubMenu("LaneClear"); LaneClearMenu.Add("laneclear.useQ", new CheckBox("Use Q")); LaneClearMenu.Add("laneclear.useW", new CheckBox("Use W")); LaneClearMenu.Add("laneclear.useE", new CheckBox("Use E")); LaneClearMenu.Add("laneclear.useR", new CheckBox("Use R")); LaneClearMenu.Add("laneclear.mana", new Slider("Min % Mana", 15)); JungleClearMenu = MaiinMenu.AddSubMenu("JungleClear"); JungleClearMenu.Add("jungleclear.useQ", new CheckBox("Use Q")); JungleClearMenu.Add("jungleclear.useW", new CheckBox("Use W")); JungleClearMenu.Add("jungleclear.useE", new CheckBox("Use E")); JungleClearMenu.Add("jungleclear.useR", new CheckBox("Use R")); JungleClearMenu.Add("jungleclear.mana", new Slider("Min % Mana", 15)); LastHitMenu = MaiinMenu.AddSubMenu("LastHit"); LastHitMenu.Add("lasthit.useQ", new CheckBox("Use Q")); DrawMenu = MaiinMenu.AddSubMenu("Draw Settings"); DrawMenu.Add("draw.no", new CheckBox("No Drawings")); DrawMenu.Add("draw.Q", new CheckBox("Draw Q range")); DrawMenu.Add("draw.W", new CheckBox("Draw W range")); DrawMenu.Add("draw.E", new CheckBox("Draw E range")); HumanizerMenu = MaiinMenu.AddSubMenu("Humanizer"); HumanizerMenu.Add("humanizer.active", new CheckBox("Humanizer Active", false)); HumanizerMenu.Add("humanizer.mindelay", new Slider("Min Delay", 150, 0, 1000)); HumanizerMenu.Add("humanizer.maxdelay", new Slider("Max Delay", 250, 0, 1000)); }
public override void Menu() { Q.CreateBool(ComboMenu); W.CreateBool(ComboMenu); E.CreateBool(ComboMenu); R.CreateBool(ComboMenu); Q.CreateBool(LaneClearMenu); LaneClearMenu.Add("qCount", new Slider("Only if Q will hit X", 3, 0, 9)); E.CreateBool(LaneClearMenu); R.CreateBool(LaneClearMenu); LaneClearMenu.Add("rCount", new Slider("Only if R will hit X", 3, 0, 9)); Q.CreateBool(JungleClearMenu); E.CreateBool(JungleClearMenu); Q.CreateBool(LastHitMenu); LastHitMenu.Add("qCount", new Slider("Only if Q will hit X", 3, 0, 9)); E.CreateBool(LastHitMenu); Q.CreateBool(MixedMenu); E.CreateBool(MixedMenu); }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Kassadin")) { return; } Chat.Print("Doctor's Kassadin Loaded!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Targeted(SpellSlot.Q, 650); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Cone, 500, int.MaxValue, 10); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150); R.AllowedCollisionCount = int.MaxValue; Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Seraph = new Item(3040); Menu = MainMenu.AddMenu("Kassadin", "Kassadin"); Menu.AddGroupLabel(" Doctor7 "); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo")); ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo")); ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo")); ComboMenu.AddGroupLabel("Ultimate Settings"); ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo")); ComboMenu.Add("CTurret", new KeyBind("Dont Use [R] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T')); ComboMenu.Add("CMinR", new Slider("Limit Enemies Around Use [R]", 2, 1, 5)); ComboMenu.Add("Cihp", new Slider("MyHP Use [R] >", 20)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass")); HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass")); HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass")); HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 40)); HarassMenu.AddGroupLabel("Ultimate Settings"); HarassMenu.Add("HarassR", new CheckBox("Use [R] Harass")); HarassMenu.Add("StackRH", new Slider("Use [R] Stacks Limit Harass", 5, 1, 5)); HarassMenu.Add("MinR", new Slider("Limit Enemies Around Use [R]", 3, 1, 5)); HarassMenu.Add("ihp", new Slider("MyHP Use [R] >", 30)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("Lane Clear Settings"); LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false)); LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear")); LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false)); LaneClearMenu.Add("MinELC", new Slider("Min Hit Minions Use [E]", 2, 1, 3)); LaneClearMenu.Add("RLC", new CheckBox("Use [R] LaneClear", false)); LaneClearMenu.Add("StackRL", new Slider("Use [R] Stacks Limit LaneClear", 1, 1, 5)); LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50)); LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.AddGroupLabel("LastHit Settings"); LastHitMenu.Add("QLH", new CheckBox("Use [Q] LastHit")); LastHitMenu.Add("WLH", new CheckBox("Use [W] LastHit")); LastHitMenu.Add("ManaLH", new Slider("Mana For LaneClear", 50)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear")); JungleClearMenu.Add("RJungle", new CheckBox("Use [R] JungleClear")); JungleClearMenu.Add("StackRJ", new Slider("Use [R] Stacks Limit LaneClear", 3, 1, 5)); JungleClearMenu.Add("ManaJC", new Slider("Mana For JungleClear", 30)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal", false)); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddGroupLabel("Skin Settings"); Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false)); Misc.Add("skin.Id", new ComboBox("Skin Mode", 5, "Default", "1", "2", "3", "4", "5")); Misc.AddGroupLabel("Drawing Settings"); Misc.Add("DrawR", new CheckBox("R Range", false)); Misc.Add("DrawQ", new CheckBox("Q Range")); Misc.Add("DrawE", new CheckBox("E Range", false)); Misc.Add("DrawTR", new CheckBox("DrawText Status [R]")); Misc.AddGroupLabel("Interrupt Settings"); Misc.Add("inter", new CheckBox("Use [Q] Interupt")); Misc.Add("AntiGap", new CheckBox("Use [E] Anti Gapcloser")); Misc.AddGroupLabel("Seraph Settings"); Misc.Add("dts", new CheckBox("Use Seraph")); Misc.Add("Hp", new Slider("HP For Seraph", 30, 0, 100)); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Interrupter.OnInterruptableSpell += Interupt; Orbwalker.OnPostAttack += ResetAttack; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; }
public static void Initialize() { // Addon Menu MagicianRyzeMenu = MainMenu.AddMenu("MagicianRyze", "MagicianRyze"); MagicianRyzeMenu.AddGroupLabel("Magician Ryze"); // Combo Menu ComboMenu = MagicianRyzeMenu.AddSubMenu("Combo Features", "ComboFeatures"); ComboMenu.AddGroupLabel("Combo Features"); ComboMenu.Add("Ucombo", new Slider("Counter Combo - My Personal Settings", 1, 1, 2)); ComboMenu.AddSeparator(1); ComboMenu.AddLabel("Independent boxes for Spells:"); ComboMenu.Add("Qcombo", new CheckBox("Use Q")); ComboMenu.Add("Wcombo", new CheckBox("Use W")); ComboMenu.Add("Ecombo", new CheckBox("Use E")); ComboMenu.Add("Rcombo", new CheckBox("Use R")); ComboMenu.Add("Dcombo", new CheckBox("Only R if Target Rooted")); ComboMenu.AddSeparator(1); ComboMenu.Add("Scombo", new Slider("Passive stacks to Ult", 4, 1, 4)); // Harass Menu HarassMenu = MagicianRyzeMenu.AddSubMenu("Harass Features", "HarassFeatures"); HarassMenu.AddGroupLabel("Harass Features"); HarassMenu.AddLabel("Independent boxes for Spells:"); HarassMenu.Add("Qharass", new CheckBox("Use Q")); HarassMenu.AddSeparator(1); HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25)); // Jungle Menu JungleMenu = MagicianRyzeMenu.AddSubMenu("Jungle Features", "JungleFeatures"); JungleMenu.AddGroupLabel("Jungle Features"); JungleMenu.AddLabel("Independent boxes for Spells:"); JungleMenu.Add("Qjungle", new CheckBox("Use Q")); JungleMenu.Add("Wjungle", new CheckBox("Use W")); JungleMenu.Add("Ejungle", new CheckBox("Use E")); JungleMenu.AddSeparator(1); JungleMenu.Add("Mjungle", new Slider("Mana Limiter at Mana %", 25)); // LaneClear Menu LaneClearMenu = MagicianRyzeMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures"); LaneClearMenu.AddGroupLabel("Lane Clear Features"); LaneClearMenu.AddLabel("Independent boxes for Spells:"); LaneClearMenu.Add("Qlanec", new CheckBox("Use Q")); LaneClearMenu.Add("Wlanec", new CheckBox("Use W", false)); LaneClearMenu.Add("Elanec", new CheckBox("Use E", false)); LaneClearMenu.AddSeparator(1); LaneClearMenu.Add("Mlanec", new Slider("Mana Limiter at Mana %", 25)); LaneClearMenu.AddSeparator(1); LaneClearMenu.Add("Planec", new CheckBox("Charge Passive in Lane Clear")); LaneClearMenu.AddSeparator(1); LaneClearMenu.AddLabel("Late Game Lane Clear Mode - QWE minions to Mana %"); LaneClearMenu.Add("Ulategame", new CheckBox("Late Game Mode", false)); LaneClearMenu.AddSeparator(1); LaneClearMenu.AddLabel("Late Game Mode Activators"); LaneClearMenu.Add("Llategame", new Slider("Activate Late Game at Level", 14, 1, 18)); LaneClearMenu.Add("Mlategame", new Slider("Mana Limiter at Mana %", 15)); // LastHit Menu LastHitMenu = MagicianRyzeMenu.AddSubMenu("Last Hit Features", "LastHitFeatures"); LastHitMenu.AddGroupLabel("Last Hit Features"); LastHitMenu.AddLabel("Independent boxes for Spells:"); LastHitMenu.Add("Qlasthit", new CheckBox("Use Q")); LastHitMenu.Add("Wlasthit", new CheckBox("Use W", false)); LastHitMenu.Add("Elasthit", new CheckBox("Use E", false)); LastHitMenu.AddSeparator(1); LastHitMenu.Add("Mlasthit", new Slider("Mana Limiter at Mana %", 25)); // Kill Steal Menu KillStealMenu = MagicianRyzeMenu.AddSubMenu("KS Features", "KSFeatures"); KillStealMenu.AddGroupLabel("Kill Steal Features"); KillStealMenu.Add("Uks", new CheckBox("KS Mode")); KillStealMenu.AddSeparator(1); KillStealMenu.AddLabel("Independent boxes for Spells:"); KillStealMenu.Add("Qks", new CheckBox("Use Q in KS")); KillStealMenu.Add("Wks", new CheckBox("Use W in KS")); KillStealMenu.Add("Eks", new CheckBox("Use E in KS")); // Drawing Menu DrawingMenu = MagicianRyzeMenu.AddSubMenu("Drawing Features", "DrawingFeatures"); DrawingMenu.AddGroupLabel("Drawing Features"); DrawingMenu.Add("Udraw", new CheckBox("Draw Mode")); DrawingMenu.AddSeparator(1); DrawingMenu.AddLabel("Independent boxes for Spells:"); DrawingMenu.Add("Qdraw", new CheckBox("Draw Q")); DrawingMenu.Add("WEdraw", new CheckBox("Draw W & E")); DrawingMenu.AddSeparator(1); DrawingMenu.AddLabel("Skin Designer"); DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design")); DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 9, 0, 9)); // Setting Menu SettingMenu = MagicianRyzeMenu.AddSubMenu("Settings", "Settings"); SettingMenu.AddGroupLabel("Settings"); SettingMenu.AddLabel("Automatic Leveler"); SettingMenu.Add("Ulevel", new CheckBox("Auto Leveler")); SettingMenu.AddSeparator(1); SettingMenu.AddLabel("Automatic Tear Stacker"); SettingMenu.Add("Ustack", new CheckBox("Stack Mode")); SettingMenu.AddSeparator(1); SettingMenu.AddLabel("Ultimate Mode - If Ult is active, spam QWE"); SettingMenu.Add("Uultimate", new CheckBox("Ultimate Mode", false)); SettingMenu.AddSeparator(1); SettingMenu.AddLabel("Interrupter"); SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode")); SettingMenu.Add("Winterrupt", new CheckBox("Use W to interrupt")); SettingMenu.AddLabel("Gap Closer"); SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode")); SettingMenu.Add("Wgapc", new CheckBox("Use W to gapclose")); }
public static void LoadMenu() { var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower()); var notStart = new SimpleNotification("Mario`s Gangplank Loaded", "Mario`s Gangplank sucessfully loaded."); Notifications.Show(notStart, 2500); #region Combo ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:"); ComboMenu.AddGroupLabel("-:Combo Spells:-"); ComboMenu.Add("qCombo", new CheckBox("• Use Q.")); ComboMenu.Add("eCombo", new CheckBox("• Use E.")); ComboMenu.AddLabel("If the target is close to you"); ComboMenu.Add("eComboRangeClose", new Slider("How close to put the barrel(0 on the player)", 150, 50, 600)); ComboMenu.AddLabel("If the target is far from you"); ComboMenu.Add("eComboRangeFar", new Slider("How close to put the barrel(0 on the player)", 350, 300, 800)); ComboMenu.Add("rCombo", new CheckBox("• Use R.")); ComboMenu.Add("rComboCount", new Slider("Minimun enemies to use R.(0 = Off)", 2, 0, 5)); #endregion Combo #region Harass HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:"); HarassMenu.AddGroupLabel("-:Harass Spells:-"); HarassMenu.Add("qHarass", new CheckBox("• Use Q.")); HarassMenu.Add("eHarass", new CheckBox("• Use E.", false)); HarassMenu.AddGroupLabel("-:Harass Settings:-"); HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30)); HarassMenu.AddGroupLabel("-:AutoHarass Spells:-"); HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q.")); HarassMenu.Add("eAutoHarass", new CheckBox("• Use E.")); HarassMenu.AddGroupLabel("-:AutoHarass Settings:-"); var keyAutoHarass = HarassMenu.Add("keyAutoHarass", new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T')); keyAutoHarass.OnValueChange += delegate { var notHarassOn = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. "); var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. "); Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000); }; HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45)); #endregion Harass #region LaneClear LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:"); LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-"); LaneClearMenu.Add("qLane", new CheckBox("• Use Q on Barrel.")); LaneClearMenu.Add("qLaneLast", new CheckBox("• Use Q to last hit.")); LaneClearMenu.Add("eLane", new CheckBox("• Use E.")); LaneClearMenu.Add("eKeep", new Slider("• Keep ({0}) barrels.", 1, 0, 4)); LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-"); LaneClearMenu.Add("qLaneCount", new Slider("How many minions must be in range of the barrel.", 2, 0, 6)); LaneClearMenu.Add("eLaneCount", new Slider("Minimun minions to place E.", 3, 0, 6)); LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30)); #endregion LaneClear #region JungleClear JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:"); JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-"); JungleClearMenu.Add("qJungle", new CheckBox("• Use Q Barrel.")); JungleClearMenu.Add("qJungleLast", new CheckBox("• Use Q to kill the minion.")); JungleClearMenu.Add("eJungle", new CheckBox("• Use E.")); JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-"); JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30)); #endregion JungleClear #region Lasthit LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:"); LastHitMenu.AddGroupLabel("-:LastHit Spells:-"); LastHitMenu.Add("qLast", new CheckBox("• Use Q.")); LastHitMenu.AddGroupLabel("-:LastHit Settings:-"); LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use lasthit spells.", 30)); #endregion Lasthit #region Settings SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:"); SettingsMenu.AddGroupLabel("-:Q KS Settings:-"); SettingsMenu.Add("qKS", new CheckBox("• Use Q to ks.")); SettingsMenu.AddGroupLabel("-:R Settings:-"); SettingsMenu.Add("rKS", new CheckBox("• Use R to ks.")); SettingsMenu.Add("rKSOverkill", new Slider("R KS overkill, it will only ult if target health is greater than [{0}]", 150, 50, 400)); SettingsMenu.Add("rToSaveAlly", new CheckBox("• Use R to save ally.")); SettingsMenu.Add("rToSaveAllyPercent", new Slider("• Ally health to save him msut be less than ({0}).", 15)); SettingsMenu.AddGroupLabel("-:W Settings:-"); SettingsMenu.Add("wUsePercent", new Slider("• Use W if health is lower than ({0}).", 20)); SettingsMenu.AddSeparator(1); SettingsMenu.Add("wBuffStun", new CheckBox("• Stun")); SettingsMenu.Add("wBuffSlow", new CheckBox("• Slow", false)); SettingsMenu.Add("wBuffBlind", new CheckBox("• Blind")); SettingsMenu.Add("wBuffSupression", new CheckBox("• Supression")); SettingsMenu.Add("wBuffSnare", new CheckBox("• Snare")); SettingsMenu.Add("wBuffTaunt", new CheckBox("• Taunt")); SettingsMenu.AddGroupLabel("-:Settings:-"); LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30)); #endregion Settings #region Drawings DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:"); DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready.")); DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator.")); DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent.")); DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics")); DrawingsMenu.AddGroupLabel("-:Spells:-"); DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q.")); DrawingsMenu.Add("wDraw", new CheckBox("• Draw W.")); DrawingsMenu.Add("eDraw", new CheckBox("• Draw E.")); DrawingsMenu.Add("barrelDraw", new CheckBox("• Draw Barrels.")); #endregion Drawings }
public static void Initialize() { LastHitMenu = MainMenu.AddSubMenu("Last Hit", "LastHit"); LastHitMenu.AddGroupLabel("Last Hit Options"); _q = LastHitMenu.Add("LastHit.Q", new CheckBox("Use Q")); }
public static void LoadMenu() { var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower()); var notStart = new SimpleNotification("Mario`s Wukong Loaded", "Mario`s Wukong sucessfully loaded."); Notifications.Show(notStart, 2500); #region Combo ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:"); ComboMenu.AddGroupLabel("-:Combo Settings:-"); var list = new List <string> { "Agressive", "Safe" }; var comboBox = ComboMenu.Add("comboBoxComboMode", new ComboBox("Type of combos:", list)); var key = ComboMenu.Add("keyBindModeCombo", new KeyBind("Key to change the mode", true, KeyBind.BindTypes.PressToggle, 'Z')); key.OnValueChange += delegate { comboBox.SelectedIndex = comboBox.SelectedIndex == 1 ? 0 : 1; var notModeChange = new SimpleNotification("Combo Mode Change", "Combo Mode changed to " + comboBox.SelectedText); Notifications.Show(notModeChange, 1000); }; // ComboMenu.AddSeparator(5); ComboMenu.AddGroupLabel("-:Combo Spells:-"); ComboMenu.Add("qCombo", new CheckBox("• Use Q.")); ComboMenu.Add("eCombo", new CheckBox("• Use E.")); ComboMenu.Add("rCombo", new CheckBox("• Use R.")); ComboMenu.Add("rComboCount", new Slider("Only use R if there are ({0}) near.", 2, 0, 5)); #endregion Combo #region Harass HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:"); HarassMenu.AddGroupLabel("-:Harass Spells:-"); HarassMenu.Add("qHarass", new CheckBox("• Use Q.")); HarassMenu.Add("eHarass", new CheckBox("• Use E.")); HarassMenu.AddGroupLabel("-:Harass Settings:-"); HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30)); HarassMenu.AddGroupLabel("-:AutoHarass Spells:-"); HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q.")); HarassMenu.Add("eAutoHarass", new CheckBox("• Use E.")); HarassMenu.AddGroupLabel("-:AutoHarass Settings:-"); var keyAutoHarass = HarassMenu.Add("keyAutoHarass", new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T')); keyAutoHarass.OnValueChange += delegate { var notHarassOn = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. "); var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. "); Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000); }; HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45)); #endregion Harass #region LaneClear LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:"); LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-"); LaneClearMenu.Add("qLane", new CheckBox("• Use Q.")); LaneClearMenu.Add("wLane", new CheckBox("• Use W.")); LaneClearMenu.Add("eLane", new CheckBox("• Use E.")); LaneClearMenu.Add("rLane", new CheckBox("• Use R.")); LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-"); LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30)); #endregion LaneClear #region JungleClear JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:"); JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-"); JungleClearMenu.Add("qJungle", new CheckBox("• Use Q.")); JungleClearMenu.Add("wJungle", new CheckBox("• Use W.")); JungleClearMenu.Add("eJungle", new CheckBox("• Use E.")); JungleClearMenu.Add("rJungle", new CheckBox("• Use R.")); JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-"); JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30)); #endregion JungleClear #region Lasthit LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:"); LastHitMenu.AddGroupLabel("-:LastHit Spells:-"); LastHitMenu.Add("qLast", new CheckBox("• Use Q.")); LastHitMenu.Add("wLast", new CheckBox("• Use W.")); LastHitMenu.Add("eLast", new CheckBox("• Use E.")); LastHitMenu.Add("rLast", new CheckBox("• Use R.")); LastHitMenu.AddGroupLabel("-:LastHit Settings:-"); LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30)); #endregion Lasthit #region Settings SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:"); SettingsMenu.AddGroupLabel("-:Auto R:-"); SettingsMenu.Add("rAutoCount", new Slider("Auto use R if there are ({0}) near.(0 = Off)", 3, 0, 5)); SettingsMenu.AddGroupLabel("-:Interrupt/Gapcloser:-"); SettingsMenu.Add("spellInterrupt", new CheckBox("• Use X, on interruptables spells.")); SettingsMenu.Add("spellGapcloser", new CheckBox("• Use X, on gapcloser.")); SettingsMenu.AddGroupLabel("-:Settings:-"); LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30)); #endregion Settings #region Drawings DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:"); DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready.")); DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator.")); DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent.")); DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics")); DrawingsMenu.AddGroupLabel("-:Spells:-"); DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q.")); DrawingsMenu.Add("eDraw", new CheckBox("• Draw E.")); DrawingsMenu.Add("rDraw", new CheckBox("• Draw R.")); #endregion Drawings }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Olaf")) { return; } Chat.Print("Doctor's Olaf Loaded!", Color.Orange); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400); Hydra = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400); Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange()); Menu = MainMenu.AddMenu("Olaf", "Olaf"); Menu.AddGroupLabel("Doctor7"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q]")); ComboMenu.Add("ComboW", new CheckBox("Use [W]")); ComboMenu.Add("ComboE", new CheckBox("Use [E]")); ComboMenu.AddGroupLabel("Items Settings"); ComboMenu.Add("item", new CheckBox("Use [BOTRK]")); ComboMenu.Add("hyd", new CheckBox("Use [Hydra] Reset AA")); ComboMenu.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); ComboMenu.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q]")); HarassMenu.Add("HarassW", new CheckBox("Use [W]", false)); HarassMenu.Add("HarassE", new CheckBox("Use [E]")); HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]")); LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion", false)); LaneClearMenu.Add("minQ", new Slider("Min Hit Minions Use [Q]", 3, 1, 6)); LaneClearMenu.Add("ClearE", new CheckBox("Use [E]")); LaneClearMenu.Add("ClearW", new CheckBox("Use [W]", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60)); LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.AddGroupLabel("LastHit Settings"); LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false)); LastHitMenu.Add("LhAA", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion")); LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit")); LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W]")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30)); Misc = Menu.AddSubMenu("Ultimate Settings", "Misc"); Misc.Add("Ulti", new CheckBox("Use Ultimate")); Misc.AddGroupLabel("Use [R] On"); Misc.Add("stun", new CheckBox("Stuns")); Misc.Add("rot", new CheckBox("Root")); Misc.Add("knockup", new CheckBox("Knock Ups")); Misc.Add("tunt", new CheckBox("Taunt")); Misc.Add("charm", new CheckBox("Charm", false)); Misc.Add("snare", new CheckBox("Snare")); Misc.Add("sleep", new CheckBox("Sleep", false)); Misc.Add("blind", new CheckBox("Blinds", false)); Misc.Add("disarm", new CheckBox("Disarm", false)); Misc.Add("fear", new CheckBox("Fear", false)); Misc.Add("silence", new CheckBox("Silence", false)); Misc.Add("frenzy", new CheckBox("Frenzy", false)); Misc.Add("supperss", new CheckBox("Supperss", false)); Misc.Add("slow", new CheckBox("Slows", false)); Misc.Add("poison", new CheckBox("Poisons", false)); Misc.Add("knockback", new CheckBox("Knock Backs", false)); Misc.Add("nearsight", new CheckBox("NearSight", false)); Misc.Add("poly", new CheckBox("Polymorph", false)); Misc.AddGroupLabel("Ultimate Setting"); Misc.Add("healulti", new Slider("Min Health Use [R]", 60)); Misc.Add("Rulti", new Slider("Min Enemies Around Use [R]", 1, 1, 5)); Misc.AddGroupLabel("Ultimate Delay"); Misc.Add("delay", new Slider("Humanizer Delay", 0, 0, 1000)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.AddGroupLabel("Skin Settings"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6")); Drawings = Menu.AddSubMenu("Misc Settings", "Draw"); Drawings.AddGroupLabel("Misc Setting"); Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false)); Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser")); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawings.Add("Axe", new CheckBox("Axe Draw")); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Orbwalker.OnPostAttack += ResetAttack; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Evelynn") { return; } Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q, 475); W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 225); _r = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150); _eveMenu = MainMenu.AddMenu("CH最强合集-寡妇", "bloodimireve"); _eveMenu.AddGroupLabel("Bloodimir.Evelynn"); _eveMenu.AddSeparator(); _eveMenu.AddLabel("CH最强合集-寡妇 V1.0.1.0"); ComboMenu = _eveMenu.AddSubMenu("连招", "sbtw"); ComboMenu.AddGroupLabel("连招设置"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("使用 Q")); ComboMenu.Add("usecombow", new CheckBox("使用 W")); ComboMenu.Add("usecomboe", new CheckBox("使用 E")); ComboMenu.Add("usecombor", new CheckBox("使用 R")); ComboMenu.Add("useignite", new CheckBox("使用 点燃")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("最低敌人数量使用 R", 1, 0, 5)); _drawMenu = _eveMenu.AddSubMenu("线圈", "drawings"); _drawMenu.AddGroupLabel("线圈设置"); _drawMenu.AddSeparator(); _drawMenu.Add("drawq", new CheckBox("显示 Q")); _drawMenu.Add("drawr", new CheckBox("显示 R")); _drawMenu.Add("drawe", new CheckBox("显示 R")); LaneJungleClear = _eveMenu.AddSubMenu("清野/清线", "lanejungleclear"); LaneJungleClear.AddGroupLabel("清野/清线设置"); LaneJungleClear.Add("LCE", new CheckBox("使用 E")); LaneJungleClear.Add("LCQ", new CheckBox("使用 Q")); LastHitMenu = _eveMenu.AddSubMenu("尾兵", "lasthit"); LastHitMenu.AddGroupLabel("尾兵设置"); LastHitMenu.Add("LHQ", new CheckBox("使用 Q")); _miscMenu = _eveMenu.AddSubMenu("杂项", "miscmenu"); _miscMenu.AddGroupLabel("抢头"); _miscMenu.AddSeparator(); _miscMenu.Add("kse", new CheckBox("抢头 E")); _miscMenu.AddSeparator(); _miscMenu.Add("ksq", new CheckBox("抢头 Q")); _miscMenu.Add("asw", new CheckBox("自动/智能 W")); _skinMenu = _eveMenu.AddSubMenu("换肤", "skin"); _skinMenu.AddGroupLabel("选择想要使用的皮肤"); var skinchange = _skinMenu.Add("sID", new Slider("皮肤", 2, 0, 4)); var sid = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Tick; Drawing.OnDraw += OnDraw; }
public void InitMenu() { Menu = MainMenu.AddMenu(GCharname, GCharname); Menu.AddLabel("版本: " + GVersion); Menu.AddSeparator(); Menu.AddLabel("汉化By Triste"); DrawMenu = Menu.AddSubMenu("显示 - " + GCharname, GCharname + "显示"); DrawMenu.AddGroupLabel("显示"); DrawMenu.Add("drawReady", new CheckBox("仅在技能无冷却时显示.", false)); DrawMenu.Add("drawDisable", new CheckBox("关闭所有技能范围显示")); DrawMenu.AddSeparator(); //Q DrawMenu.Add("drawQ", new CheckBox("画出 Q")); DrawMenu.AddColorItem("colorQ"); DrawMenu.AddWidthItem("widthQ"); //W DrawMenu.Add("drawW", new CheckBox("画出 W")); DrawMenu.AddColorItem("colorW"); DrawMenu.AddWidthItem("widthW"); //E DrawMenu.Add("drawE", new CheckBox("画出 E")); DrawMenu.AddColorItem("colorE"); DrawMenu.AddWidthItem("widthE"); //R DrawMenu.Add("drawR", new CheckBox("画出 R")); DrawMenu.AddColorItem("colorR"); DrawMenu.AddWidthItem("widthR"); ComboMenu = Menu.AddSubMenu("连招 - " + GCharname, GCharname + "连招"); ComboMenu.AddGroupLabel("连招"); ComboMenu.Add("comboQ", new CheckBox("使用 Q", true)); ComboMenu.Add("comboW", new CheckBox("使用 W", true)); ComboMenu.Add("comboE", new CheckBox("使用 E", true)); ComboMenu.Add("comboR", new CheckBox("使用 R", true)); ComboMenu.AddGroupLabel("连招杂项"); ComboMenu.Add("castWifQnotLand", new CheckBox("Q还没爆之前使用W", true)); ComboMenu.Add("disableAA", new CheckBox("连招时不进行A", false)); ComboMenu.AddLabel("使用 R 设置"); ComboMenu.Add("flashCombo", new CheckBox("闪现R如果敌人可击杀", false)); ComboMenu.Add("rsMinEnemiesForR", new Slider("使用 R: 最小敌人数", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("骚扰 - " + GCharname, GCharname + "骚扰"); HarassMenu.AddGroupLabel("骚扰"); HarassMenu.Add("hsQ", new CheckBox("使用 Q", true)); HarassMenu.Add("hsW", new CheckBox("使用 W", true)); HarassMenu.Add("hsE", new CheckBox("使用 E", true)); HarassMenu.AddGroupLabel("骚扰杂项"); HarassMenu.Add("disableAAHS", new CheckBox("骚扰时不A", false)); HarassMenu.Add("hsPE", new CheckBox("仅在目标中毒时使用E", true)); LaneClearMenu = Menu.AddSubMenu("清兵 - " + GCharname, GCharname + "清兵"); LaneClearMenu.AddGroupLabel("清兵"); LaneClearMenu.Add("lcQ", new CheckBox("使用 Q", true)); LaneClearMenu.Add("lcW", new CheckBox("使用 W", true)); LaneClearMenu.Add("lcE", new CheckBox("使用 E", true)); LaneClearMenu.Add("lcKE", new CheckBox("仅使用E来击杀小兵", false)); LaneClearMenu.Add("lcPE", new CheckBox("仅在中毒小兵上使用E", true)); LastHitMenu = Menu.AddSubMenu("最后一刀 - " + GCharname, GCharname + "最后一刀"); LastHitMenu.AddGroupLabel("最后一刀"); LastHitMenu.Add("lhQ", new CheckBox("使用 Q", true)); LastHitMenu.Add("lhW", new CheckBox("使用 W", true)); LastHitMenu.Add("lhE", new CheckBox("使用 E", true)); JungleClearMenu = Menu.AddSubMenu("清野 - " + GCharname, GCharname + "清野"); JungleClearMenu.AddGroupLabel("清野"); JungleClearMenu.Add("jcQ", new CheckBox("使用 Q", true)); JungleClearMenu.Add("jcW", new CheckBox("使用 W", true)); JungleClearMenu.Add("jcE", new CheckBox("使用 E", true)); JungleClearMenu.Add("jcKE", new CheckBox("仅使用E来击杀", false)); JungleClearMenu.Add("jcPE", new CheckBox("仅在中毒野怪上使用E", true)); MiscMenu = Menu.AddSubMenu("其他杂项 - " + GCharname, GCharname + "其他杂项"); MiscMenu.Add("skin", new Slider("皮肤切换: ", 1, 1, 5)); MiscMenu.Add("poisonForE", new CheckBox("仅在中毒敌人上使用E", true)); MiscMenu.Add("miscDelayE", new Slider("使用E延迟: ", 150, 0, 500)); MiscMenu.Add("ksOn", new CheckBox("开启抢人头", true)); MiscMenu.Add("miscAntiGapW", new CheckBox("使用 W 防接近", true)); MiscMenu.Add("miscAntiGapR", new CheckBox("使用R防接近与打断技能", true)); MiscMenu.Add("miscAntiMissR", new CheckBox("不使用R如果敌人消失", true)); MiscMenu.Add("miscMinHpAntiGap", new Slider("最小防接近使用R血量", 40, 0, 100)); MiscMenu.Add("miscInterruptDangerous", new CheckBox("打断敌人危险技能", true)); }
public void InitMenu() { Menu = MainMenu.AddMenu(GCharname, GCharname); Menu.AddLabel("Version: " + GVersion); Menu.AddSeparator(); Menu.AddLabel("By MrArticuno"); DrawMenu = Menu.AddSubMenu("Draw - " + GCharname, GCharname + "Draw"); DrawMenu.AddGroupLabel("Göstergeler"); DrawMenu.Add("drawReady", new CheckBox("Büyüleri hazırsa göster.", false)); DrawMenu.Add("drawDisable", new CheckBox("Göstergeleri kapat")); DrawMenu.AddSeparator(); //Q DrawMenu.Add("drawQ", new CheckBox("Göster Q")); DrawMenu.AddColorItem("colorQ"); DrawMenu.AddWidthItem("widthQ"); //W DrawMenu.Add("drawW", new CheckBox("Göster W")); DrawMenu.AddColorItem("colorW"); DrawMenu.AddWidthItem("widthW"); //E DrawMenu.Add("drawE", new CheckBox("Göster E")); DrawMenu.AddColorItem("colorE"); DrawMenu.AddWidthItem("widthE"); //R DrawMenu.Add("drawR", new CheckBox("Göster R")); DrawMenu.AddColorItem("colorR"); DrawMenu.AddWidthItem("widthR"); ComboMenu = Menu.AddSubMenu("Combo - " + GCharname, GCharname + "Combo"); ComboMenu.AddGroupLabel("Combo"); ComboMenu.Add("comboQ", new CheckBox("Kullan Q", true)); ComboMenu.Add("comboW", new CheckBox("Kullan W", true)); ComboMenu.Add("comboE", new CheckBox("Kullan E", true)); ComboMenu.Add("comboR", new CheckBox("Kullan R", true)); ComboMenu.AddGroupLabel("Combo Ek"); ComboMenu.Add("castWifQnotLand", new CheckBox("Eğer Q tutmamışsa W Kullanma", true)); ComboMenu.Add("disableAA", new CheckBox("Komboda AA kullanma", false)); ComboMenu.AddLabel("bu özelllikler en uygun ulti içindir"); ComboMenu.Add("flashCombo", new CheckBox("Flash+ulti kullanımı", false)); ComboMenu.Add("rsMinEnemiesForR", new Slider("R için en az düşman: ", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass - " + GCharname, GCharname + "Harass"); HarassMenu.AddGroupLabel("Dürtme"); HarassMenu.Add("hsQ", new CheckBox("Kullan Q", true)); HarassMenu.Add("hsW", new CheckBox("Kullan W", true)); HarassMenu.Add("hsE", new CheckBox("Kullan E", true)); HarassMenu.AddGroupLabel("Dürtme Ek"); HarassMenu.Add("disableAAHS", new CheckBox("Dürterken AA devredışı", false)); HarassMenu.Add("hsPE", new CheckBox("Eyi sadece zehirlenmişse", true)); LaneClearMenu = Menu.AddSubMenu("Lane Clear - " + GCharname, GCharname + "LaneClear"); LaneClearMenu.AddGroupLabel("Lane Temizleme"); LaneClearMenu.Add("lcQ", new CheckBox("Kullan Q", true)); LaneClearMenu.Add("lcW", new CheckBox("Kullan W", true)); LaneClearMenu.Add("lcE", new CheckBox("Kullan E", true)); LaneClearMenu.Add("lcKE", new CheckBox("E sadece ölecekse(minyon)", false)); LaneClearMenu.Add("lcPE", new CheckBox("E sadece zehirlendiyse(minyon)", true)); LastHitMenu = Menu.AddSubMenu("Last Hit - " + GCharname, GCharname + "LastHit"); LastHitMenu.AddGroupLabel("Son Vuruş"); LastHitMenu.Add("lhQ", new CheckBox("Kullan Q", true)); LastHitMenu.Add("lhW", new CheckBox("Kullan W", true)); LastHitMenu.Add("lhE", new CheckBox("Kullan E", true)); JungleClearMenu = Menu.AddSubMenu("Jungle Clear - " + GCharname, GCharname + "JungleClear"); JungleClearMenu.AddGroupLabel("Orman Temizleme"); JungleClearMenu.Add("jcQ", new CheckBox("Kullan Q", true)); JungleClearMenu.Add("jcW", new CheckBox("Kullan W", true)); JungleClearMenu.Add("jcE", new CheckBox("Kullan E", true)); JungleClearMenu.Add("jcKE", new CheckBox("Sadece ölecekse", false)); JungleClearMenu.Add("jcPE", new CheckBox("Sadece Zehirlenmişse", true)); MiscMenu = Menu.AddSubMenu("Misc - " + GCharname, GCharname + "Misc"); MiscMenu.Add("skin", new Slider("Skin Değiştirici: ", 1, 1, 5)); MiscMenu.Add("poisonForE", new CheckBox("Zehirlenmiş hedefe Sürekli E", true)); MiscMenu.Add("miscDelayE", new Slider("E gecikmesi: ", 150, 0, 500)); MiscMenu.Add("ksOn", new CheckBox("Ks atmayı dene", true)); MiscMenu.Add("miscAntiGapW", new CheckBox("Anti Gap Closer W", true)); MiscMenu.Add("miscAntiGapR", new CheckBox("Anti Gap Closer R", true)); MiscMenu.Add("miscAntiMissR", new CheckBox("R ile blokla", true)); MiscMenu.Add("miscMinHpAntiGap", new Slider("R kullanmak için can: ", 40, 0, 100)); MiscMenu.Add("miscInterruptDangerous", new CheckBox("Interrupt Tehlikeli büyülerde", true)); }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Kassadin") { return; } Bootstrap.Init(null); Q = new Spell.Targeted(SpellSlot.Q, 650); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Cone, 500, int.MaxValue, 10); R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150); _abilitySequence = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 }; if (HasSpell("summonerdot")) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } var flashSlot = Kassawin.GetSpellSlotFromName("summonerflash"); Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear); KassaMenu = MainMenu.AddMenu("BloodimirKassadin", "bloodimirkassa"); KassaMenu.AddGroupLabel("Bloodimir Kassadin v1.0.0.1"); KassaMenu.AddSeparator(); KassaMenu.AddLabel("Bloodimir Kassadin v1.0.0.1"); ComboMenu = KassaMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.Add("useignite", new CheckBox("Use Ignite")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Maximum enemy to R", 2, 0, 5)); HarassMenu = KassaMenu.AddSubMenu("HarassMenu", "Harass"); HarassMenu.Add("useQHarass", new CheckBox("Use Q")); HarassMenu.Add("useEHarass", new CheckBox("Use E")); LaneJungleClear = KassaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCR", new CheckBox("Use R")); LastHitMenu = KassaMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("LHQ", new CheckBox("Use Q")); LastHitMenu.Add("LHW", new CheckBox("Use W")); DrawMenu = KassaMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); MiscMenu = KassaMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("int", new CheckBox("TRY to Interrupt Channeled Spells")); MiscMenu.Add("gape", new CheckBox("Anti Gapcloser E")); MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells")); MiscMenu.Add("resetaa", new CheckBox("Auto Reset AA with W")); FleeMenu = KassaMenu.AddSubMenu("Flee", "Flee"); FleeMenu.Add("fleer", new CheckBox("Use R to Mouse Pos")); SkinMenu = KassaMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 5)); var sid = new[] { "Default", "Festival", "Deep One", "Pre-Void", "Harbinger", "Cosmic Reaver" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interruptererer; Orbwalker.OnPostAttack += Reset; Drawing.OnDraw += OnDraw; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Olaf")) { return; } Chat.Print("Olaf7 Loaded!", Color.Red); Chat.Print("Doctor7", Color.GreenYellow); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400); Hydra = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400); Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange()); Menu = MainMenu.AddMenu("Olaf7", "Olaf"); Menu.AddGroupLabel("Olaf7"); Menu.AddLabel(" Leave Feedback For Any Bugs "); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q]")); ComboMenu.Add("ComboW", new CheckBox("Use [W]")); ComboMenu.Add("ComboE", new CheckBox("Use [E]")); ComboMenu.Add("item", new CheckBox("Use [Item]")); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q]")); HarassMenu.Add("HarassW", new CheckBox("Use [W]", false)); HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]")); LaneClearMenu.Add("minq", new Slider("Min Minions Use [Q]", 3, 1, 6)); LaneClearMenu.Add("ClearW", new CheckBox("Use [W]")); LaneClearMenu.Add("Wlc", new Slider("Health For [W] LaneClear", 80)); LaneClearMenu.Add("ClearE", new CheckBox("Use [E]")); LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60)); LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.AddGroupLabel("LastHit Settings"); LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit")); LastHitMenu.Add("LastAA", new CheckBox("Only [E] If Out AA Range", false)); LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false)); LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W]")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30)); Misc = Menu.AddSubMenu("Ultimate Settings", "Misc"); Misc.AddGroupLabel("Ultimate Setting"); Misc.Add("Ulti", new CheckBox("Use Ultimate")); Misc.AddGroupLabel("Use [R] On"); Misc.Add("stun", new CheckBox("Stuns")); Misc.Add("knockup", new CheckBox("Knock Ups")); Misc.Add("tunt", new CheckBox("Taunt")); Misc.Add("charm", new CheckBox("Charm", false)); Misc.Add("snare", new CheckBox("Snare")); Misc.Add("sleep", new CheckBox("Sleep", false)); Misc.Add("blind", new CheckBox("Blinds", false)); Misc.Add("disarm", new CheckBox("Disarm", false)); Misc.Add("fear", new CheckBox("Fear", false)); Misc.Add("silence", new CheckBox("Silence", false)); Misc.Add("frenzy", new CheckBox("Frenzy", false)); Misc.Add("supperss", new CheckBox("Supperss", false)); Misc.Add("slow", new CheckBox("Slows", false)); Misc.Add("poison", new CheckBox("Poisons", false)); Misc.Add("knockback", new CheckBox("Knock Backs", false)); Misc.Add("nearsight", new CheckBox("NearSight", false)); Misc.Add("poly", new CheckBox("Polymorph", false)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.AddGroupLabel("Skin Settings"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5")); Drawings = Menu.AddSubMenu("Misc Settings", "Draw"); Drawings.AddGroupLabel("Misc Setting"); Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false)); Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser")); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; }
private static void Loading_OnLoadingComplete(EventArgs args) { //Makes sure you are Katarina fdsgfdgdsgsd if (User.ChampionName != "Katarina") { return; } //print("P1 Katarina loaded! Have fun!"); //Creates the menu KatarinaMenu = MainMenu.AddMenu("Katarina", "P1 Katarina"); //Creates a SubMenu ComboMenu = KatarinaMenu.AddSubMenu("Combo"); LaneClearMenu = KatarinaMenu.AddSubMenu("Lane Clear"); LastHitMenu = KatarinaMenu.AddSubMenu("LastHit"); HarassAutoharass = KatarinaMenu.AddSubMenu("Harass/AutoHarass"); KillStealMenu = KatarinaMenu.AddSubMenu("Killsteal"); HumanizerMenu = KatarinaMenu.AddSubMenu("Humanizer"); DrawingsMenu = KatarinaMenu.AddSubMenu("Drawings"); //Checkbox should be - YourMenu.Add(String MenuID, new CheckBox(String DisplayName, bool DefaultValue); ComboMenu.AddLabel("I don't know what to have here, if you have any suggestions please tell me"); ComboMenu.Add("EAA", new CheckBox("Only use e if target is outside auto attack range")); LaneClearMenu.Add("Q", new CheckBox("Use Q in lane clear")); LastHitMenu.Add("Q", new CheckBox("Use Q in last hit")); HarassAutoharass.Add("HQ", new CheckBox("Use Q in harass")); HarassAutoharass.Add("CC", new CheckBox("Use E reset combo in harass")); HarassAutoharass.Add("AHQ", new CheckBox("Use Q in auto harass")); KillStealMenu.Add("Q", new CheckBox("Use Q to killsteal")); KillStealMenu.Add("R", new CheckBox("Use R to killsteal", false)); HumanizerMenu.Add("Q", new Slider("Q delay", 0, 0, 1000)); HumanizerMenu.Add("W", new Slider("W delay", 0, 0, 1000)); HumanizerMenu.Add("E", new Slider("E delay", 0, 0, 1000)); HumanizerMenu.Add("R", new Slider("R delay", 0, 0, 1000)); //Giving Q values Q = new Spell.Targeted(SpellSlot.Q, 600, DamageType.Magical); //Giving W values W = new Spell.Active(SpellSlot.W, 150, DamageType.Magical); //Giving E values E = new Spell.Skillshot(SpellSlot.E, 700, EloBuddy.SDK.Enumerations.SkillShotType.Circular, 7, null, 150, DamageType.Magical); //Giving R values R = new Spell.Active(SpellSlot.R, 550, DamageType.Magical); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); //Creating menu using foreach from a list foreach (var Spell in SpellList) { //Creates checkboxes using Spell Slot DrawingsMenu.Add(Spell.Slot.ToString(), new CheckBox("Draw " + Spell.Slot)); } //used for drawings that dont override game UI Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Damage_Indicator; //Drawing.OnEndScene += Draw_Q; //happens on every core tick Game.OnTick += Game_OnTick; Game.OnTick += Game_OnTick1; }
public static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Ryze")) { return; } Chat.Print("Ryze7 Loaded!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1500, 50); Q.AllowedCollisionCount = 0; W = new Spell.Targeted(SpellSlot.W, 600); E = new Spell.Targeted(SpellSlot.E, 600); R = new Spell.Active(SpellSlot.R); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Seraph = new Item(3040); Tahoma16B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); menu = MainMenu.AddMenu("Ryze7", "Ryze"); ComboMenu = menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]")); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.Add("ComboE", new CheckBox("Spell [E]")); ComboMenu.Add("ComboR", new CheckBox("Spell [R]")); ComboMenu.Add("Human", new Slider("Humanizer Delay", 1, 0, 1000)); HarassMenu = menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.Add("HQ", new CheckBox("Spell [Q]")); HarassMenu.Add("HW", new CheckBox("Spell [W]")); HarassMenu.Add("HE", new CheckBox("Spell [E]")); HarassMenu.Add("HarassMana", new Slider("Min Mana For Harass", 50, 0, 100)); LastHitMenu = menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.Add("LHQ", new CheckBox("Spell [Q]")); LastHitMenu.Add("LHW", new CheckBox("Spell [W]", false)); LastHitMenu.Add("LHE", new CheckBox("Spell [E]", false)); LastHitMenu.Add("LastHitMana", new Slider("Min Mana For LastHit", 50, 0, 100)); ClearMenu = menu.AddSubMenu("LaneClear Settings", "LaneClear"); ClearMenu.Add("LCQ", new CheckBox("Spell [Q]")); ClearMenu.Add("LCW", new CheckBox("Spell [W]")); ClearMenu.Add("LCE", new CheckBox("Spell [E]")); ClearMenu.Add("LCR", new CheckBox("Spell [R]", false)); ClearMenu.Add("LaneClearMana", new Slider("Min Mana For LaneClear", 50, 0, 100)); JungleMenu = menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.Add("JQ", new CheckBox("Spell [Q]")); JungleMenu.Add("JW", new CheckBox("Spell [W]")); JungleMenu.Add("JE", new CheckBox("Spell [E]")); JungleMenu.Add("JR", new CheckBox("Spell [R]", false)); JungleMenu.Add("JungleClearMana", new Slider("Min Mana For JungleClear", 30, 0, 100)); KsMenu = menu.AddSubMenu("KillSteal Settings", "KillSteal"); KsMenu.AddGroupLabel("KillSteal Setting"); KsMenu.Add("KsQ", new CheckBox("Spell [Q]")); KsMenu.Add("KsW", new CheckBox("Spell [W]")); KsMenu.Add("KsE", new CheckBox("Spell [E]")); KsMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal")); Misc = menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddGroupLabel("AntiGap Setting"); Misc.Add("gapw", new CheckBox("AntiGap [W]")); Misc.AddGroupLabel("Seraph Settings"); Misc.Add("dts", new CheckBox("Use Seraph")); Misc.Add("Hp", new Slider("HP For Seraph", 30, 0, 100)); Misc.AddGroupLabel("Skin Changer"); Misc.Add("checkSkin", new CheckBox("Use Skin Changer")); Misc.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); Autos = menu.AddSubMenu("Stacks Settings", "Stacks"); Autos.Add("AutoStack", new KeyBind("Auto Stack", false, KeyBind.BindTypes.PressToggle, 'T')); Autos.Add("MaxStack", new Slider("Keep Max Stacks", 2, 1, 5)); Autos.Add("StackMana", new Slider("Min Mana AutoStack", 70, 0, 100)); Autos.Add("DrawSt", new CheckBox("Draw Stacks")); Draws = menu.AddSubMenu("Drawings Settings", "Draw"); Draws.AddSeparator(10); Draws.AddGroupLabel("Drawings Setting"); Draws.Add("DrawQ", new CheckBox("Q Range")); Draws.Add("DrawW", new CheckBox("W / E Range")); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += AntiGapCloser; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Evelynn") { return; } Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q, 475); W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 225); _r = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150); _eveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve"); _eveMenu.AddGroupLabel("Bloodimir.Evelynn"); _eveMenu.AddSeparator(); _eveMenu.AddLabel("Bloodimir Evelynn V1.0.1.0 - çeviri tradana"); ComboMenu = _eveMenu.AddSubMenu("Kombo", "sbtw"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Q Kullan")); ComboMenu.Add("usecombow", new CheckBox("W Kullan")); ComboMenu.Add("usecomboe", new CheckBox("E Kullan")); ComboMenu.Add("usecombor", new CheckBox("R Kullan")); ComboMenu.Add("useignite", new CheckBox("Tutuştur Kullan")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("R için gerekli kişi sayısı", 1, 0, 5)); _drawMenu = _eveMenu.AddSubMenu("Gösterge", "drawings"); _drawMenu.AddGroupLabel("Gösterge"); _drawMenu.AddSeparator(); _drawMenu.Add("drawq", new CheckBox("Göster Q")); _drawMenu.Add("drawr", new CheckBox("Göster R")); _drawMenu.Add("drawe", new CheckBox("Göster R")); LaneJungleClear = _eveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Ayarları"); LaneJungleClear.Add("LCE", new CheckBox("E Kullan")); LaneJungleClear.Add("LCQ", new CheckBox("Q Kullan")); LastHitMenu = _eveMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Ayarları"); LastHitMenu.Add("LHQ", new CheckBox("Q Kullan")); _miscMenu = _eveMenu.AddSubMenu("Ek Menu", "miscmenu"); _miscMenu.AddGroupLabel("KS"); _miscMenu.AddSeparator(); _miscMenu.Add("kse", new CheckBox("KS için E")); _miscMenu.AddSeparator(); _miscMenu.Add("ksq", new CheckBox("KS için Q")); _miscMenu.Add("asw", new CheckBox("Otomatik W")); _skinMenu = _eveMenu.AddSubMenu("Skin değiştirici", "skin"); _skinMenu.AddGroupLabel("İstediğiniz Görünümü Seçin"); var skinchange = _skinMenu.Add("sID", new Slider("Skin", 2, 0, 4)); var sid = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Tick; Drawing.OnDraw += OnDraw; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Evelynn") { return; } Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q, 475); W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 225); R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150); EveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve"); EveMenu.AddGroupLabel("Bloodimir.Evelynn"); EveMenu.AddSeparator(); EveMenu.AddLabel("Bloodimir Evelynn V1.0.1.0"); ComboMenu = EveMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.Add("useignite", new CheckBox("Use Ignite")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5)); DrawMenu = EveMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawr", new CheckBox("Draw R")); DrawMenu.Add("drawe", new CheckBox("Draw R")); LaneJungleClear = EveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LastHitMenu = EveMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("LHQ", new CheckBox("Use Q")); MiscMenu = EveMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("kse", new CheckBox("KS using E")); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("asw", new CheckBox("Auto/Smart W")); SkinMenu = EveMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 2, 0, 4)); var sid = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Tick; Drawing.OnDraw += OnDraw; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Ziggs") { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Circular, 300, 1700, 130); Q2 = new Spell.Skillshot(SpellSlot.Q, 1125, SkillShotType.Circular, 250 + Q.CastDelay, 1700, 130); Q3 = new Spell.Skillshot(SpellSlot.Q, 1400, SkillShotType.Circular, 300 + Q2.CastDelay, 1700, 140); W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Circular, 250, 1750, 275); E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 500, 1750, 100); R = new Spell.Skillshot(SpellSlot.R, 5300, SkillShotType.Circular, 2000, 1500, 500); if (HasSpell("summonerdot")) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } ZiggsMenu = MainMenu.AddMenu("BloodimirZiggs", "bloodimirziggs"); ZiggsMenu.AddGroupLabel("Bloodimir Ziggs v2.0.2.0"); ZiggsMenu.AddSeparator(); ZiggsMenu.AddLabel("Bloodimir Ziggs v2.0.2.0"); ComboMenu = ZiggsMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.Add("useignite", new CheckBox("Use Ignite")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5)); ComboMenu.Add("wslider", new Slider("Enemy Health Percentage to use W", 15)); ComboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false)); HarassMenu = ZiggsMenu.AddSubMenu("HarassMenu", "Harass"); HarassMenu.Add("useQHarass", new CheckBox("Use Q")); HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false)); LaneJungleClear = ZiggsMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LastHitMenu = ZiggsMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("LHQ", new CheckBox("Use Q")); DrawMenu = ZiggsMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("draww", new CheckBox("Draw W")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawaa", new CheckBox("Draw AA")); MiscMenu = ZiggsMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells")); MiscMenu.Add("gapw", new CheckBox("Anti Gapcloser W")); MiscMenu.Add("peel", new CheckBox("Peel From Melees")); FleeMenu = ZiggsMenu.AddSubMenu("Flee", "Flee"); FleeMenu.Add("fleew", new CheckBox("Use W to mousePos")); PredMenu = ZiggsMenu.AddSubMenu("Prediction", "pred"); PredMenu.AddGroupLabel("Q Hitchance"); var qslider = PredMenu.Add("hQ", new Slider("Q HitChance", 2, 0, 2)); var qMode = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" }; qslider.DisplayName = qMode[qslider.CurrentValue]; qslider.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = qMode[changeArgs.NewValue]; }; PredMenu.AddGroupLabel("E Hitchance"); var eslider = PredMenu.Add("hE", new Slider("E HitChance", 2, 0, 2)); var eMode = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" }; eslider.DisplayName = eMode[eslider.CurrentValue]; eslider.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = eMode[changeArgs.NewValue]; }; PredMenu.AddGroupLabel("W Hitchance"); var wslider = PredMenu.Add("hW", new Slider("W HitChance", 1, 0, 2)); var wMode = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" }; wslider.DisplayName = wMode[wslider.CurrentValue]; wslider.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = wMode[changeArgs.NewValue]; }; SkinMenu = ZiggsMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 5)); var sID = new[] { "Default", "Mad Scientist", "Major", "Pool Party", "Snow Day", "Master Arcanist" }; skinchange.DisplayName = sID[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sID[changeArgs.NewValue]; }; Game.OnUpdate += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interruptererer; Game.OnWndProc += Game_OnWndProc; Drawing.OnDraw += OnDraw; }
/// <summary> /// Creates the Menu. /// </summary> public static void Create() { DefaultMenu = MainMenu.AddMenu("NidaleeBuddyEvolution", "NidaleeBuddyEvolution"); DefaultMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); DefaultMenu.AddGroupLabel( "Any unauthorized redistribution without credits will result in severe consequences."); DefaultMenu.AddGroupLabel("Thank you for using this addon and have a fun time!"); #region Combo ComboMenu = DefaultMenu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQH", new CheckBox("Cast Q in Human Form")); ComboMenu.Add("useWH", new CheckBox("Cast W in Human Form")); ComboMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form")); ComboMenu.Add("useWC", new CheckBox("Cast W in Cougar Form")); ComboMenu.Add("useEC", new CheckBox("Cast E in Cougar Form")); ComboMenu.Add("useR", new CheckBox("Cast R during Combo")); ComboMenu.AddLabel("Prediction Settings - Human Form"); ComboMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); ComboMenu.Add("predWH", new Slider("Cast W if HitChance % is x", 75)); ComboMenu.AddLabel("Prediction Settings - Cougar Form"); ComboMenu.Add("predWC", new Slider("Cast W if HitChance % is x", 75)); ComboMenu.Add("predEC", new Slider("Cast E if HitChance % is x", 75)); #endregion #region Last Hit LastHitMenu = DefaultMenu.AddSubMenu("Last Hit", "Last Hit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form on Unkillable Minion")); LastHitMenu.Add("useEC", new CheckBox("Cast E in Cougar Form on Unkillable Minion", false)); LastHitMenu.Add("useR", new CheckBox("Cast R in Cougar Form if Out of Range")); #endregion #region Harass HarassMenu = DefaultMenu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQH", new CheckBox("Cast Q in Human Form")); HarassMenu.Add("useR", new CheckBox("Cast R to force Human Form")); HarassMenu.AddLabel("Prediction Settings - Human Form"); HarassMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); #endregion #region Kill Steal KillStealMenu = DefaultMenu.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("useQH", new CheckBox("Cast Q to Kill Steal")); KillStealMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite", false)); #endregion #region Lane Clear LaneClearMenu = DefaultMenu.AddSubMenu("Lane Clear", "Lane Clear"); LaneClearMenu.AddGroupLabel("Lane Clear Settings"); LaneClearMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form")); LaneClearMenu.Add("useWC", new CheckBox("Cast W in Cougar Form")); LaneClearMenu.Add("useEC", new CheckBox("Cast E in Cougar Form")); LaneClearMenu.Add("useR", new CheckBox("Cast R during Lane Clear", false)); LaneClearMenu.AddLabel("Farm Settings - Cougar Form"); LaneClearMenu.Add("predWC", new Slider("Cast W if it hits x minions", 1, 1, 7)); LaneClearMenu.Add("predEC", new Slider("Cast E if HitChance % is x", 75)); #endregion #region Jungle Clear JungleClearMenu = DefaultMenu.AddSubMenu("Jungle Clear", "Jungle Clear"); JungleClearMenu.AddGroupLabel("Jungle Clear Settings"); JungleClearMenu.Add("useQH", new CheckBox("Cast Q in Human Form")); JungleClearMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form")); JungleClearMenu.Add("useWC", new CheckBox("Cast W in Cougar Form")); JungleClearMenu.Add("useEC", new CheckBox("Cast E in Cougar Form")); JungleClearMenu.Add("useR", new CheckBox("Cast R during Jungle Clear")); JungleClearMenu.AddLabel("Prediction Settings"); JungleClearMenu.Add("predQH", new Slider("Cast Q in Human Form if HitChance % is x", 75)); JungleClearMenu.Add("predWC", new Slider("Cast W in Cougar Form if HitChance % is x", 75)); JungleClearMenu.Add("predEC", new Slider("Cast E in Cougar Form if HitChance % is x", 75)); #endregion #region Jungle Steal JungleStealMenu = DefaultMenu.AddSubMenu("Jungle Steal", "Jungle Steal"); JungleStealMenu.AddGroupLabel("Jungle Steal Settings"); JungleStealMenu.Add("useQH", new CheckBox("Cast Q to Steal Jungle")); JungleStealMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); JungleStealMenu.Add("useSmite", new CheckBox("Cast Smite to Steal Jungle")); JungleStealMenu.Add("toggleK", new KeyBind("Toggle Smite", true, KeyBind.BindTypes.PressToggle, 'M')); JungleStealMenu.AddGroupLabel("Jungle Camp Toggle"); switch (Game.MapId) { case GameMapId.SummonersRift: JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("SRU_Baron", new CheckBox("Baron")); JungleStealMenu.Add("SRU_Dragon", new CheckBox("Dragon")); JungleStealMenu.AddLabel("Buffs"); JungleStealMenu.Add("SRU_Blue", new CheckBox("Blue")); JungleStealMenu.Add("SRU_Red", new CheckBox("Red")); JungleStealMenu.AddLabel("Small Camps"); JungleStealMenu.Add("SRU_Gromp", new CheckBox("Gromp", false)); JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false)); JungleStealMenu.Add("SRU_Krug", new CheckBox("Krug", false)); JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false)); JungleStealMenu.Add("Sru_Crab", new CheckBox("Skuttles", false)); break; case GameMapId.TwistedTreeline: JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("Vilemaw")); JungleStealMenu.AddLabel("Camps"); JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("Wraith")); JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("Wraith")); JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("Wolf")); JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("Wolf")); break; } #endregion #region Drawing DrawingMenu = DefaultMenu.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Settings"); DrawingMenu.Add("drawQH", new CheckBox("Draw Javelin Range")); DrawingMenu.Add("drawPred", new CheckBox("Draw Javelin Prediction")); DrawingMenu.AddLabel("DamageIndicator"); DrawingMenu.Add("draw.Damage", new CheckBox("Draw Damage")); DrawingMenu.Add("draw.Q", new CheckBox("Calculate Q Damage")); DrawingMenu.Add("draw.W", new CheckBox("Calculate W Damage")); DrawingMenu.Add("draw.E", new CheckBox("Calculate E Damage")); DrawingMenu.Add("draw.R", new CheckBox("Calculate R Damage", false)); DrawingMenu.AddLabel("Color Settings for Damage Indicator"); DrawingMenu.Add("draw_Alpha", new Slider("Alpha: ", 255, 0, 255)); DrawingMenu.Add("draw_Red", new Slider("Red: ", 255, 0, 255)); DrawingMenu.Add("draw_Green", new Slider("Green: ", 0, 0, 255)); DrawingMenu.Add("draw_Blue", new Slider("Blue: ", 0, 0, 255)); #endregion #region Misc MiscMenu = DefaultMenu.AddSubMenu("Misc Menu", "Misc Menu"); MiscMenu.AddGroupLabel("Auto Heal Settings"); MiscMenu.Add("autoHeal", new CheckBox("Auto Heal Allies and Me")); MiscMenu.Add("autoHealPercent", new Slider("Auto Heal Percent", 50)); foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.BaseSkinName)) { MiscMenu.Add("autoHeal_" + a.BaseSkinName, new CheckBox("Auto Heal " + a.BaseSkinName)); } MiscMenu.AddGroupLabel("Spell Settings"); MiscMenu.AddLabel("Only choose one of them below."); MiscMenu.Add("useQC_AfterAttack", new CheckBox("Cast Q in Cougar Form After Attack")); MiscMenu.Add("useQC_BeforeAttack", new CheckBox("Cast Q in Cougar Form Before Attack", false)); MiscMenu.Add("useQC_OnUpdate", new CheckBox("Cast Q in Cougar Form on Update", false)); MiscMenu.AddGroupLabel("ManaManager"); MiscMenu.Add("manaQ", new Slider("Use Q in Human Form only if Mana Percent is >= x", 25)); MiscMenu.Add("manaW", new Slider("Use W in Human Form only if Mana Percent is >= x", 25)); MiscMenu.Add("manaE", new Slider("Use E in Human Form only if Mana Percent is >= x", 25)); MiscMenu.Add("disableMM", new CheckBox("Disable ManaManager in Combo Mode")); #endregion }
protected override void CreateMenu() { try { #region Mainmenu Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto"); Menu.AddGroupLabel("General Setting"); Menu.Add("UBAddons.Annie.E.Attack.Enable", new CheckBox("E on Enemy/Turret/Monster Attack")); Menu.Add("UBAddons.Annie.E.Spell.Enable", new CheckBox("E on Enemy spell")); Menu.Add("UBAddons.Annie.EQ.Enable", new CheckBox("E on On Q - CanStun")); Menu.CreatSlotHitChance(SpellSlot.W); Menu.CreatSlotHitChance(SpellSlot.R); #endregion #region Combo ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below"); { ComboMenu.CreatSlotCheckBox(SpellSlot.Q); ComboMenu.CreatSlotCheckBox(SpellSlot.W); ComboMenu.CreatSlotCheckBox(SpellSlot.R); ComboMenu.CreatSlotHitSlider(SpellSlot.R, 2, 1, 5); } #endregion #region Harass HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below"); { HarassMenu.CreatSlotCheckBox(SpellSlot.Q); HarassMenu.CreatSlotCheckBox(SpellSlot.W); HarassMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 5); HarassMenu.CreatManaLimit(); } #endregion #region LaneClear LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below"); { LaneClearMenu.CreatLaneClearOpening(); LaneClearMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun")); LaneClearMenu.Add("UBAddons.Annie.Passive.Count.Buff", new Slider("Stop if my stacks", 3, 1, 4)); LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q); LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); LaneClearMenu.CreatSlotHitSlider(SpellSlot.W, 5, 1, 10); LaneClearMenu.CreatManaLimit(); } #endregion #region JungleClear JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below"); { JungleClearMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun", false)); JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false); JungleClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false); JungleClearMenu.CreatSlotHitSlider(SpellSlot.W, 1, 1, 6); JungleClearMenu.CreatManaLimit(); } #endregion #region Lasthit LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below"); { LastHitMenu.CreatLasthitOpening(); LastHitMenu.Add("UBAddons.Annie.Passive.Off", new CheckBox("Stop if I has stun")); LastHitMenu.Add("UBAddons.Annie.Passive.Count.Buff", new Slider("Stop if my stacks", 4, 1, 4)); LastHitMenu.CreatSlotCheckBox(SpellSlot.Q); LastHitMenu.CreatSlotCheckBox(SpellSlot.W); LastHitMenu.CreatManaLimit(); } #endregion #region Misc MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below"); { MiscMenu.AddGroupLabel("Anti Gapcloser settings"); MiscMenu.CreatMiscGapCloser(); MiscMenu.AddLabel("Will Check if only stun"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser"); MiscMenu.AddGroupLabel("Interrupter settings"); MiscMenu.AddLabel("[repeat] Will Check if only stun"); MiscMenu.CreatDangerValueBox(); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.E, "Interrupter"); MiscMenu.CreatSlotCheckBox(SpellSlot.R, "Interrupter"); MiscMenu.AddGroupLabel("Killsteal settings"); MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal"); MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal"); } #endregion #region Drawings DrawMenu = Menu.AddSubMenu("Drawings"); { DrawMenu.CreatDrawingOpening(); DrawMenu.CreatColorPicker(SpellSlot.Q); DrawMenu.CreatColorPicker(SpellSlot.W); DrawMenu.CreatColorPicker(SpellSlot.R); DrawMenu.CreatColorPicker(SpellSlot.Unknown); } #endregion DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg); } catch (Exception exception) { Debug.Print(exception.ToString(), Console_Message.Error); } }
public void InitMenu() { Menu = MainMenu.AddMenu("Super-神蛇女", GCharname); Menu.AddLabel("Version: 7.X 版本"); Menu.AddSeparator(); Menu.AddLabel("Super-神蛇女"); DrawMenu = Menu.AddSubMenu("线圈 - " + "Super-神蛇女", GCharname + "线圈"); DrawMenu.AddGroupLabel("线圈"); DrawMenu.Add("drawReady", new CheckBox("显示无冷却技能线圈.", false)); DrawMenu.Add("drawDisable", new CheckBox("关闭线圈")); DrawMenu.AddSeparator(); //Q DrawMenu.Add("drawQ", new CheckBox("显示 Q")); DrawMenu.AddColorItem("colorQ"); DrawMenu.AddWidthItem("widthQ"); //W DrawMenu.Add("drawW", new CheckBox("显示 W")); DrawMenu.AddColorItem("colorW"); DrawMenu.AddWidthItem("widthW"); //E DrawMenu.Add("drawE", new CheckBox("显示 E")); DrawMenu.AddColorItem("colorE"); DrawMenu.AddWidthItem("widthE"); //R DrawMenu.Add("drawR", new CheckBox("显示 R")); DrawMenu.AddColorItem("colorR"); DrawMenu.AddWidthItem("widthR"); ComboMenu = Menu.AddSubMenu("连招 - " + "Super-神蛇女", GCharname + "连招"); ComboMenu.AddGroupLabel("连招"); ComboMenu.Add("comboQ", new CheckBox("使用 Q", true)); ComboMenu.Add("comboW", new CheckBox("使用 W", true)); ComboMenu.Add("comboE", new CheckBox("使用 E", true)); ComboMenu.Add("comboR", new CheckBox("使用 R", true)); ComboMenu.AddGroupLabel("连招杂项"); ComboMenu.Add("castWifQnotLand", new CheckBox("Q没中则使用W", true)); ComboMenu.Add("disableAA", new CheckBox("连招时屏蔽平A", false)); ComboMenu.AddLabel("此选项会无视最少敌人数量使用才R的设置"); ComboMenu.Add("flashCombo", new CheckBox("闪现R连招如果敌人可被击杀", false)); ComboMenu.Add("rsMinEnemiesForR", new Slider("至少敌人数量面对使用R: ", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("骚扰 - " + "Super-神蛇女", GCharname + "骚扰"); HarassMenu.AddGroupLabel("骚扰"); HarassMenu.Add("hsQ", new CheckBox("使用 Q", true)); HarassMenu.Add("hsW", new CheckBox("使用 W", true)); HarassMenu.Add("hsE", new CheckBox("使用 E", true)); HarassMenu.AddGroupLabel("骚扰杂项"); HarassMenu.Add("disableAAHS", new CheckBox("骚扰时屏蔽平A", false)); LaneClearMenu = Menu.AddSubMenu("清线 - " + "Super-神蛇女", GCharname + "清线"); LaneClearMenu.AddGroupLabel("清线"); LaneClearMenu.Add("lcQ", new CheckBox("使用 Q", true)); LaneClearMenu.Add("lcW", new CheckBox("使用 W", true)); LaneClearMenu.Add("lcE", new CheckBox("使用 E", true)); LaneClearMenu.Add("lcKE", new CheckBox("可击杀才使用E", false)); LastHitMenu = Menu.AddSubMenu("尾兵 - " + "Super-神蛇女", GCharname + "尾兵"); LastHitMenu.AddGroupLabel("尾兵"); LastHitMenu.Add("lhQ", new CheckBox("使用 Q", true)); LastHitMenu.Add("lhW", new CheckBox("使用 W", true)); LastHitMenu.Add("lhE", new CheckBox("尾兵E", true)); JungleClearMenu = Menu.AddSubMenu("清野 - " + "Super-神蛇女", GCharname + "清野"); JungleClearMenu.AddGroupLabel("清野"); JungleClearMenu.Add("jcQ", new CheckBox("使用 Q", true)); JungleClearMenu.Add("jcW", new CheckBox("使用 W", true)); JungleClearMenu.Add("jcE", new CheckBox("使用 E", true)); JungleClearMenu.Add("jcKE", new CheckBox("可击杀才使用E", false)); MiscMenu = Menu.AddSubMenu("杂项 - " + "Super-神蛇女", GCharname + "杂项"); MiscMenu.Add("skin", new Slider("换肤: ", 1, 1, 5)); MiscMenu.Add("miscDelayE", new Slider("E 延迟: ", 150, 0, 500)); MiscMenu.Add("ksOn", new CheckBox("尝试抢人头", true)); MiscMenu.Add("miscAntiGapW", new CheckBox("使用W造成间距", true)); MiscMenu.Add("miscAntiGapR", new CheckBox("使用R造成间距", true)); MiscMenu.Add("miscAntiMissR", new CheckBox("屏蔽R如果空大", true)); MiscMenu.Add("miscMinHpAntiGap", new Slider("最低血量进行R造成间距: ", 40, 0, 100)); MiscMenu.Add("miscInterruptDangerous", new CheckBox("打断威胁的技能", true)); }
static void Loading_OnLoadingComplete(EventArgs args) { /* Confirming Champion */ if (Player.Instance.ChampionName != "Urgot") { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear); Q2 = new Spell.Active(SpellSlot.Q); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular); R = new Spell.Targeted(SpellSlot.R, 550); if (Player.GetSpell(SpellSlot.Summoner1).Name == "summonerdot") { Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600); } if (Player.GetSpell(SpellSlot.Summoner2).Name == "summonerdot") { Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600); } if (Smites.Contains(ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name)) { Smite = new Spell.Targeted(SpellSlot.Summoner1, 500); } if (Smites.Contains(ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name)) { Smite = new Spell.Targeted(SpellSlot.Summoner2, 500); } ExecutionerUrgotMenu = MainMenu.AddMenu("Executioner Urgot", "ExecutionerUrgot"); ExecutionerUrgotMenu.AddGroupLabel("Executioner Urgot"); SettingMenu = ExecutionerUrgotMenu.AddSubMenu("Settings", "Settings"); SettingMenu.AddGroupLabel("Settings"); SettingMenu.AddSeparator(); SettingMenu.Add("Drawmode", new CheckBox("Drawing Mode")); SettingMenu.Add("KSmode", new CheckBox("KS Mode")); SettingMenu.Add("Stackmode", new CheckBox("Stack Tear Mode")); if (Ignite != null) { SettingMenu.Add("Ignitemode", new CheckBox("Auto Ignite")); } if (Smite != null) { SettingMenu.Add("Smitemode", new CheckBox("Auto Smite")); SettingMenu.Add("KSsmite", new CheckBox("Smite KS")); } SettingMenu.AddLabel("Auto R - While under turret, use R to grab enemy."); SettingMenu.Add("Grabmode", new CheckBox("Auto R Mode")); SettingMenu.AddSeparator(); SettingMenu.AddLabel("Health Potion/Mana Potion/Crystalline Flask Activator - 0 is off"); SettingMenu.Add("Healthcall", new Slider("Use Health Potion if Health %", 25, 0, 100)); SettingMenu.Add("Manacall", new Slider("Use Mana Potion if Mana %", 25, 0, 100)); SettingMenu.Add("FlaskHcall", new Slider("Use Crystalline Flask if Health %", 25, 0, 100)); SettingMenu.Add("FlaskMcall", new Slider("Use Crystalline Flask if Mana %", 25, 0, 100)); DrawingMenu = ExecutionerUrgotMenu.AddSubMenu("Drawing Features", "DrawingFeatures"); DrawingMenu.AddGroupLabel("Drawing Features"); DrawingMenu.AddSeparator(); DrawingMenu.Add("Qdraw", new CheckBox("Q")); DrawingMenu.Add("Edraw", new CheckBox("E")); DrawingMenu.Add("Rdraw", new CheckBox("R")); if (Ignite != null) { DrawingMenu.Add("Idraw", new CheckBox("Ignite")); } if (Smite != null) { DrawingMenu.Add("Sdraw", new CheckBox("Smite")); } ComboMenu = ExecutionerUrgotMenu.AddSubMenu("Combo Features", "ComboFeatures"); ComboMenu.AddGroupLabel("Combo Features"); ComboMenu.AddSeparator(); ComboMenu.Add("Qcombo", new CheckBox("Q")); /* ComboMenu.Add("Wcombo", new CheckBox("W")); */ ComboMenu.Add("Ecombo", new CheckBox("E")); ComboMenu.Add("Rcombo", new CheckBox("R")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Muramana Activation - 0 is Off"); ComboMenu.Add("Muracall", new Slider("Muramana - Current Mana Limiter", 50, 0, 100)); HarassMenu = ExecutionerUrgotMenu.AddSubMenu("Harass Features", "HarassFeatures"); HarassMenu.AddGroupLabel("Harass Features"); HarassMenu.AddSeparator(); HarassMenu.Add("Qharass", new CheckBox("Q")); JungleMenu = ExecutionerUrgotMenu.AddSubMenu("Jungle Features", "JungleFeatures"); JungleMenu.AddGroupLabel("Jungle Features"); JungleMenu.AddSeparator(); JungleMenu.Add("Qjungle", new CheckBox("Q")); JungleMenu.Add("Ejungle", new CheckBox("E")); if (Smite != null) { JungleMenu.AddGroupLabel("Smite Features"); JungleMenu.AddLabel("Summoner's Rift Camps"); JungleMenu.Add("Bluesmite", new CheckBox("Blue Sentinel")); JungleMenu.Add("Redsmite", new CheckBox("Red Brambleback")); JungleMenu.Add("Krugsmite", new CheckBox("Ancient Krug")); JungleMenu.Add("Grompsmite", new CheckBox("Gromp")); JungleMenu.Add("Murksmite", new CheckBox("Greater Murk Wolf")); JungleMenu.Add("Birdsmite", new CheckBox("Crimson Raptor")); JungleMenu.Add("Crabsmite", new CheckBox("Rift Scuttler")); JungleMenu.Add("Dragonsmite", new CheckBox("Dragon")); JungleMenu.Add("Baronsmite", new CheckBox("Baron Nashor")); JungleMenu.AddLabel("Twisted Treeline Camps"); JungleMenu.Add("Golemsmite", new CheckBox("Big Golem")); JungleMenu.Add("Wolfsmite", new CheckBox("Giant Wolf")); JungleMenu.Add("Wraithsmite", new CheckBox("Wraith")); JungleMenu.Add("Spidersmite", new CheckBox("Vilemaw")); } LaneClearMenu = ExecutionerUrgotMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures"); LaneClearMenu.AddGroupLabel("Lane Clear Features"); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("Qlanec", new CheckBox("Q")); LastHitMenu = ExecutionerUrgotMenu.AddSubMenu("Last Hit Features", "LastHitFeatures"); LastHitMenu.AddGroupLabel("Last Hit Features"); LastHitMenu.AddSeparator(); LastHitMenu.Add("Qlasthit", new CheckBox("Q")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; if (ExecutionerHandler.Urgot.Level == 1) { ExecutionerHandler.Urgot.Spellbook.LevelSpell(SpellSlot.Q); } Player.OnLevelUp += ExecutionerHandler.LevelerMode; /*Gapcloser.OnGapCloser += Gapcloser_OnGapcloser; * Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;*/ }