Exemple #1
0
        public static void OnLoad_Complete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ashe")
            {
                return;
            }
            Bootstrap.Init(null);


            Q = new Spell.Active(SpellSlot.Q, (uint)Rangeauto, Physical);
            W = new Spell.Skillshot(SpellSlot.W, 1200, Cone);
            E = new Spell.Skillshot(SpellSlot.E, 4500, Linear, 250, 1400, 1, Physical);
            R = new Spell.Skillshot(SpellSlot.R, 3000, Linear, 250, 1600, 120, Physical);


            AsheMenu = MainMenu.AddMenu("xRP Ashe", "SBTW Ashe");
            AsheMenu.AddGroupLabel("xRP-Ashe 2.0");
            AsheMenu.AddSeparator();
            AsheMenu.AddLabel("Made by: xRPdev/Fixed by Beadwarf");

            ComboMenu = AsheMenu.AddSubMenu("Combo Mode");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQ", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("countP", new CheckBox("Wait Passive Count to Cast Q"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useW", new CheckBox("Use W in Combo"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useR", new CheckBox("Use R in combo"));
            ComboMenu.Add("hpPercent", new Slider("Minimum Hp % to stun", 15));

            PotionMenu = AsheMenu.AddSubMenu("Potions Manager");
            PotionMenu.AddGroupLabel("Potions Settings");
            PotionMenu.AddSeparator();
            PotionMenu.Add("useHP", new CheckBox("Use Health Potion"));
            PotionMenu.Add("hpbar", new Slider("Minimum Health Percent", 75));
            PotionMenu.AddSeparator();

            ItensMenu = AsheMenu.AddSubMenu("Itens Settings");
            ItensMenu.AddGroupLabel("itens settings");
            ItensMenu.AddSeparator();
            ItensMenu.Add("useER", new CheckBox("use Botrk in Combo"));
            ItensMenu.Add("hpPorcent", new Slider("Enemy Health Porcent to use Botrk", 30));
            ItensMenu.Add("mehpPorcent", new Slider("My Health Porcent to use Botrk", 50));
            ItensMenu.AddSeparator();
            ItensMenu.Add("useYommus", new CheckBox("Use yommus in Combo"));


            HarassMenu = AsheMenu.AddSubMenu("Harass Mode");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQ", new CheckBox("Use Q in harass"));
            HarassMenu.Add("countP", new CheckBox("Wait passive count to cast Q in harass"));
            HarassMenu.AddSeparator();
            HarassMenu.Add("useW", new CheckBox("Use W in harass"));

            FarmMenu = AsheMenu.AddSubMenu("LaneClear Mode");
            FarmMenu.AddGroupLabel("Farm Settings");
            FarmMenu.AddSeparator();
            FarmMenu.Add("farmQ", new CheckBox("Use Q to farm"));
            FarmMenu.Add("countP", new CheckBox("Wait Passive Count to Cast Q in laneClear"));
            FarmMenu.AddSeparator();
            FarmMenu.Add("farmW", new CheckBox("Use W to farm"));
            FarmMenu.Add("countM", new Slider("Min Minions to cast W", 5));

            MiscMenu = AsheMenu.AddSubMenu("Misc Settings");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.AddSeparator();
            MiscMenu.Add("autoE", new CheckBox("Cast E when lost target"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("useQjungle", new CheckBox("Jungle Steal Q"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapr", new CheckBox("W in gapcloser"));
            MiscMenu.Add("intr", new CheckBox("Interrupter with R"));

            DrawMenu = AsheMenu.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawW", new CheckBox("Draw Q range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E range"));
            DrawMenu.Add("drawAA", new CheckBox("Draw Auto Attack range"));

            Game.OnTick                      += Tick;
            Drawing.OnDraw                   += OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }
Exemple #2
0
        private static void OnLoaded(EventArgs args)
        {
            //Check Champ Name
            if (Player.Instance.ChampionName != "Caitlyn")
            {
                return;
            }

            //Spell Instance
            Q = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear);
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular);
            E = new Spell.Skillshot(SpellSlot.E, 980, SkillShotType.Linear);
            R = new Spell.Targeted(SpellSlot.R, 3000);


            // Menu Settings
            CaitMenu = MainMenu.AddMenu("xRP Caitlyn", "xrpcait");
            CaitMenu.AddGroupLabel("xRP-Caitlyn");
            CaitMenu.AddSeparator();
            CaitMenu.AddGroupLabel("Made by: xRPdev");


            ComboMenu = CaitMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useqcombo", new CheckBox("Use Q"));
            ComboMenu.Add("usewcombo", new CheckBox("Use W"));
            ComboMenu.Add("useecombo", new CheckBox("Use E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("usercombo", new CheckBox("Use R if Killable"));
            ComboMenu.Add("minR", new Slider("Minimum Range to Cast R [Max for Full Range]", 1500, 0, 3000));


            PredMenu = CaitMenu.AddSubMenu("Prediction", "pred");
            PredMenu.AddGroupLabel("Prediction");
            PredMenu.AddSeparator();
            PredMenu.Add("predq", new CheckBox("Q Hit Chance [CHECK FOR MEDIUM | NO CHECK FOR HIGH]"));
            PredMenu.AddSeparator();
            PredMenu.Add("prede", new CheckBox("E Hit Chance [ CHECK FOR MEDIUM | NO CHECK FOR HIGH]"));
            PredMenu.AddSeparator();
            PredMenu.Add("predw", new CheckBox("W Hit Chance [ CHECK FOR MEDIUM | NO CHECK FOR HIGH]"));

            HarassMenu = CaitMenu.AddSubMenu("Harass", "sbtwharass");
            HarassMenu.AddGroupLabel("Harasss Settings");
            HarassMenu.Add("useQharass", new CheckBox("Use Q Harass"));
            HarassMenu.Add("useEharasss", new CheckBox("Use E Harass"));
            HarassMenu.Add("useQcc", new CheckBox("Use Q Enemy CC"));

            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            FarmMenu = CaitMenu.AddSubMenu("Farm", "sbtwfarm");
            FarmMenu.AddGroupLabel("Farm Settings");
            FarmMenu.Add("useQfarm", new CheckBox("Use Q to Farm"));

            ItemMenu = CaitMenu.AddSubMenu("Items", "sbtwitem");
            ItemMenu.AddGroupLabel("Itens Settings");
            ItemMenu.Add("useER", new CheckBox("Use Botrk"));
            ItemMenu.Add("ERhealth", new Slider("Min Health % enemy to Botrk", 20));
            ItemMenu.Add("UseYommus", new CheckBox("Use Yommus"));
            ItemMenu.AddSeparator();

            PotionMenu = CaitMenu.AddSubMenu("Potion", "sbtwpotion");
            PotionMenu.AddGroupLabel("Potions Settings");
            PotionMenu.Add("hpPotion", new CheckBox("Hp Potion Use"));
            PotionMenu.Add("hp%", new Slider("Health Percent"));

            MiscMenu = CaitMenu.AddSubMenu("Misc", "sbtwmisc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("ksR", new CheckBox("R Killsteal"));
            MiscMenu.Add("intW", new CheckBox("Interrupt with W"));
            MiscMenu.Add("Egap", new CheckBox("E on Gapcloser"));

            DrawMenu = CaitMenu.AddSubMenu("Draw", "sbtwdraw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawAA", new CheckBox("Draw Auto Attack Range"));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddSeparator();
            DrawMenu.Add("disable", new CheckBox("Disable all Drawing"));
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawc", new CheckBox("Draw Combo Damage"));



            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnTick           += Tick;
            Drawing.OnDraw        += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
            Drawing.OnDraw        += OnDamageDraw;
        }