Exemplo n.º 1
0
        public static void Harass()
        {
            var target = TargetSelector2.GetTarget(GetDynamicRange() + 100, DamageType.Magical);

            if (target == null)
            {
                return;
            }

            if (Program.HarassMenu["useQHarass"].Cast <CheckBox>().CurrentValue&& Program.Q.IsReady() && target.IsValidTarget(Program.Q.Range))
            {
                Program.Q.Cast(target);
            }
            else if (Program.HarassMenu["useWHarass"].Cast <CheckBox>().CurrentValue&& Program.W.IsReady() && target.Distance(_Player) > _Player.GetAutoAttackRange(target))
            {
                Program.W.Cast();
            }
        }
Exemplo n.º 2
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            TargetSelector2.init();
            Bootstrap.Init(null);

            Q = new Spell.Targeted(SpellSlot.Q, 680);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 300, SkillShotType.Circular, 500, 1000, 120);

            TeemoMenu = MainMenu.AddMenu("TeemoBuddy", "teemobuddy");
            TeemoMenu.AddGroupLabel("TeemoBuddy");
            TeemoMenu.AddSeparator();
            TeemoMenu.AddLabel("Always Remember, Buck Frandon.");
            TeemoMenu.AddLabel("Made By Fluxy");

            ComboMenu = TeemoMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.Add("useRCombo", new CheckBox("Use R"));

            HarassMenu = TeemoMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Use W"));

            FarmMenu = TeemoMenu.AddSubMenu("Farm", "Farm");
            FarmMenu.AddGroupLabel("Farming Settings");
            FarmMenu.AddSeparator();
            FarmMenu.Add("useQFarmLH", new CheckBox("Use Q for LastHit"));
            FarmMenu.Add("useQFarmWC", new CheckBox("Use Q for WaveClear"));

            FleeMenu = TeemoMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.AddSeparator();
            FleeMenu.Add("useRFlee", new CheckBox("Use R"));
            FleeMenu.Add("useWFlee", new CheckBox("Use W"));

            Game.OnTick += Game_OnTick;
        }