Inheritance: MonoBehaviour
コード例 #1
0
    private void Awake()
    {
        //シングルトンのため、初期時に一瞬だけ表示させて、シングルトンを有効にする。
        gameObject.SetActive(false);

        //シングルトンの処理
        if (Setting == null)
        {
            Setting = this;
            DontDestroyOnLoad(this);
        }
        else
        {
            Destroy(this.gameObject);
        }

        //パーティクルの初期サイズを保存
        _particleStartSize = _particleObj.transform.localScale;

        //ボリューム調整
        _bgmVolume = _maxVolume;
        _seVolume  = _maxVolume;

        //volume調整の位置を調整
        _bgmPos = _bgmObj.transform.position;
        _sePos  = _seObj.transform.position;

        //バーの位置を調整
        _bgmPos.x = RodLength * _bgmVolume + _rodLeft;
        _bgmObj.transform.position = _bgmPos;
        _sePos.x = RodLength * _seVolume + _rodLeft;
        _seObj.transform.position = _sePos;
    }
コード例 #2
0
 void Start()
 {
     if (instance != null)
     {
         Destroy(this);
     }
     else
     {
         instance    = this;
         debugScreen = GameObject.Find("Debug Screen");
         world       = GameObject.Find("World").GetComponent <World>();
         screen      = DebugScreen.GetInstance();
         player      = GameObject.Find("Player");
         settingMenu = GetComponent <SettingMenu>();
         if (MainScene == SceneManager.GetActiveScene().buildIndex)
         {
             inputController = PlayerInputController.GetInstance();
         }
         else
         {
             inputController = EditInputController.GetInstance();
         }
         WorldInit();
     }
 }
コード例 #3
0
ファイル: SettingMenu.cs プロジェクト: FYanesu/FreeKnight
    // Start is called before the first frame update
    void Start()
    {
        instance                = this;
        BgmVolume.value         = Globel.BGMVolume;
        SeVolume.value          = Globel.SEVolume;
        BgmSrc.volume           = Globel.BGMVolume;
        SeSrc.volume            = Globel.SEVolume;
        ScreenSetting.value     = Globel.ScreenSetting;
        DifficultySetting.value = Globel.Difficulty;
        switch (ScreenSetting.value)
        {
        case 0:
            Screen.SetResolution(1920, 1080, FullSetting.isOn);
            break;

        case 1:
            Screen.SetResolution(1366, 768, FullSetting.isOn);
            break;

        case 2:
            Screen.SetResolution(1280, 720, FullSetting.isOn);
            break;

        case 3:
            Screen.SetResolution(960, 540, FullSetting.isOn);
            break;
        }
    }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: aprilix/NeoRhythm
        public MainForm()
        {
            calculator = new BiorhythmCalculator();
            calculator.Load();


            standardGraphView = new StandardGraphView(calculator);
            percentageView    = new PercentageView(calculator);
            settingsMenu      = new SettingMenu(this.Handle, calculator);

            tabView = new TabView(this.Handle);

            tabView.TabPages.Add(new TabPage(standardGraphView, "Standard"));
            //tabView.TabPages.Add(new TabPage(extraGraphView, "Extra"));
            tabView.TabPages.Add(new TabPage(percentageView, "Percentage"));
            tabView.ToolsSweep.Enabled   = true;
            tabView.ToolsSweep.Occurred += new System.ComponentModel.CancelEventHandler(ToolsSweep_Occurred);

            percentageView.ToolsSweep.Enabled   = true;
            percentageView.ToolsSweep.Occurred += new System.ComponentModel.CancelEventHandler(ToolsSweep_Occurred);

            standardGraphView.ToolsSweep.Enabled   = true;
            standardGraphView.ToolsSweep.Occurred += new System.ComponentModel.CancelEventHandler(ToolsSweep_Occurred);

            tabView.Closed += new EventHandler(OnClose);

            this.Load += new EventHandler(MainForm_Load);
        }
