private static void ComboMenu(CommonChampion akali) { var menu = akali.MainMenu; menu.ComboMenu.Items.Remove(KoreanUtils.GetParam(menu, "minenemiestor")); menu.ComboMenu.Items.Remove(KoreanUtils.GetParam(menu, "disableaa")); }
public AnnieButtons(Annie annie) { this.annie = annie; ShowEasyButton = (KoreanUtils.GetParamBool(annie.MainMenu, "showeeasybutton")); int posX = KoreanUtils.GetParamInt(annie.MainMenu, "easybuttonpositionx"); posX = (posX == 0) ? 50 : posX; int posY = KoreanUtils.GetParamInt(annie.MainMenu, "easybuttonpositiony"); posY = (posY == 0) ? 50 : posY; Vector2 pos = new Vector2(posX, posY); StunButtonOn = new Render.Sprite(Resources.StunON, pos); StunButtonOn.Scale = new Vector2(0.90f, 0.90f); StunButtonOn.Add(); StunButtonOff = new Render.Sprite(Resources.StunOFF, pos); StunButtonOff.Scale = new Vector2(0.90f, 0.90f); StunButtonOff.Add(); if (ShowEasyButton) { StunButtonOn.Visible = KoreanUtils.GetParamBool(annie.MainMenu, "savestunforcombo"); StunButtonOff.Visible = !StunButtonOn.Visible; } KoreanUtils.GetParam(annie.MainMenu, "savestunforcombo").ValueChanged += SaveStunForComboValueChanged; Game.OnWndProc += ButtonControl; }
private static void HarasMenu(CommonChampion vladimir) { var menu = vladimir.MainMenu; menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "manalimittoharas")); KoreanUtils.GetParam(menu, "usewtoharas").SetValue(false); menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "usewtoharas")); }
private static void HarasMenu(CommonChampion akali) { var menu = akali.MainMenu; menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "usewtoharas")); menu.HarasMenu.Items.Remove(KoreanUtils.GetParam(menu, "manalimittoharas")); menu.HarasMenu.AddItem( new MenuItem(KoreanUtils.ParamName(menu, "minenergytoharas"), "Min energy to haras").SetValue( new Slider(60, 0, 100))); }
private static void LaneClearMenu(CommonChampion vladimir) { var menu = vladimir.MainMenu; menu.LaneClearMenu.Items.Remove(KoreanUtils.GetParam(menu, "manalimittolaneclear")); menu.LaneClearMenu.AddItem( new MenuItem(KoreanUtils.ParamName(menu, "saveqtofarm"), "Save Q to last hit").SetValue(true)); menu.LaneClearMenu.AddItem( new MenuItem(KoreanUtils.ParamName(menu, "minminionstoe"), "Use E if will hit x minions").SetValue( new Slider(6, 1, 10))); }
static private void LoadHarasMenu(CommonChampion champion) { CommonMenu mainMenu = champion.MainMenu; mainMenu.HarasMenu.Items.Remove(KoreanUtils.GetParam(mainMenu, "useetoharas")); }