private static void Game_OnGameStart(EventArgs args) { if (Player.ChampionName != "Lissandra") { return; } Game.PrintChat("Meth_Lissandra by HyunMi loaded"); #region Menu { _menu = new Menu("[HyunMi]-" + Player.BaseSkinName, "hyunmi.lissandra", true); { _targetSelectorMenu = new Menu("Target selector", "hyunmi.lissandra.targetselector"); TargetSelector.AddToMenu(_targetSelectorMenu); _menu.AddSubMenu(_targetSelectorMenu); _menu.AddSubMenu(new Menu("Orbwalker", "hyunmi.lissandra.orbwalker")); _orbwalker = new Orbwalking.Orbwalker(_menu.SubMenu("hyunmi.lissandra.orbwalker")); } //combo Menu combo = new Menu("Combo", "hyunmi.lissandra.combo"); { Menu spells = new Menu("Spells", "hyunmi.lissandra.combo.spells"); { spells.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.q", "Use Q").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.w", "Use W").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.e", "Use E").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.r", "Use R").SetValue(true)); Menu manaLimiters = new Menu("Mana limiters", "hyunmi.lissandra.combo.spells.manalimiters"); { manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.manalimiters.q", "Q mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.manalimiters.w", "W mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.manalimiters.e", "E mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.manalimiters.r", "R mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.combo.spells.manalimiters.notification", "Set to 0 to disable")); } spells.AddSubMenu(manaLimiters); } combo.AddSubMenu(spells); //settings go here } _menu.AddSubMenu(combo); //harass Menu harass = new Menu("Harass", "hyunmi.lissandra.harass"); { Menu spells = new Menu("Spells", "hyunmi.lissandra.harass.spells"); { spells.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.q", "Use Q").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.w", "Use W").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.e", "Use E").SetValue(true)); Menu manaLimiters = new Menu("Mana limiters", "hyunmi.lissandra.harass.spells.manalimiters"); { manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.manalimiters.q", "Q mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.manalimiters.w", "W mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.manalimiters.e", "E mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.harass.spells.manalimiters.notification", "Set to 0 to disable ")); } spells.AddSubMenu(manaLimiters); } harass.AddSubMenu(spells); //settings go here } _menu.AddSubMenu(harass); //laneclear Menu laneclear = new Menu("Laneclear", "hyunmi.lissandra.laneclear"); { Menu spells = new Menu("Spells", "hyunmi.lissandra.laneclear.spells"); { spells.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.q", "Use Q").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.w", "Use W").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.e", "Use E").SetValue(true)); Menu manaLimiters = new Menu("Mana limiters", "hyunmi.lissandra.laneclear.spells.manalimiters"); { manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.manalimiters.q", "Q mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.manalimiters.w", "W mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.manalimiters.e", "E mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.laneclear.spells.manalimiters.notification", "Set to 0 to disable ")); } spells.AddSubMenu(manaLimiters); } laneclear.AddSubMenu(spells); //settings go here laneclear.AddItem(new MenuItem("hyunmi.lissandra.laneclear.harass", "Auto harass").SetValue(true)); laneclear.AddItem(new MenuItem("hyunmi.lissandra.laneclear.smartPassive", "Smart usage of passive").SetValue(true)); laneclear.AddItem(new MenuItem("hyunmi.lissandra.laneclear.groupfocus", "Focus group of minions").SetValue(false)); } _menu.AddSubMenu(laneclear); //lasthit Menu lasthit = new Menu("Lasthit", "hyunmi.lissandra.lasthit"); { Menu spells = new Menu("Spells", "hyunmi.lissandra.lasthit.spells"); { spells.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.q", "Use Q").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.w", "Use W").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.e", "Use E").SetValue(true)); Menu manaLimiters = new Menu("Mana limiters", "hyunmi.lissandra.lasthit.spells.manalimiters"); { manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.manalimiters.q", "Q mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.manalimiters.w", "W mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.manalimiters.e", "E mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.lasthit.spells.manalimiters.notification", "Set to 0 to disable ")); } spells.AddSubMenu(manaLimiters); } lasthit.AddSubMenu(spells); lasthit.AddItem(new MenuItem("hyunmi.lissandra.lasthit.smartPassive", "Smart usage of passive").SetValue(true)); lasthit.AddItem(new MenuItem("hyunmi.lissandra.lasthit.groupfocus", "Focus group of minions").SetValue(false)); } _menu.AddSubMenu(lasthit); //flee Menu flee = new Menu("Flee", "hyunmi.lissandra.flee"); { Menu spells = new Menu("Spells", "hyunmi.lissandra.flee.spells"); { spells.AddItem(new MenuItem("hyunmi.lissandra.flee.spells.q", "Use Q").SetValue(true)); spells.AddItem(new MenuItem("hyunmi.lissandra.flee.spells.e", "Use E").SetValue(true)); Menu manaLimiters = new Menu("Mana limiters", "hyunmi.lissandra.flee.spells.manalimiters"); { manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.flee.spells.manalimiters.q", "Q mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.flee.spells.manalimiters.e", "E mana limiter").SetValue(new Slider(0))); manaLimiters.AddItem(new MenuItem("hyunmi.lissandra.flee.spells.manalimiters.notification", "Set to 0 to disable")); } spells.AddSubMenu(manaLimiters); } flee.AddSubMenu(spells); //settings go here } _menu.AddSubMenu(flee); //misc Menu misc = new Menu("Misc", "hyunmi.lissandra.misc"); { misc.AddItem(new MenuItem("hyunmi.lissandra.misc.ignite", "AutoIgnite on killable").SetValue(true)); } _menu.AddSubMenu(misc); //sounds Menu sounds = new Menu("Sounds", "hyunmi.lissandra.sounds"); { sounds.AddItem(new MenuItem("hyunmi.lissandra.sounds.onkill", "Much sweg sound on kill").SetValue(true)); } _menu.AddSubMenu(sounds); //drawings Menu drawings = new Menu("Drawings", "hyunmi.lissandra.drawings"); { drawings.AddItem(new MenuItem("hyunmi.lissandra.drawings.q", "Draw Q range").SetValue(true)); drawings.AddItem(new MenuItem("hyunmi.lissandra.drawings.w", "Draw W range").SetValue(false)); drawings.AddItem(new MenuItem("hyunmi.lissandra.drawings.e", "Draw E range").SetValue(true)); drawings.AddItem(new MenuItem("hyunmi.lissandra.drawings.r", "Draw R range").SetValue(false)); drawings.AddItem(new MenuItem("hyunmi.lissandra.drawings.minions", "Draw minion last hits").SetValue(false)); } _menu.AddSubMenu(drawings); } _menu.AddToMainMenu(); #endregion SpellCasts.IceShard = new Spell(SpellSlot.Q, 725, TargetSelector.DamageType.Magical); SpellCasts.RingOfFrost = new Spell(SpellSlot.W, 450, TargetSelector.DamageType.Magical); SpellCasts.GlacialPath = new Spell(SpellSlot.E, 1050, TargetSelector.DamageType.Magical); SpellCasts.FrozenTomb = new Spell(SpellSlot.R, 550, TargetSelector.DamageType.Magical); SpellCasts.Ignite = new Spell(Player.GetSpellSlot("summonerdot"), 600); SpellCasts.Flash = new Spell(Player.GetSpellSlot("flash"), 425); SpellCasts.IceShard.SetSkillshot(250, 75, 2200, false, SkillshotType.SkillshotLine); SpellCasts.GlacialPath.SetSkillshot(250, 125, 850, false, SkillshotType.SkillshotLine); SoundEngine.Main(); Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; GameObject.OnCreate += GameObject_OnCreate; Game.OnUpdate += Game_OnUpdate; }