コード例 #5
0
        public static void Initialize()
        {
            // Addon Menu
            ProtectorLeonaMenu = MainMenu.AddMenu("ProtectorLeona", "ProtectorLeona");
            ProtectorLeonaMenu.AddGroupLabel("Protector Leona");
            ProtectorLeonaMenu.AddLabel("Çevirmen TRAdana");

            // Combo Menu
            ComboMenu = ProtectorLeonaMenu.AddSubMenu("Kombo", "ComboFeatures");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddLabel("Büyüler");
            ComboMenu.Add("Qcombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Kullan W"));
            ComboMenu.Add("Ecombo", new CheckBox("Kullan E"));
            ComboMenu.Add("Rcombo", new CheckBox("Kullan R"));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Rlimit", new Slider("Düşmana R kullanmak için gerekli sayı", 2, 1, 5));

            // Harass Menu
            HarassMenu = ProtectorLeonaMenu.AddSubMenu("Dürtme", "HarassFeatures");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.AddLabel("Büyüler");
            HarassMenu.Add("Qharass", new CheckBox("Kullan Q"));
            HarassMenu.Add("Eharass", new CheckBox("Kullan E"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Dürtme için en az mana %", 25));

            // Drawing Menu
            DrawingMenu = ProtectorLeonaMenu.AddSubMenu("Gösterge", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Gösterge Ayarları");
            DrawingMenu.Add("Udraw", new CheckBox("Gösterme Modu"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Büyüler");
            DrawingMenu.Add("Qdraw", new CheckBox("Göster Q", false));
            DrawingMenu.Add("Wdraw", new CheckBox("Göster W", false));
            DrawingMenu.Add("Edraw", new CheckBox("Göster E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Göster R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Değiştirici");
            DrawingMenu.Add("Udesign", new CheckBox("Skin Değiştirici", false));
            DrawingMenu.Add("Sdesign", new Slider("Skin Numarası: ", 4, 0, 8));

            // Setting Menu
            SettingMenu = ProtectorLeonaMenu.AddSubMenu("Ayarlar", "Settings");
            SettingMenu.AddGroupLabel("Ayarlar");
            SettingMenu.AddLabel("Otomatik Level Yükseltme");
            SettingMenu.Add("Ulevel", new CheckBox("Otomatik Level Yükseltme"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Otomatik Atak Modu");
            SettingMenu.Add("Aattack", new CheckBox("AA Kullan"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Qinterrupt", new CheckBox("İnterrupt için Q"));
            SettingMenu.Add("Rinterrupt", new CheckBox("İnterrupt için R"));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Qgapc", new CheckBox("Gapcloser için  Q"));
        }
コード例 #6
0
ファイル: MenuManager.cs プロジェクト: alathuan2/EB
        public static void Initialize()
        {
            // Addon Menu
            ProtectorLeonaMenu = MainMenu.AddMenu("ProtectorLeona", "ProtectorLeona");
            ProtectorLeonaMenu.AddGroupLabel("Protector Leona");

            // Combo Menu
            ComboMenu = ProtectorLeonaMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            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.AddSeparator(1);
            ComboMenu.Add("Rlimit", new Slider("Use R when Enemies in range - greater or equal to:", 2, 1, 5));

            // Harass Menu
            HarassMenu = ProtectorLeonaMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.Add("Eharass", new CheckBox("Use E"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25));

            // Drawing Menu
            DrawingMenu = ProtectorLeonaMenu.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", false));
            DrawingMenu.Add("Wdraw", new CheckBox("Draw W", false));
            DrawingMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design", false));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 4, 0, 8));

            // Setting Menu
            SettingMenu = ProtectorLeonaMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddLabel("Automatic Leveler");
            SettingMenu.Add("Ulevel", new CheckBox("Auto Leveler"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Use AutoAttacks in Modes");
            SettingMenu.Add("Aattack", new CheckBox("Use AA"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Qinterrupt", new CheckBox("Use Q to interrupt"));
            SettingMenu.Add("Rinterrupt", new CheckBox("Use R to interrupt"));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Qgapc", new CheckBox("Use Q to gapclose"));
        }
コード例 #7
0
ファイル: MainMenuMgr.cs プロジェクト: panmpan17/BeTheBoss
    private void Awake()
    {
        ins = this;
        InitialLoading();
        intro.SetActive(!PlayerPreference.SkipIntro);

        settingMenu = Instantiate(Resources.Load <SettingMenu>("Prefab/SettingMenu"));
        settingMenu.SetupCloseEvent(delegate { usingSetting = false; });
    }
コード例 #8
0
    private void Awake()
    {
        ins = this;
        transform.position = targetPos;

        MainMenuMgr.InitialLoading();

        settingMenu      = Instantiate(Resources.Load <SettingMenu>("Prefab/SettingMenu"));
        levelSelectables = FindObjectsOfType <LevelSelectable>();
    }
コード例 #9
0
    private void Start()
    {
        _settingScr = SettingMenu.Setting;
        _fadeScr    = GameObject.Find("Fademanager").GetComponent <FadeOut>();

        //TitleBGMを鳴らす
        AudioManager.Audio.StopGimmickSe();
        AudioManager.Audio.PlayBgm(1);

        //チュートリアルフラグをオフ
        _fadeScr.IsTutorial = false;
    }
コード例 #10
0
    private void Awake()
    {
        _ExiteSetting.onClick.AddListener(ExiteSetting);

        if (instance == null)
        {
            instance = this;
            DontDestroyOnLoad(gameObject);

            _Volume.onValueChanged.AddListener(Volume);
            _MuteSound.onValueChanged.AddListener(Mute);
        }
        else
        {
            Destroy(gameObject);
        }
    }
コード例 #11
0
    public void AddSettingMenuFunctionality(SettingMenu settingMenu)
    {
        settingMenu.ResumeButton.onClick.AddListener(delegate
        {
            DestroyMenu(settingMenu);
        });

        settingMenu.MusicButton.onClick.AddListener(delegate
        {
            Text text = settingMenu.MusicButton.transform.Find("Text").GetComponent <Text>();
            if (text.text.Contains("On"))
            {
                text.text = text.text.Replace("On", "Off");
            }
            else
            {
                text.text = text.text.Replace("Off", "On");
            }
        });

        settingMenu.EffectButton.onClick.AddListener(delegate
        {
            Text text = settingMenu.EffectButton.transform.Find("Text").GetComponent <Text>();
            if (text.text.Contains("On"))
            {
                text.text = text.text.Replace("On", "Off");
            }
            else
            {
                text.text = text.text.Replace("Off", "On");
            }
        });

        settingMenu.MainMenuButton.onClick.AddListener(delegate
        {
            DestroyMenu(settingMenu);
            Validate(startPrefab);
        });
    }
コード例 #12
0
        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;*/
        }
コード例 #13
0
ファイル: PauseMenu.cs プロジェクト: panmpan17/BeTheBoss
 private void Awake()
 {
     settingMenu = Instantiate(Resources.Load <GameObject>("Prefab/SettingMenu"), transform.parent).GetComponent <SettingMenu>();
     settingMenu.SetupCloseEvent(delegate { usingSetting = false; });
     settingMenu.gameObject.SetActive(false);
 }
コード例 #14
0
        public static void Initialize()
        {
            // Addon Menu
            ExecutionerUrgotMenu = MainMenu.AddMenu("ExecutionerUrgot", "ExecutionerUrgot");
            ExecutionerUrgotMenu.AddGroupLabel("Executioner Urgot");

            // Combo Menu
            ComboMenu = ExecutionerUrgotMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            ComboMenu.AddLabel("Independent boxes for Spells:");
            ComboMenu.Add("Qcombo", new CheckBox("Use Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Use W for slow"));
            ComboMenu.Add("Ecombo", new CheckBox("Use E"));
            ComboMenu.AddLabel("Urgot will cast R when Slider # equals # of Enemies.");
            ComboMenu.Add("Rcombo", new Slider("Use R - 0 is off", 3, 0, 5));

            // Harass Menu
            HarassMenu = ExecutionerUrgotMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.Add("Eharass", new CheckBox("Use E"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25));

            // Jungle Menu
            JungleMenu = ExecutionerUrgotMenu.AddSubMenu("Jungle Features", "JungleFeatures");
            JungleMenu.AddGroupLabel("Jungle Features");
            JungleMenu.AddLabel("Independent boxes for Spells:");
            JungleMenu.Add("Qjungle", new CheckBox("Use Q"));
            JungleMenu.Add("Ejungle", new CheckBox("Use E"));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("Mana Limiter at Mana %", 25));

            // LaneClear Menu
            LaneClearMenu = ExecutionerUrgotMenu.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("Elanec", new CheckBox("Use E", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("Mana Limiter at Mana %", 25));

            // LastHit Menu
            LastHitMenu = ExecutionerUrgotMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddLabel("Independent boxes for Spells:");
            LastHitMenu.Add("Qlasthit", new CheckBox("Use Q"));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("Mana Limiter at Mana %", 25));

            // Kill Steal Menu
            KillStealMenu = ExecutionerUrgotMenu.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("Eks", new CheckBox("Use E in KS", false));

            // Drawing Menu
            DrawingMenu = ExecutionerUrgotMenu.AddSubMenu("Drawing Features", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Drawing Features");
            DrawingMenu.Add("Udrawer", new CheckBox("Use Drawer"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Independent boxes for Spells:");
            DrawingMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawingMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesigner", new CheckBox("Use Designer"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 2, 0, 3));

            // Setting Menu
            SettingMenu = ExecutionerUrgotMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddLabel("Automatic Leveler");
            SettingMenu.Add("Uleveler", new CheckBox("Use Leveler"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Automatic Tear Stacker");
            SettingMenu.Add("Ustacker", new CheckBox("Use Stacker"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Auto R - While under ally turret, grab enemy");
            SettingMenu.Add("Ugrabber", new CheckBox("Use Grabber"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Use Interrupter", false));
            SettingMenu.Add("Rinterrupt", new CheckBox("Use R to interrupt", false));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Use Gapcloser", false));
            SettingMenu.Add("Rgapc", new CheckBox("Use R to gapclose", false));
        }
コード例 #15
0
ファイル: MenuManager.cs プロジェクト: alathuan2/EB
        public static void Initialize()
        {
            // Addon Menu
            BallistaKogMawMenu = MainMenu.AddMenu("BallistaKogMaw", "BallistaKogMaw");
            BallistaKogMawMenu.AddGroupLabel("Ballista Kog'Maw");

            // Combo Menu
            ComboMenu = BallistaKogMawMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            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("Scombo", new Slider("Max R Stacks", 2, 1, 10));

            // Harass Menu
            HarassMenu = BallistaKogMawMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.Add("Wharass", new CheckBox("Use W", false));
            HarassMenu.Add("Eharass", new CheckBox("Use E", false));
            HarassMenu.Add("Rharass", new CheckBox("Use R", false));
            HarassMenu.Add("Sharass", new Slider("Max R Stacks", 1, 1, 10));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25));

            // Jungle Menu
            JungleMenu = BallistaKogMawMenu.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("Rjungle", new CheckBox("Use R", false));
            JungleMenu.Add("Sjungle", new Slider("Max R Stacks", 1, 1, 10));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("Mana Limiter at Mana %", 25));

            // LaneClear Menu
            LaneClearMenu = BallistaKogMawMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddLabel("Independent boxes for Spells:");
            LaneClearMenu.Add("Qlanec", new CheckBox("Use Q", false));
            LaneClearMenu.Add("Wlanec", new CheckBox("Use W", false));
            LaneClearMenu.Add("Rlanec", new CheckBox("Use R", false));
            LaneClearMenu.Add("Slanec", new Slider("Max R Stacks", 1, 1, 10));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("Mana Limiter at Mana %", 25));

            // LastHit Menu
            LastHitMenu = BallistaKogMawMenu.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("Rlasthit", new CheckBox("Use R", false));
            LastHitMenu.Add("Slasthit", new Slider("Max R Stacks", 1, 1, 10));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("Mana Limiter at Mana %", 25));

            // Kill Steal Menu
            KillStealMenu = BallistaKogMawMenu.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("Rks", new CheckBox("Use R in KS"));

            // Drawing Menu
            DrawingMenu = BallistaKogMawMenu.AddSubMenu("Drawing Features", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Drawing Features");
            DrawingMenu.Add("Udrawer", new CheckBox("Use Drawer"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Independent boxes for Spells:");
            DrawingMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawingMenu.Add("Wdraw", new CheckBox("Draw W"));
            DrawingMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesigner", new CheckBox("Use Designer"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 7, 0, 8));

            // Setting Menu
            SettingMenu = BallistaKogMawMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddLabel("Automatic Leveler");
            SettingMenu.Add("Uleveler", new CheckBox("Use Leveler"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Automatic Tear Stacker");
            SettingMenu.Add("Ustacker", new CheckBox("Use Stacker"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Automatic Passive - Death Follower");
            SettingMenu.Add("Ufollower", new CheckBox("Use Follower"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Use Gapcloser"));
            SettingMenu.Add("Egapc", new CheckBox("Use E to gapclose"));
        }
コード例 #16
0
ファイル: MenuManager.cs プロジェクト: spall9/EloBuddy-Addons
        public static void Initialize()
        {
            // Addon Menu
            DraconicChoGathMenu = MainMenu.AddMenu("DraconicChoGath", "DraconicChoGath");
            DraconicChoGathMenu.AddGroupLabel("Draconic Cho'Gath");

            // Combo Menu
            ComboMenu = DraconicChoGathMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            ComboMenu.AddLabel("Independent boxes for Spells:");
            ComboMenu.Add("Qcombo", new CheckBox("Use Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Use W"));
            ComboMenu.Add("Rcombo", new CheckBox("Use R", false));

            // Harass Menu
            HarassMenu = DraconicChoGathMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.Add("Wharass", new CheckBox("Use W"));

            // Jungle Menu
            JungleMenu = DraconicChoGathMenu.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", false));
            JungleMenu.Add("Rjungle", new CheckBox("Use R"));
            JungleMenu.Add("Fjungle", new CheckBox("Use Flash + R to steal"));

            // LaneClear Menu
            LaneClearMenu = DraconicChoGathMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddLabel("Independent boxes for Spells:");
            LaneClearMenu.Add("Qlanec", new CheckBox("Use Q", false));
            LaneClearMenu.Add("Wlanec", new CheckBox("Use W", false));

            // LastHit Menu
            LastHitMenu = DraconicChoGathMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddLabel("Independent boxes for Spells:");
            LastHitMenu.Add("Qlasthit", new CheckBox("Use Q", false));
            LastHitMenu.Add("Wlasthit", new CheckBox("Use W", false));
            LastHitMenu.Add("Rlasthit", new CheckBox("Use R"));

            // Kill Steal Menu
            KillStealMenu = DraconicChoGathMenu.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("Rks", new CheckBox("Use R in KS"));
            KillStealMenu.Add("Fks", new CheckBox("Use Flash + R to KS"));

            // Drawing Menu
            DrawingMenu = DraconicChoGathMenu.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("Wdraw", new CheckBox("Draw W"));
            DrawingMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawingMenu.Add("Fdraw", new CheckBox("Draw Flash + R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 0, 0, 6));

            // Setting Menu
            SettingMenu = DraconicChoGathMenu.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("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Qinterrupt", new CheckBox("Use Q to interrupt"));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Qgapc", new CheckBox("Use Q to gapclose"));
        }
コード例 #17
0
        public static void Initialize()
        {
            // Addon Menu
            ExecutionerUrgotMenu = MainMenu.AddMenu("ExecutionerUrgot", "ExecutionerUrgot");
            ExecutionerUrgotMenu.AddGroupLabel("Executioner Urgot");
            ExecutionerUrgotMenu.AddLabel("Çeviri TRAdana");

            // Combo Menu
            ComboMenu = ExecutionerUrgotMenu.AddSubMenu("Kombo Ayarları", "ComboFeatures");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddLabel("Büyüler");
            ComboMenu.Add("Qcombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Kullan W Yavaşlatmak için"));
            ComboMenu.Add("Ecombo", new CheckBox("Kullan E"));
            ComboMenu.AddLabel("Aşadağıdaki bölümü ayarlayın");
            ComboMenu.Add("Rcombo", new Slider("Kullan R -şu kadar hedef içinde", 3, 0, 5));

            // Harass Menu
            HarassMenu = ExecutionerUrgotMenu.AddSubMenu("Dürtme ", "HarassFeatures");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.AddLabel("Büyüler:");
            HarassMenu.Add("Qharass", new CheckBox("Kullan Q"));
            HarassMenu.Add("Eharass", new CheckBox("Kullan E"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Dürtme için en az mana %", 25));

            // Jungle Menu
            JungleMenu = ExecutionerUrgotMenu.AddSubMenu("OrmanTemizleme", "JungleFeatures");
            JungleMenu.AddGroupLabel("OrmanTemizleme Ayarları");
            JungleMenu.AddLabel("Büyüler:");
            JungleMenu.Add("Qjungle", new CheckBox("Kullan Q"));
            JungleMenu.Add("Ejungle", new CheckBox("Kullan E"));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("Orman temizleme için gereken mana %", 25));

            // LaneClear Menu
            LaneClearMenu = ExecutionerUrgotMenu.AddSubMenu("LaneTemizleme ", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("LaneTemizleme Ayarları");
            LaneClearMenu.AddLabel("Büyüler:");
            LaneClearMenu.Add("Qlanec", new CheckBox("Kullan Q"));
            LaneClearMenu.Add("Elanec", new CheckBox("Kullan E", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("LaneTemizleme için en az mana %", 25));

            // LastHit Menu
            LastHitMenu = ExecutionerUrgotMenu.AddSubMenu("SonVuruş Ayarları", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("SonVuruş Ayarları");
            LastHitMenu.AddLabel("Büyüler");
            LastHitMenu.Add("Qlasthit", new CheckBox("Kullan Q"));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("son vuruş için gereken mana", 25));

            // Kill Steal Menu
            KillStealMenu = ExecutionerUrgotMenu.AddSubMenu("Kill Çalma", "KSFeatures");
            KillStealMenu.AddGroupLabel("Kill Çalma Ayarları");
            KillStealMenu.Add("Uks", new CheckBox("KS Modu"));
            KillStealMenu.AddSeparator(1);
            KillStealMenu.AddLabel("Büyüler:");
            KillStealMenu.Add("Qks", new CheckBox("Q Kullan"));
            KillStealMenu.Add("Eks", new CheckBox("E Kullan", false));

            // Drawing Menu
            DrawingMenu = ExecutionerUrgotMenu.AddSubMenu("Gösterge", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Gösterge Ayarları");
            DrawingMenu.Add("Udrawer", new CheckBox("Gösterge Kullan"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Büyüler");
            DrawingMenu.Add("Qdraw", new CheckBox("Göster Q"));
            DrawingMenu.Add("Edraw", new CheckBox("Göster E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Göster R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Değiştirici");
            DrawingMenu.Add("Udesigner", new CheckBox("Kullan"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Numarası: ", 2, 0, 3));

            // Setting Menu
            SettingMenu = ExecutionerUrgotMenu.AddSubMenu("Ayarları", "Settings");
            SettingMenu.AddGroupLabel("Ayarları");
            SettingMenu.AddLabel("Otomatik Level Yükseltme");
            SettingMenu.Add("Uleveler", new CheckBox("Kullan"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Otomatik Yük Kasma");
            SettingMenu.Add("Ustacker", new CheckBox("Kullan"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Otomatik R kullan düşmanı dost kuleye çekecekse");
            SettingMenu.Add("Ugrabber", new CheckBox("Çekmeyi Kullan"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("İnterrupt Kullan", false));
            SettingMenu.Add("Rinterrupt", new CheckBox("İnterrupt için R", false));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Kullan Gapcloser", false));
            SettingMenu.Add("Rgapc", new CheckBox("Gapcloser için  R", false));
        }
コード例 #18
0
        public static void Initialize()
        {
            // Addon Menu
            MagicianRyzeMenu = MainMenu.AddMenu("CH汉化魔术师-瑞兹", "魔术师-瑞兹");
            MagicianRyzeMenu.AddGroupLabel("CH汉化魔术师瑞兹");

            // Combo Menu
            ComboMenu = MagicianRyzeMenu.AddSubMenu("连招设置", "ComboFeatures");
            ComboMenu.AddGroupLabel("连招设置");
            ComboMenu.Add("Ucombo", new Slider("作者连招 - 作者喜欢的连招", 1, 1, 2));
            ComboMenu.AddSeparator(1);
            ComboMenu.AddLabel("技能使用:");
            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.Add("Dcombo", new CheckBox("当敌人被禁锢才使用R"));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Scombo", new Slider("被动叠加层数使用大招", 4, 1, 4));

            // Harass Menu
            HarassMenu = MagicianRyzeMenu.AddSubMenu("骚扰设置", "HarassFeatures");
            HarassMenu.AddGroupLabel("骚扰设置");
            HarassMenu.AddLabel("技能使用:");
            HarassMenu.Add("Qharass", new CheckBox("使用 Q"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("蓝量限制百分比 %", 25));

            // Jungle Menu
            JungleMenu = MagicianRyzeMenu.AddSubMenu("清野", "JungleFeatures");
            JungleMenu.AddGroupLabel("清野");
            JungleMenu.AddLabel("技能使用:");
            JungleMenu.Add("Qjungle", new CheckBox("使用 Q"));
            JungleMenu.Add("Wjungle", new CheckBox("使用 W"));
            JungleMenu.Add("Ejungle", new CheckBox("使用 E"));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("蓝量限制百分比 %", 25));

            // LaneClear Menu
            LaneClearMenu = MagicianRyzeMenu.AddSubMenu("清线", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("清线");
            LaneClearMenu.AddLabel("技能使用:");
            LaneClearMenu.Add("Qlanec", new CheckBox("使用 Q"));
            LaneClearMenu.Add("Wlanec", new CheckBox("使用 W", false));
            LaneClearMenu.Add("Elanec", new CheckBox("使用 E", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("蓝量限制百分比 %", 25));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Planec", new CheckBox("清线是进行被动叠加"));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.AddLabel("后期清线模式 - QWE小兵蓝量使用百分比 %");
            LaneClearMenu.Add("Ulategame", new CheckBox("后期模式", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.AddLabel("后期模式激活器");
            LaneClearMenu.Add("Llategame", new Slider("开启后期模式当等级为", 14, 1, 18));
            LaneClearMenu.Add("Mlategame", new Slider("蓝量限制百分比 %", 15));

            // LastHit Menu
            LastHitMenu = MagicianRyzeMenu.AddSubMenu("尾兵", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("尾兵");
            LastHitMenu.AddLabel("技能使用:");
            LastHitMenu.Add("Qlasthit", new CheckBox("使用 Q"));
            LastHitMenu.Add("Wlasthit", new CheckBox("使用 W", false));
            LastHitMenu.Add("Elasthit", new CheckBox("使用 E", false));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("蓝量限制百分比 %", 25));

            // Kill Steal Menu
            KillStealMenu = MagicianRyzeMenu.AddSubMenu("抢头", "KSFeatures");
            KillStealMenu.AddGroupLabel("抢头设置");
            KillStealMenu.Add("Uks", new CheckBox("抢头模式"));
            KillStealMenu.AddSeparator(1);
            KillStealMenu.AddLabel("技能使用:");
            KillStealMenu.Add("Qks", new CheckBox("使用 Q 抢头"));
            KillStealMenu.Add("Wks", new CheckBox("使用 W 抢头"));
            KillStealMenu.Add("Eks", new CheckBox("使用 E 抢头"));

            // Drawing Menu
            DrawingMenu = MagicianRyzeMenu.AddSubMenu("线圈", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("线圈设置");
            DrawingMenu.Add("Udraw", new CheckBox("显示线圈"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("技能显示:");
            DrawingMenu.Add("Qdraw", new CheckBox("显示 Q"));
            DrawingMenu.Add("WEdraw", new CheckBox("显示 W 和 E"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("换肤");
            DrawingMenu.Add("Udesign", new CheckBox("显示换肤"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 9, 0, 9));

            // Setting Menu
            SettingMenu = MagicianRyzeMenu.AddSubMenu("杂项", "Settings");
            SettingMenu.AddGroupLabel("杂项");
            SettingMenu.AddLabel("自动加点");
            SettingMenu.Add("Ulevel", new CheckBox("自动加点"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("自动女神叠加");
            SettingMenu.Add("Ustack", new CheckBox("叠加模式"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("大招模式 - QWE滚键盘");
            SettingMenu.Add("Uultimate", new CheckBox("大招模式", false));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("技能打断");
            SettingMenu.Add("Uinterrupt", new CheckBox("打断模式"));
            SettingMenu.Add("Winterrupt", new CheckBox("使用W打断技能"));
            SettingMenu.AddLabel("防止突击");
            SettingMenu.Add("Ugapc", new CheckBox("防止突击模式"));
            SettingMenu.Add("Wgapc", new CheckBox("使用W造成间距"));
        }
コード例 #19
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            /* Confirming Champion */
            if (Player.Instance.ChampionName != "KogMaw")
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1280, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Circular);
            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 (Player.GetSpell(SpellSlot.Summoner1).Name == "summonerheal")
            {
                Heal = new Spell.Active(SpellSlot.Summoner1);
            }
            if (Player.GetSpell(SpellSlot.Summoner2).Name == "summonerheal")
            {
                Heal = new Spell.Active(SpellSlot.Summoner2);
            }

            BallistaKogMawMenu = MainMenu.AddMenu("Ballista Kog'Maw", "BallistaKogMaw");
            BallistaKogMawMenu.AddGroupLabel("Ballista Kog'Maw");

            SettingMenu = BallistaKogMawMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddSeparator();
            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"));
            }
            SettingMenu.AddSeparator();
            SettingMenu.AddLabel("Health Potion/Mana Potion/Crystalline Flask Activator - 0 is off");
            SettingMenu.Add("Healthcall", Sliders.Heathcall);
            SettingMenu.Add("Manacall", Sliders.Manacall);
            SettingMenu.Add("FlaskHcall", Sliders.FlaskHcall);
            SettingMenu.Add("FlaskMcall", Sliders.FlaskMcall);
            if (Heal != null)
            {
                SettingMenu.AddLabel("Summoner Spell Heal Activator - 0 is off");
                SettingMenu.Add("Healcall", Sliders.Healcall);
            }

            DrawingMenu = BallistaKogMawMenu.AddSubMenu("Drawing Features", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Drawing Features");
            DrawingMenu.AddSeparator();
            DrawingMenu.Add("Qdraw", new CheckBox("Q"));
            DrawingMenu.Add("Wdraw", new CheckBox("W"));
            DrawingMenu.Add("Edraw", new CheckBox("E"));
            DrawingMenu.Add("Rdraw", new CheckBox("R"));
            if (Ignite != null)
            {
                DrawingMenu.Add("Idraw", new CheckBox("Ignite"));
            }

            ComboMenu = BallistaKogMawMenu.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"));

            HarassMenu = BallistaKogMawMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddSeparator();
            HarassMenu.Add("Qharass", new CheckBox("Q"));

            JungleMenu = BallistaKogMawMenu.AddSubMenu("Jungle Features", "JungleFeatures");
            JungleMenu.AddGroupLabel("Jungle Features");
            JungleMenu.AddSeparator();
            JungleMenu.Add("Qjungle", new CheckBox("Q"));
            JungleMenu.Add("Wjungle", new CheckBox("W"));
            JungleMenu.Add("Rjungle", new CheckBox("R"));

            LaneClearMenu = BallistaKogMawMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("Qlanec", new CheckBox("Q"));
            LaneClearMenu.Add("Wlanec", new CheckBox("W"));

            LastHitMenu = BallistaKogMawMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddSeparator();
            LastHitMenu.Add("Qlasthit", new CheckBox("Q"));
            LastHitMenu.Add("Wlasthit", new CheckBox("W - Out of Reach AA"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            if (BallistaHandler.KogMaw.Level == 1)
            {
                BallistaHandler.KogMaw.Spellbook.LevelSpell(SpellSlot.W);
            }
            Player.OnLevelUp += BallistaHandler.LevelerMode;

            /*Gapcloser.OnGapCloser += Gapcloser_OnGapcloser;
             * Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;*/
        }
コード例 #20
0
    public void setGameSetting(SettingMenu setting, string Value)
    {
        switch (setting)
        {
        //public enum SelectedMode { Story, Options, FreePlay, Credits }
        case SettingMenu.Mode:
            if (Value.Equals(""))
            {
                gameSettings.selectedMode = GameSettings.SelectedMode.None;
            }
            switch (Value)
            {
            case "Story":
                gameSettings.selectedMode = GameSettings.SelectedMode.Story;
                break;

            case "Options":
                gameSettings.selectedMode = GameSettings.SelectedMode.Options;
                break;

            case "FreePlay":
                gameSettings.selectedMode = GameSettings.SelectedMode.FreePlay;
                break;

            case "Credits":
                gameSettings.selectedMode = GameSettings.SelectedMode.Credits;
                break;
            }
            break;



        //public enum SlotSelected { Slot01, Slot02, Slot03 }
        case SettingMenu.SlotSelect:
            if (Value.Equals(""))
            {
                gameSettings.slotSelected = GameSettings.SlotSelected.None;
                gameSettings.storyMode    = GameSettings.StoryMode.None;
            }
            else
            {
                string[] Values = Value.Split('_');

                string storyModeValue = Values[0];
                string slotValue      = Values[1];
                switch (storyModeValue)
                {
                case "NewGame":
                    gameSettings.storyMode = GameSettings.StoryMode.NewGame;

                    break;

                case "Continue":
                    gameSettings.storyMode = GameSettings.StoryMode.Continue;
                    break;
                }

                switch (slotValue)
                {
                case "Slot01":
                    gameSettings.slotSelected = GameSettings.SlotSelected.Slot01;
                    break;

                case "Slot02":
                    gameSettings.slotSelected = GameSettings.SlotSelected.Slot02;
                    break;

                case "Slot03":
                    gameSettings.slotSelected = GameSettings.SlotSelected.Slot03;
                    break;
                }
            }
            break;

        //public enum SelectedBall { Ball01, Ball02, Ball03, Ball04, Ball05, Ball06, Ball07, Ball08, Ball09, Ball10, Ball11, Ball12 }

        case SettingMenu.BallSelect:

            if (Value.Equals(""))
            {
                gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.None;
                gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.None;
                gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.None;
                gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.None;
            }
            else
            {
                string[] Values = Value.Split('_');

                string playerValue = Values[0];
                string ballValue   = Values[1];

                switch (ballValue)
                {
                case "Ball01":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball01;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball01;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball01;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball01;
                    }
                    break;

                case "Ball02":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball02;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball02;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball02;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball02;
                    }
                    break;

                case "Ball03":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball03;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball03;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball03;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball03;
                    }
                    break;

                case "Ball04":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball04;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball04;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball04;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball04;
                    }
                    break;

                case "Ball05":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball05;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball05;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball05;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball05;
                    }
                    break;

                case "Ball06":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball06;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball06;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball06;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball06;
                    }
                    break;

                case "Ball07":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball07;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball07;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball07;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball07;
                    }
                    break;

                case "Ball08":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball08;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball08;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball08;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball08;
                    }
                    break;

                case "Ball09":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball09;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball09;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball09;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball09;
                    }
                    break;

                case "Ball10":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball10;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball10;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball10;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball10;
                    }
                    break;

                case "Ball11":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball11;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball11;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball11;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball11;
                    }
                    break;

                case "Ball12":
                    if (playerValue == "Player1")
                    {
                        gameSettings.selectedBallPlayer1 = GameSettings.SelectedBall.Ball12;
                    }
                    if (playerValue == "Player2")
                    {
                        gameSettings.selectedBallPlayer2 = GameSettings.SelectedBall.Ball12;
                    }
                    if (playerValue == "Player3")
                    {
                        gameSettings.selectedBallPlayer3 = GameSettings.SelectedBall.Ball12;
                    }
                    if (playerValue == "Player4")
                    {
                        gameSettings.selectedBallPlayer4 = GameSettings.SelectedBall.Ball12;
                    }
                    break;

                default:

                    break;
                }
            }
            break;


        //public enum LevelSelected { Level01, Level02, Level03, Level04, Level06, Level07, Level08, Level09, Level10 }
        case SettingMenu.LevelSelect:
            if (Value.Equals(""))
            {
                gameSettings.levelSelected = GameSettings.LevelSelected.None;
            }
            else
            {
                switch (Value)
                {
                case "Level01":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level01;
                    break;

                case "Level02":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level02;
                    break;

                case "Level03":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level03;
                    break;

                case "Level04":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level04;
                    break;

                case "Level05":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level05;
                    break;

                case "Level06":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level06;
                    break;

                case "Level07":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level07;
                    break;

                case "Level08":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level08;
                    break;

                case "Level09":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level09;
                    break;

                case "Level10":
                    gameSettings.levelSelected = GameSettings.LevelSelected.Level10;
                    break;
                }
            }

            break;

        //public enum PlayersSelection { None, OnePlayer, TwoPlayers, ThreePlayers, FourPlayers }
        case SettingMenu.PlayersSelect:
            if (Value.Equals(""))
            {
                gameSettings.playersSelected = GameSettings.PlayersSelection.None;
            }
            else
            {
                switch (Value)
                {
                case "OnePlayer":
                    gameSettings.playersSelected = GameSettings.PlayersSelection.OnePlayer;
                    break;

                case "TwoPlayers":
                    gameSettings.playersSelected = GameSettings.PlayersSelection.TwoPlayers;
                    break;

                case "ThreePlayers":
                    gameSettings.playersSelected = GameSettings.PlayersSelection.ThreePlayers;
                    break;

                case "FourPlayers":
                    gameSettings.playersSelected = GameSettings.PlayersSelection.FourPlayers;
                    break;
                }
            }

            break;
        }
    }
コード例 #21
0
        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"));
        }
コード例 #22
0
        public static void Initialize()
        {
            // Addon Menu
            SeekerVelKozMenu = MainMenu.AddMenu("Seeker Vel'Koz", "SeekerVelKoz");
            SeekerVelKozMenu.AddGroupLabel("Seeker Vel'Koz");

            // Combo Menu
            ComboMenu = SeekerVelKozMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            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.AddSeparator(1);
            ComboMenu.Add("Wlimit", new CheckBox("Only W if knocked back", false));
            ComboMenu.Add("Elimit", new CheckBox("Only E if slowed", false));
            ComboMenu.Add("Rcool", new CheckBox("Only R if other spells on Cooldown"));
            ComboMenu.Add("Rlimit", new Slider("Use R when Enemies in range >=", 4, 1, 5));

            // Harass Menu
            HarassMenu = SeekerVelKozMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.Add("Eharass", new CheckBox("Use E", false));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25));

            // Jungle Menu
            JungleMenu = SeekerVelKozMenu.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 = SeekerVelKozMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddLabel("Independent boxes for Spells:");
            LaneClearMenu.Add("Qlanec", new CheckBox("Use Q", false));
            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));

            // LastHit Menu
            LastHitMenu = SeekerVelKozMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddLabel("Independent boxes for Spells:");
            LastHitMenu.Add("Qlasthit", new CheckBox("Use Q", false));
            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 = SeekerVelKozMenu.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", false));
            KillStealMenu.Add("Eks", new CheckBox("Use E in KS", false));
            KillStealMenu.Add("Rks", new CheckBox("Use R in KS"));
            KillStealMenu.Add("Kslimit", new Slider("Use R when Enemies in range >=", 2, 1, 5));

            // Drawing Menu
            DrawingMenu = SeekerVelKozMenu.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("QWdraw", new CheckBox("Draw Q & W"));
            DrawingMenu.Add("Edraw", new CheckBox("Draw E"));
            DrawingMenu.Add("Rdraw", new CheckBox("Draw R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 0, 0, 2));

            // Setting Menu
            SettingMenu = SeekerVelKozMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddLabel("Automatic Leveler");
            SettingMenu.Add("Ulevel", new CheckBox("Auto Leveler"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Ultimate Follower");
            SettingMenu.Add("Uultimate", new CheckBox("Use Ult Follower"));
            SettingMenu.AddLabel("Automatic Tear Stacker");
            SettingMenu.Add("Ustack", new CheckBox("Stack Mode"));
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Einterrupt", new CheckBox("Use E to interrupt"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Egapc", new CheckBox("Use E to gapclose"));
        }
コード例 #23
0
        public static void Initialize()
        {
            // Addon Menu
            BallistaKogMawMenu = MainMenu.AddMenu("CH汉化-弩弓大嘴", "BallistaKogMaw");
            BallistaKogMawMenu.AddGroupLabel("CH汉化-弩弓大嘴");

            // Combo Menu
            ComboMenu = BallistaKogMawMenu.AddSubMenu("连招", "ComboFeatures");
            ComboMenu.AddGroupLabel("连招设置");
            ComboMenu.AddLabel("技能使用:");
            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.Add("Scombo", new Slider("最大R叠加", 2, 1, 10));

            // Harass Menu
            HarassMenu = BallistaKogMawMenu.AddSubMenu("骚扰", "HarassFeatures");
            HarassMenu.AddGroupLabel("骚扰设置");
            HarassMenu.AddLabel("技能使用:");
            HarassMenu.Add("Qharass", new CheckBox("使用 Q"));
            HarassMenu.Add("Wharass", new CheckBox("使用 W", false));
            HarassMenu.Add("Eharass", new CheckBox("使用 E", false));
            HarassMenu.Add("Rharass", new CheckBox("使用 R", false));
            HarassMenu.Add("Sharass", new Slider("最大R叠加", 1, 1, 10));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("蓝量限制百分比 %", 25));

            // Jungle Menu
            JungleMenu = BallistaKogMawMenu.AddSubMenu("清野", "JungleFeatures");
            JungleMenu.AddGroupLabel("清野设置");
            JungleMenu.AddLabel("技能使用:");
            JungleMenu.Add("Qjungle", new CheckBox("使用 Q"));
            JungleMenu.Add("Wjungle", new CheckBox("使用 W"));
            JungleMenu.Add("Rjungle", new CheckBox("使用 R", false));
            JungleMenu.Add("Sjungle", new Slider("最大R叠加", 1, 1, 10));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("蓝量限制百分比 %", 25));

            // LaneClear Menu
            LaneClearMenu = BallistaKogMawMenu.AddSubMenu("清线", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("清线设置");
            LaneClearMenu.AddLabel("技能使用:");
            LaneClearMenu.Add("Qlanec", new CheckBox("使用 Q", false));
            LaneClearMenu.Add("Wlanec", new CheckBox("使用 W", false));
            LaneClearMenu.Add("Rlanec", new CheckBox("使用 R", false));
            LaneClearMenu.Add("Slanec", new Slider("最大R叠加", 1, 1, 10));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("蓝量限制百分比 %", 25));

            // LastHit Menu
            LastHitMenu = BallistaKogMawMenu.AddSubMenu("尾兵", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("尾兵设置");
            LastHitMenu.AddLabel("技能使用:");
            LastHitMenu.Add("Qlasthit", new CheckBox("使用 Q"));
            LastHitMenu.Add("Rlasthit", new CheckBox("使用 R", false));
            LastHitMenu.Add("Slasthit", new Slider("最大R叠加", 1, 1, 10));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("蓝量限制百分比 %", 25));

            // Kill Steal Menu
            KillStealMenu = BallistaKogMawMenu.AddSubMenu("抢头", "KSFeatures");
            KillStealMenu.AddGroupLabel("抢头设置");
            KillStealMenu.Add("Uks", new CheckBox("抢头模式"));
            KillStealMenu.AddSeparator(1);
            KillStealMenu.AddLabel("技能使用:");
            KillStealMenu.Add("Qks", new CheckBox("使用 Q 抢头"));
            KillStealMenu.Add("Rks", new CheckBox("使用 R 抢头"));

            // Drawing Menu
            DrawingMenu = BallistaKogMawMenu.AddSubMenu("线圈", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("线圈设置");
            DrawingMenu.Add("Udrawer", new CheckBox("显示线圈"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("技能线圈:");
            DrawingMenu.Add("Qdraw", new CheckBox("显示 Q"));
            DrawingMenu.Add("Wdraw", new CheckBox("显示 W"));
            DrawingMenu.Add("Edraw", new CheckBox("显示 E"));
            DrawingMenu.Add("Rdraw", new CheckBox("显示 R"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("换肤");
            DrawingMenu.Add("Udesigner", new CheckBox("使用换肤"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 7, 0, 8));

            // Setting Menu
            SettingMenu = BallistaKogMawMenu.AddSubMenu("杂项", "Settings");
            SettingMenu.AddGroupLabel("杂项");
            SettingMenu.AddLabel("自动加点");
            SettingMenu.Add("Uleveler", new CheckBox("使用自动加点"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("自动叠加女神");
            SettingMenu.Add("Ustacker", new CheckBox("使用自动叠加女神"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("自动被动 - 死亡跟随");
            SettingMenu.Add("Ufollower", new CheckBox("使用死亡跟随"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("防突击");
            SettingMenu.Add("Ugapc", new CheckBox("使用防突进"));
            SettingMenu.Add("Egapc", new CheckBox("使用造成间距"));
        }
コード例 #24
0
    // Update is called once per frame
    void Update()
    {
        switch (MenuRightNow)
        {
        case MenuLocation.Main:
            MainMenuItself.SetActive(true);
            LevelSelectMenu.SetActive(false);
            SettingMenu.SetActive(false);
            ExtrasMenu.SetActive(false);
            UnknownMenu.SetActive(false);
            GameplayMenu.SetActive(false);
            break;

        case MenuLocation.LevelSelect:
            MainMenuItself.SetActive(false);
            LevelSelectMenu.SetActive(true);
            SettingMenu.SetActive(false);
            ExtrasMenu.SetActive(false);
            UnknownMenu.SetActive(false);
            GameplayMenu.SetActive(false);
            break;

        case MenuLocation.Setting:
            MainMenuItself.SetActive(false);
            LevelSelectMenu.SetActive(false);
            SettingMenu.SetActive(true);
            ExtrasMenu.SetActive(false);
            UnknownMenu.SetActive(false);
            GameplayMenu.SetActive(false);
            break;

        case MenuLocation.Extras:
            MainMenuItself.SetActive(false);
            LevelSelectMenu.SetActive(false);
            SettingMenu.SetActive(false);
            ExtrasMenu.SetActive(true);
            UnknownMenu.SetActive(false);
            GameplayMenu.SetActive(false);
            break;

        case MenuLocation.Unknown:
            MainMenuItself.SetActive(false);
            LevelSelectMenu.SetActive(false);
            SettingMenu.SetActive(false);
            ExtrasMenu.SetActive(false);
            UnknownMenu.SetActive(true);
            GameplayMenu.SetActive(false);
            break;

        case MenuLocation.Gameplay:
            MainMenuItself.SetActive(false);
            LevelSelectMenu.SetActive(false);
            SettingMenu.SetActive(false);
            ExtrasMenu.SetActive(false);
            UnknownMenu.SetActive(false);
            GameplayMenu.SetActive(true);
            break;
        }

        if (OnGoingLoading)
        {
            if (rawProgress >= 90f)
            {
                OnGoingLoading = false;
            }
            if (loadingScreen)
            {
                loadingScreen.SetActive(true);
            }
        }
        else
        {
            if (loadingScreen)
            {
                loadingScreen.SetActive(false);
            }
        }

        if (!cameraing)
        {
            GameObject go = GameObject.FindGameObjectWithTag("MainCamera");
            if (go)
            {
                cameraing = go.GetComponent <PersonCamera2D>();
            }
        }

        if (isPlayingGame)
        {
            //Titler.SetActive(false);
            Titler.transform.position = new Vector3(cameraing.transform.position.x, cameraing.transform.position.y, 0f);
            LoopingArea.SetActive(false);
            LoopingArea.transform.position = new Vector3(cameraing.transform.position.x, cameraing.transform.position.y, 0f);
            MainMenuItself.GetComponent <MenuArea>().pauseMenuMode = true;
        }
        else
        {
            Titler.transform.position = Vector3.zero;
            LoopingArea.SetActive(true);
            LoopingArea.transform.position = Vector3.zero;
            MainMenuItself.GetComponent <MenuArea>().pauseMenuMode = false;

            cameraing.ZeroCamera();
        }

        if (MenuRightNow != MenuLocation.Main)
        {
            Titler.SetActive(false);
        }
        else
        {
            Titler.SetActive(true);
        }
    }