示例#1
0
        public static void Init(TwistedFate tf)
        {
            MainMenu = new Menu("raretftdz", "RARETwistedFate", true, tf.Player.ChampionName).Attach();
            MainMenu.Separator("We love LeagueSharp.");
            MainMenu.Separator("Developer: @Kyon");

            var qMenu = MainMenu.Add(new Menu("Q", "Q spell"));
            {
                qMenu.Separator("Combo");
                qMenu.Bool("ComboQ", "Use Q");
                qMenu.Separator("Hybrid");
                qMenu.Bool("HybridQ", "Use Q");
                qMenu.Separator("Farm");
                qMenu.Bool("FarmQ", "Use Q");
                qMenu.Separator("LastHit");
                qMenu.Bool("LastQ", "Use Q", false);
                qMenu.Separator("Utils");
                qMenu.Bool("ImmoQ", "Auto Q on immobile");
                qMenu.Bool("OnlyImmoQ", "Only auto Q on immobile", false);
            }

            var wMenu = MainMenu.Add(new Menu("W", "W spell"));
            {
                wMenu.Separator("Combo");
                wMenu.Bool("ComboW", "Use W");
                wMenu.Separator("Hybrid");
                wMenu.Bool("HybridW", "Use W");
                wMenu.Separator("Farm // LastHit");
                wMenu.Bool("FarmW", "Use W");
                wMenu.Separator("CardPicker");
                wMenu.Bool("ShowButton", "Show Button");
                //wMenu.List("ActiveCard", "Active Card", Enum.GetNames(typeof(Cards)), 1);
            }

            var rMenu = MainMenu.Add(new Menu("R", "R spell"));
            {
                rMenu.Separator("FastCardPicker");
                rMenu.Bool("Pick", "Autopick card");
                rMenu.List("ActiveCard", "Active Card", Enum.GetNames(typeof(Cards)), 2);
            }

            var comboMenu = MainMenu.Add(new Menu("Utilities", "Utilities"));
            {
                comboMenu.Bool("AA", "Using AA in LastHit or LaneClear");
            }

            var drawMenu = MainMenu.Add(new Menu("Draw", "Draw"));
            {
                drawMenu.Bool("Q", "Draws Q");
                drawMenu.Bool("W", "Draws W");
                drawMenu.Bool("R", "Draws R");
            }
        }
示例#2
0
 public CardManager(TwistedFate tf)
 {
     CardFrame = new CardsFrame();
     SpellW    = new Spell(SpellSlot.W, 590f);
 }