Exemplo n.º 1
0
 static DemSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 1650, 70);
     W = new Spell.Active(SpellSlot.W, 590);
     E = new Spell.Skillshot(SpellSlot.E, 1280, SkillShotType.Linear, 500, 1200, 120);
     R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Circular, 1200, int.MaxValue, 240);
 }
Exemplo n.º 2
0
        static SpellManager()
        {
            Q = new Spell.Active(SpellSlot.Q, 125);
            W = new Spell.Skillshot(SpellSlot.W, 585, SkillShotType.Circular, 250, int.MaxValue, 200);
            E = new Spell.Targeted(SpellSlot.E, 540);
            R = new Spell.Targeted(SpellSlot.R, 835);

            if (Utility.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
            }
            if (Utility.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
            }
            if (Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1)
                .Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase))
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            if (Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2)
                .Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase))
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }
        }
Exemplo n.º 3
0
 static SpellManager()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1070, SkillShotType.Linear, 250, 2000, 85);
     W = new Spell.Active(SpellSlot.W, 295);
     E = new Spell.Active(SpellSlot.E, 330);
     R = new Spell.Active(SpellSlot.R, 528);
 }
Exemplo n.º 4
0
 public static void InitSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 1200, 40);
     W = new Spell.Targeted(SpellSlot.W, 5000);
     E = new Spell.Active(SpellSlot.E, 950);
     R = new Spell.Active(SpellSlot.R, 1500);
 }
Exemplo n.º 5
0
 static SpellManager()
 {
     Q = new Spell.Active(SpellSlot.Q, (uint)Player.Instance.GetAutoAttackRange());
     W = new Spell.Active(SpellSlot.W, (uint)Player.Instance.GetAutoAttackRange());
     E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear, 250, 1400, 130);
     R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Linear, 400, 2000, 160);
 }
Exemplo n.º 6
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Variables._Player.Hero != Champion.Draven)
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q, (uint) Variables._Player.GetAutoAttackRange());
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 2000, SkillShotType.Linear);

            var slot = Variables._Player.GetSpellSlotFromName("summonerdot");
            if (slot != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(slot, 600);
            }

            Variables.QReticles = new List<Variables.QRecticle>();

            Qss = new Item((int) ItemId.Quicksilver_Sash);
            Mercurial = new Item((int) ItemId.Mercurial_Scimitar);

            Variables.abilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };

            EventManager.load();
            MenuManager.Load();
        }
Exemplo n.º 7
0
 public static void InitSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1300, SkillShotType.Linear, 400, int.MaxValue, 120);
     W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular, 400, int.MaxValue, 65);
     E = new Spell.Skillshot(SpellSlot.E, 950, SkillShotType.Circular, 50, int.MaxValue, 250);
     R = new Spell.Targeted(SpellSlot.R, 2000);
 }
Exemplo n.º 8
0
 static DemSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 70);
     W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 1350, 0, 225);
     E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Circular, 500, 0, 425);
     R = new Spell.Targeted(SpellSlot.R, 650);
 }
Exemplo n.º 9
0
 private static void SpellsItems()
 {
     Q = new Spell.Active(SpellSlot.Q, 300);
     Q2 = new Spell.Skillshot(SpellSlot.Q, 300, SkillShotType.Linear);
     W = new Spell.Active(SpellSlot.W);
     E = new Spell.Targeted(SpellSlot.E, 590);
     E2 = new Spell.Skillshot(
         SpellSlot.E,
         (uint)(590 + ObjectManager.Player.BoundingRadius),
         SkillShotType.Linear,
         250,
         1200);
     R = new Spell.Active(SpellSlot.R);
     var slot = Variables._Player.GetSpellSlotFromName("summonerheal");
     if (slot != SpellSlot.Unknown)
     {
         Heal = new Spell.Active(slot, 600);
     }
     totem = new Item((int)ItemId.Warding_Totem_Trinket);
     Qss = new Item((int)ItemId.Quicksilver_Sash);
     Mercurial = new Item((int)ItemId.Mercurial_Scimitar);
     HPPot = new Item(2003);
     Biscuit = new Item(2010);
     zzrot = new Item(ItemId.ZzRot_Portal, 400);
 }
Exemplo n.º 10
0
 public Cassiopeia()
 {
     if (BrutalExtensions.GetGameType().Equals("bot_intermediate"))
     {
         log = true;
         AutoWalker.EndGame += end;
         file500 =
             new StreamWriter(Path.Combine(Environment.GetFolderPath(
                 Environment.SpecialFolder.ApplicationData), "AutoBuddy\\qPred500"), true);
         file600 =
             new StreamWriter(Path.Combine(Environment.GetFolderPath(
                 Environment.SpecialFolder.ApplicationData), "AutoBuddy\\qPred600"), true);
         file700 =
             new StreamWriter(Path.Combine(Environment.GetFolderPath(
                 Environment.SpecialFolder.ApplicationData), "AutoBuddy\\qPred700"), true);
         Core.DelayAction(fl, 10000);
     }
     ShopSequence =
         "3340:Buy,2003:StartHpPot,1056:Buy,1027:Buy,3070:Buy,1001:Buy,1058:Buy,3003:Buy,3020:Buy,1028:Buy,1011:Buy,1058:Buy,2003:StopHpPot,3116:Buy,1004:Buy,1004:Buy,3114:Buy,1052:Buy,3108:Buy,3165:Buy,1056:Sell,1058:Buy,3089:Buy,1028:Buy,3136:Buy,3151:Buy";
     Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Circular, 600, int.MaxValue, 35);
     W = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 500, 2500, 90);
     R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Cone, 650, int.MaxValue, 75);
     E = new Spell.Targeted(SpellSlot.E, 700);
     updateTearStatus();
     Game.OnTick += Game_OnTick;
     if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue)
         Drawing.OnDraw += Drawing_OnDraw;
     
 }
Exemplo n.º 11
0
 static SpellManager()
 {
     Q = new Spell.Targeted(SpellSlot.Q, 600);
     W = new Spell.Skillshot(SpellSlot.W, 700, EloBuddy.SDK.Enumerations.SkillShotType.Circular);
     E = new Spell.Active(SpellSlot.E, 325);
     R = new Spell.Targeted(SpellSlot.R, 700);
 }
Exemplo n.º 12
0
 static SpellManager()
 {
     Q = new Spell.Targeted(SpellSlot.Q, 625);
     W = new Spell.Skillshot(SpellSlot.W, 625, SkillShotType.Cone, 250, int.MaxValue, 50);
     E = new Spell.Active(SpellSlot.E, 0);
     R = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 250, int.MaxValue, 290);
 }
Exemplo n.º 13
0
        static SpellManager()
        {
            Q = new Spell.Chargeable(SpellSlot.Q, 250, 875, 1250, 0, 1400, 55);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 600);
            E2 = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Cone);
            R = new Spell.Targeted(SpellSlot.R, 800);
            var FlashSlot = ObjectManager.Player.GetSpellSlotFromName("summonerflash");
            Flash = new Spell.Skillshot(FlashSlot, 450, SkillShotType.Linear, 0, int.MaxValue, 55);
            
            Q.AllowedCollisionCount = int.MaxValue;
            Flash.AllowedCollisionCount = int.MaxValue;

            //VodkaSmite

            if (SmiteDamage.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
                return;
            }
            if (SmiteDamage.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
            }
        }
Exemplo n.º 14
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Variables._Player.Hero != Champion.Yasuo)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 450, EloBuddy.SDK.Enumerations.SkillShotType.Linear, 250, Variables.GetNewQSpeed(), 1)
            {
                AllowedCollisionCount = int.MaxValue
            };
            Q3 = new Spell.Skillshot(SpellSlot.Q, 900, EloBuddy.SDK.Enumerations.SkillShotType.Linear, 300, 1200, 50)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Skillshot(SpellSlot.W, 400, EloBuddy.SDK.Enumerations.SkillShotType.Cone);
            E = new Spell.Targeted(SpellSlot.E, 475);
            R = new Spell.Active(SpellSlot.R, 1200);

            var slot = Variables._Player.GetSpellSlotFromName("summonerdot");
            if (slot != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(slot, 600);
            }

            Qss = new Item((int) ItemId.Quicksilver_Sash);
            Mercurial = new Item((int) ItemId.Mercurial_Scimitar);

                Variables.abilitySequence = new int[] {1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2};

            EventManager.load();
            MenuManager.Load();
        }
Exemplo n.º 15
0
        public static void Initialize()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, (uint) Player.Instance.Spellbook.GetSpell(SpellSlot.Q).SData.CastRange,
                SkillShotType.Linear)
            {
                AllowedCollisionCount = int.MaxValue
            };

            W = new Spell.Active(SpellSlot.W,
                70 + (uint) Player.Instance.BoundingRadius +
                (uint) (Player.Instance.HasBuff("RivenFengShuiEngine") ? 195 : 120));

            E = new Spell.Skillshot(SpellSlot.E, 325 + (uint) Player.Instance.AttackRange,
                SkillShotType.Linear)
            {
                AllowedCollisionCount = int.MaxValue
            };

            R1 = new Spell.Active(SpellSlot.R);

            R2 = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Cone, 250, 1600, 125)
            {
                AllowedCollisionCount = int.MaxValue
            };

            var slot = Player.Instance.GetSpellSlotFromName("summonerflash");

            if (slot != SpellSlot.Unknown)
            {
                Flash = new Spell.Skillshot(slot, 425, SkillShotType.Linear);
            }
        }
Exemplo n.º 16
0
 static SpellManager()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 2000, 50);
     W = new Spell.Active(SpellSlot.W, 300);
     E = new Spell.Active(SpellSlot.E, 350);
     R = new Spell.Active(SpellSlot.R, 550);
 }
Exemplo n.º 17
0
        static SpellManager()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 860, SkillShotType.Linear, 250, 1600, 65);
            Q2 = new Spell.Skillshot(SpellSlot.Q, 1310, SkillShotType.Linear, 250, 1600, 65);
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular);
            E = new Spell.Skillshot(SpellSlot.E, int.MaxValue, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 3400, SkillShotType.Circular, 250, int.MaxValue, 650);

            Q.AllowedCollisionCount = 1;


            if (Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase))
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            if (Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase))
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }

            if (Utility.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
            }
            if (Utility.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
            }
        }
Exemplo n.º 18
0
 static DemSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, 100, 2000, 70);
     WGRAB = new Spell.Active(SpellSlot.W);
     W1 = new Spell.Targeted(SpellSlot.W, 330);
     W2 = new Spell.Skillshot(SpellSlot.W, 650, SkillShotType.Linear, 100, 900, 75);
 }
Exemplo n.º 19
0
 static SpellManager()
 {
     Q = new Spell.Active(SpellSlot.Q, 425);
     W = new Spell.Active(SpellSlot.W, 200);
     E = new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Cone, 250, int.MaxValue, 60);
     R = new Spell.Targeted(SpellSlot.R, 460);
 }
Exemplo n.º 20
0
 public static void Init()
 {
     Q = new Spell.Active(SpellSlot.Q, 550);
     W = new Spell.Skillshot(SpellSlot.W, 825, SkillShotType.Circular, 250, int.MaxValue, 80);
     E = new Spell.Targeted(SpellSlot.E, 550);
     R = new Spell.Targeted(SpellSlot.R, 550);
 }
Exemplo n.º 21
0
 static SpellManager()
 {
     Q = new Spell.Active(SpellSlot.Q, 550);
     W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180);
     E = new Spell.Targeted(SpellSlot.E, 550);
     R = new Spell.Targeted(SpellSlot.R, 550);
 }
Exemplo n.º 22
0
 public void InitializeSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 980, SkillShotType.Linear, (int)250f, (int)1800f, (int)70f);
     W = new Spell.Active(SpellSlot.W, 0);
     E = new Spell.Active(SpellSlot.E, 150);
     R = new Spell.Active(SpellSlot.R, 550);
 }
Exemplo n.º 23
0
 static DemSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2100, 40);
     W = new Spell.Targeted(SpellSlot.W, 5000);
     E = new Spell.Active(SpellSlot.E, 1000);
     R = new Spell.Active(SpellSlot.R, 1100);
 }
Exemplo n.º 24
0
 public static void InitSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1090, SkillShotType.Linear, 650, 2000, 70);
     W = new Spell.Active(SpellSlot.W, 295);
     E = new Spell.Active(SpellSlot.E, 340);
     R = new Spell.Active(SpellSlot.R, 540);
 }
Exemplo n.º 25
0
 static SpellManager()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1230, SkillShotType.Linear, 450, );
     W = new Spell.Skillshot(SpellSlot.W, 800);
     E = new Spell.Skillshot(SpellSlot.E, 950);
     R = new Spell.Targeted(SpellSlot.R, 2000);
 }
Exemplo n.º 26
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Hacks.AntiAFK = true;
            Bootstrap.Init(null);
            myMana = ObjectManager.Player.Mana;
            _Flash = new Spell.Active(SpellSlot.Summoner1, 425);
            _Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear);
            _W = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Linear);
            _E = new Spell.Skillshot(SpellSlot.E, 290, SkillShotType.Circular);
            _R = new Spell.Targeted(SpellSlot.R, 675);

            Menu = MainMenu.AddMenu("The Shadow", "theshadow");
            Menu.AddGroupLabel("The Shadow");
            Menu.AddLabel("By Buddy");
            Menu.AddSeparator();
            Menu.AddLabel("VERS=0.2BETA RELEASE 1");

            ComboMenu = Menu.AddSubMenu("Combo Menu", "combomenu");

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q"));
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("useR", new CheckBox("Use R"));

            DrawMenu = Menu.AddSubMenu("Drawings Menu", "drawingsmenu");

            DrawMenu.AddGroupLabel("Drawings Menu");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("drawW", new CheckBox("Draw W"));
            DrawMenu.Add("drawE", new CheckBox("Draw E"));
            DrawMenu.Add("drawR", new CheckBox("Draw R"));
            DrawMenu.Add("drawText", new CheckBox("Draw Text"));
            DrawMenu.Add("drawFlash", new CheckBox("Draw Flash"));

            HarassMenu = Menu.AddSubMenu("Harass Menu", "harassmenu");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseE", new CheckBox("Use E"));
            
            FarmMenu = Menu.AddSubMenu("Farm Menu", "farmmenu");

            FarmMenu.AddLabel("Wave Clear");
            FarmMenu.Add("fwUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fwUseE", new CheckBox("Use E"));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("flUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("flUseE", new CheckBox("Use E"));
            
            Game.OnTick += Game_OnTick;
            Drawing.OnDraw += Draw.OnDraw;

            Chat.Print("<font color='#00FF00'>The Shadow by Buddy Loaded</font>");
            Chat.Print("<font color='#00FF00'>VERS=</font><font color='#ffffff'>0.2BETA RELEASE 1</font>");
        }
Exemplo n.º 27
0
 static Spells()
 {
     Q = new Spell.Active(SpellSlot.Q);
     W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 1400, 275);
     E = new Spell.Active(SpellSlot.E, 1200);
     R = new Spell.Active(SpellSlot.R, 850);
 }
Exemplo n.º 28
0
 static SpellManager()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 980, SkillShotType.Linear, 260, 1850, 70);
     W = new Spell.Active(SpellSlot.W, 260);
     E = new Spell.Active(SpellSlot.E, (uint)Player.Instance.AttackRange + (uint)Player.Instance.BoundingRadius);
     R = new Spell.Active(SpellSlot.R);
 }
Exemplo n.º 29
0
        public Jayce()
            : base()
        {
            

            Qcharge = new Spell.Skillshot(SpellSlot.Q, 1650, SkillShotType.Linear, 25, 1600, 70);
            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W, 285);
            E = new Spell.Targeted(SpellSlot.E, 240);
            Q2 = new Spell.Skillshot(SpellSlot.Q, 1030, SkillShotType.Linear, 25, 1200, 70)
            {
                MinimumHitChance = HitChance.High,
            };
            W2 = new Spell.Active(SpellSlot.W);
            E2 = new Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Circular, 1, int.MaxValue, 120);
            R = new Spell.Active(SpellSlot.R);

            ModeMenu = PluginMenu.AddSubMenu("Modes", "Modes");
            ModeMenu.AddGroupLabel("Combo");
            ModeMenu.Add("Qcombo", new CheckBox("Kullan Q Çekic"));
            ModeMenu.Add("Q2combo", new CheckBox("Kullan Q Top"));
            ModeMenu.Add("Wcombo", new CheckBox("Kullan W Çekic"));
            ModeMenu.Add("W2combo", new CheckBox("Kullan W Top"));
            ModeMenu.Add("Ecombo", new CheckBox("Kullan E Çekic"));
            ModeMenu.Add("QEcombo", new CheckBox("Kullan QE Top"));
            ModeMenu.Add("Rcombo", new CheckBox("Formu Değiştir(R)"));

            ModeMenu.AddGroupLabel("Harass");
            ModeMenu.Add("Q2harass", new CheckBox("Kullan Q Top"));
            ModeMenu.Add("W2harass", new CheckBox("Kullan W Top"));
            ModeMenu.Add("QEharass", new CheckBox("Kullan QE Top"));

            MiscMenu = PluginMenu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Key Binds");
            MiscMenu.Add("Quickscope", new KeyBind("Quickscope", false, KeyBind.BindTypes.HoldActive, 'A'));
            MiscMenu.Add("Insec", new KeyBind("Insec", false, KeyBind.BindTypes.HoldActive, 'G'));
            MiscMenu.Add("FlashInsec", new CheckBox("->Flash insec"));

            MiscMenu.AddGroupLabel("Ayarlar");
            MiscMenu.Add("Gapcloser", new CheckBox("Kullan E  Gapcloser"));
            MiscMenu.Add("Interrupt", new CheckBox("Kullan E  Interrupt"));
            MiscMenu.Add("GateMode", new ComboBox("QE Mode", 0, "Vertical Fast", "Horizontal Fast", "Horizontal Slow"));
            MiscMenu.Add("GateDistance", new Slider("E mesafesi", 60, 60, 100));

            MiscMenu.AddGroupLabel("Kill Steal");
            MiscMenu.Add("QEks", new CheckBox("QE Killçalma"));

            DrawMenu = PluginMenu.AddSubMenu("Drawing", "Drawing");
            DrawMenu.AddGroupLabel("Büyü Menzilleri");
            DrawMenu.Add("Q", new CheckBox("Göster Q Çekic"));
            DrawMenu.Add("Q2", new CheckBox("Göster Q Top"));
            DrawMenu.Add("Qcharge", new CheckBox("Göster QE Top"));
            
            DrawMenu.AddGroupLabel("Diğer");
            DrawMenu.Add("Drawcds", new CheckBox("Göster Bekleme Süreleri"));

            
            Gapcloser.OnGapcloser += OnGapCloser;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
        }
Exemplo n.º 30
0
        public static void Game_OnGameStart(EventArgs args)
        {
            Chat.Print("<font color='#1D84B4'>LTTS-Kassadin: </font> <font color ='#FFFFFF'>Loading...</font> ");
            Chat.Print("<font color='#1D84B4'>LTTS-Kassadin: </font> <font color ='#FFFFFF'>Loading complete.</font> ");

            if(MyPlayer.ChampionName != "Kassadin")
            {
                Chat.Print("<font color='#1D84B4'>LTTS-Kassadin:</font> <font color ='#FFFFFF'> This champion is not supported.</font>");
            }

            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W, 200);
            E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Cone, 250, int.MaxValue, 80);
            R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Circular, 250, int.MaxValue, 150);

            Menu = MainMenu.AddMenu("LTTS Kassadin", "MainMenuLTS");
            Menu.AddGroupLabel("LTTS Kassadin - Version " + Version);
            Menu.AddLabel("This is my first addon, any bugs please report for me. Enjoy it.");

            DrawMenu = Menu.AddSubMenu("Draws Menu", "DrawMenuLTS");
            DrawMenu.Add("DrawQ", new CheckBox("Draw Q Range", false));
            DrawMenu.Add("DrawW", new CheckBox("Draw W Range", false));
            DrawMenu.Add("DrawE", new CheckBox("Draw E Range", false));
            DrawMenu.Add("DrawR", new CheckBox("Draw R Range", false));

            FarmMenu = Menu.AddSubMenu("Farm Menu", "FarmMenuLTS");
            FarmMenu.AddGroupLabel("LaneClear");
            FarmMenu.Add("UseQLC", new CheckBox("Use Q", true));
            FarmMenu.Add("UseWLC", new CheckBox("Use W", true));
            FarmMenu.Add("UseELC", new CheckBox("Use E", true));
            FarmMenu.AddGroupLabel("LastHit");
            FarmMenu.Add("UseQLH", new CheckBox("Use Q", true));
            FarmMenu.Add("UseWLH", new CheckBox("Use W", true));
            FarmMenu.Add("UseELH", new CheckBox("Use E", true));
        }
Exemplo n.º 31
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Velkoz)
            {
                Chat.Print("Champion not supported!");
                return;
            }



            Chat.Print("Vel_Koz By LivS  LOADED  ", System.Drawing.Color.GreenYellow);
            //Create Spells
            Q = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear, 250, 1300, 50);
            // QSplit = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 2100, 55);
            //  QDummy = new Spell.Skillshot(SpellSlot.Q, (uint) Math.Sqrt(Math.Pow(Q.Range, 2) + Math.Pow(QSplit.Range, 2)),
            // SkillShotType.Linear, 250, int.MaxValue, 50);

            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 250, 1700, 85);

            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Circular, 500, 1500, 100);

            R = new Spell.Skillshot(SpellSlot.R, 1550, SkillShotType.Linear, 300, int.MaxValue, 1);

            var slot = Player.GetSpellSlotFromName("summonerdot");

            if (slot != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(slot, 600);
            }


            Menu = MainMenu.AddMenu("LivVel_Koz", "LivVel_Koz");

            Menu.AddSeparator();
            //ComboMenu
            Settings = Menu.AddSubMenu("Combo", "Combo");
            Settings.Add("QCombo", new CheckBox("Use Q"));
            Settings.Add("WCombo", new CheckBox("Use W"));
            Settings.Add("ECombo", new CheckBox("Use E"));
            Settings.Add("RCombo", new CheckBox("Use R"));



            Settings.AddSeparator();
            //Harass
            Settings = Menu.AddSubMenu("Harass");
            Settings.Add("QHarass", new CheckBox("Use Q"));
            Settings.Add("WHarass", new CheckBox("Use W"));
            Settings.Add("EHarass", new CheckBox("Use E"));

            Settings.AddSeparator();
            //Farm
            Settings = Menu.AddSubMenu("LaneClear");
            Settings.Add("QFarm", new CheckBox("Use Q"));
            Settings.Add("WFarm", new CheckBox("Use W"));
            Settings.Add("EFarm", new CheckBox("Use E", false));
            Settings.Add("ManaClear", new Slider("Min % Mana", 50, 0, 100));
            Settings.Add("minionw", new Slider("Minions to use E", 3, 1, 20));

            Settings.AddSeparator();
            //jungle Farm
            Settings = Menu.AddSubMenu("JungleClear");
            Settings.Add("Qjg", new CheckBox("Use Q"));
            Settings.Add("Wjg", new CheckBox("Use W)"));
            Settings.Add("Ejg", new CheckBox("Use E"));
            Settings.AddSeparator();
            //Misc
            Misc = Menu.AddSubMenu("Misc");
            Misc.Add("InterruptSpells", new CheckBox("Use interrupt Spells"));

            Misc.Add("Don't Use R on", new CheckBox("NotUseR"));
            //Flee
            Settings = Menu.AddSubMenu("Flee");
            Settings.Add("QFlee", new CheckBox("Use Q", true));
            Settings.Add("WFlee", new CheckBox("Use W", true));

            foreach (var hero in EntityManager.Heroes.Enemies)
            {
                // enemies doesnt need to check for team kappa
                Misc.Add("NotuseR" + hero.ChampionName, new CheckBox("NotUseR" + hero.ChampionName, false));
            }
            Misc.AddSeparator();
            //KS
            Settings = Menu.AddSubMenu("KillSteal", "KillSteal");
            Settings.Add("QKs", new CheckBox("Use Q", true));
            Settings.Add("WKs", new CheckBox("Use W", true));

            Settings.Add("IKs", new CheckBox("Use Ignite", true));


            // DamageIndicator.Initialize(GetComboDamage);
            // DamageIndicator.DrawingColor = System.Drawing.Color.Aqua;



            //Drawing
            Settings = Menu.AddSubMenu("Drawing");
            Settings.Add("DrawQ", new CheckBox("DrawQ"));
            Settings.Add("DrawW", new CheckBox("DrawW"));
            Settings.Add("DrawE", new CheckBox("DrawE"));
            Settings.Add("DrawR", new CheckBox("DrawR"));



            Settings.AddSeparator();


            Game.OnTick += Game_OnTick;

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw += Drawing_OnDraw;
            Spellbook.OnUpdateChargeableSpell += Spellbook_OnUpdateChargedSpell;
            DamageIndicator.Initialize(GetComboDamage);
            DamageIndicator.DrawingColor = System.Drawing.Color.Aqua;
        }
Exemplo n.º 32
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Graves)
            {
                return;
            }
            Chat.Print("Graves7 Loaded!", Color.GreenYellow);
            Chat.Print("Doctor7", Color.Yellow);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Linear, 250, 2000, 60);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 250, 1650, 150);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 2100, 100);
            R.AllowedCollisionCount = int.MaxValue;


            Menu = MainMenu.AddMenu("Graves7", "Graves7");
            Menu.AddGroupLabel("Graves7");
            Menu.AddLabel(" FEATURES ");
            Menu.AddLabel(" Please Select Target Before Play ! ");
            Menu.AddLabel(" Use E Reset AA");
            Menu.AddLabel(" KillSteal");
            Menu.AddLabel(" Anti Gapcloser");
            Menu.AddLabel(" Skin Hack ");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboMenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddLabel("Spell [Q] On");
            foreach (var enemies in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add("combo" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Spell [E] Reset AA"));
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]", false));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassMenu");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddLabel("Harass [Q] On");
            foreach (var enemies in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }
            HarassMenu.Add("HarassMana", new Slider("Min Mana Harass [Q]", 50));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Spells Settings");
            HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]", 40));
            HarassMenu.Add("HarassAA", new CheckBox("Spell [E] Reset AA", false));
            HarassMenu.Add("ManaHarass", new Slider("Min Mana For [E] Harass", 50));

            ClearMenu = Menu.AddSubMenu("Laneclear Settings", "LaneClearMenu");
            ClearMenu.AddGroupLabel("Laneclear Settings");
            ClearMenu.Add("QClear", new CheckBox("Spell [Q]"));
            ClearMenu.Add("ClearMana", new Slider("Min Mana For [Q] LaneClear", 70));
            ClearMenu.Add("LaneAA", new CheckBox("Spell [E] Reset AA", false));
            ClearMenu.Add("ELane", new Slider("Min Mana For [E] LaneClear", 70));

            JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleMenu");
            JungleMenu.AddGroupLabel("JungleClear Settings");
            JungleMenu.Add("QJungleClear", new CheckBox("Spell [Q]"));
            JungleMenu.Add("JungleMana", new Slider("Min Mana For [Q] JungleClear", 30));
            JungleMenu.Add("WJungleClear", new CheckBox("Spell [W]"));
            JungleMenu.Add("JungleManaW", new Slider("Min Mana For [W] JungleClear", 50));
            JungleMenu.Add("JungleAA", new CheckBox("Spell [E]"));
            JungleMenu.Add("EJung", new Slider("Min Mana For [E] JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillStealMenu");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Spell [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Spell [W] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Spell [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 600, 1, 1500));
            KillStealMenu.Add("maxKsR", new Slider("Max [R] Range KillSteal", 1500, 1, 1500));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser"));
            Misc.Add("AntiGapW", new CheckBox("Use [W] AntiGapcloser"));
            Misc.AddSeparator();
            Misc.AddLabel("Spells On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] If Enemy Has CC", false));
            Misc.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC"));


            Drawings = Menu.AddSubMenu("Drawings Settings", "DrawingMenu");
            Drawings.AddGroupLabel("Drawings");
            Drawings.Add("drawQ", new CheckBox("[Q] Range"));
            Drawings.Add("drawW", new CheckBox("[W] Range", false));
            Drawings.Add("drawE", new CheckBox("[E] Range", false));
            Drawings.Add("drawR", new CheckBox("[R] Range"));


            Game.OnTick            += Game_OnTick;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += ResetAttack;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapcloser;
        }
Exemplo n.º 33
0
        static Ezreal()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 1300, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1050, SkillShotType.Linear, 250, 1600, 80)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 6000, SkillShotType.Linear, 1000, 2000, 160)
            {
                AllowedCollisionCount = int.MaxValue
            };

            ComboDamages = Cache.Resolve <CustomCache <int, float> >(1000);

            ColorPicker = new ColorPicker[4];

            ColorPicker[0] = new ColorPicker("EzrealQ", new ColorBGRA(10, 106, 138, 255));
            ColorPicker[1] = new ColorPicker("EzrealW", new ColorBGRA(177, 67, 191, 255));
            ColorPicker[2] = new ColorPicker("EzrealE", new ColorBGRA(255, 134, 0, 255));
            ColorPicker[3] = new ColorPicker("EzrealHpBar", new ColorBGRA(255, 134, 0, 255));

            DamageIndicator.Initalize(ColorPicker[3].Color);
            DamageIndicator.DamageDelegate = HandleDamageIndicator;

            ChampionTracker.Initialize(ChampionTrackerFlags.LongCastTimeTracker);

            Obj_AI_Base.OnBasicAttack += Obj_AI_Base_OnBasicAttack;

            Text = new Text("", new Font("calibri", 15, FontStyle.Regular));

            ColorPicker[3].OnColorChange +=
                (a, b) =>
            {
                DamageIndicator.Color = b.Color;
            };

            TearStacker.Initializer(new Dictionary <SpellSlot, float> {
                { SpellSlot.Q, 3000 }, { SpellSlot.W, 4200 }
            },
                                    () => (Player.Instance.CountEnemiesInRange(1000) == 0) && (Player.Instance.CountEnemyMinionsInRange(1000) == 0) && !HasAnyOrbwalkerFlags());

            Orbwalker.OnPreAttack += (a, b) =>
            {
                if (a.IsMe)
                {
                    return;
                }

                IsPreAttack = true;
            };

            Orbwalker.OnPostAttack += (a, b) =>
            {
                IsPreAttack  = false;
                IsPostAttack = true;
            };

            Orbwalker.OnUnkillableMinion += (target, args) =>
            {
                if (FarmMode && Q.IsReady() && (Q.GetPrediction(target).Collision == false) && (Prediction.Health.GetPrediction(target,
                                                                                                                                (int)((target.DistanceCached(Player.Instance) + Q.CastDelay) / Q.Speed * 1000)) > 0))
                {
                    Q.Cast(target.ServerPosition);
                }
            };

            ChampionTracker.OnLongSpellCast   += ChampionTracker_OnLongSpellCast;
            ChampionTracker.OnPostBasicAttack += ChampionTracker_OnPostBasicAttack;

            Obj_AI_Base.OnSpellCast += (sender, args) =>
            {
                if (Settings.Combo.WEComboKeybind && E.IsReady() && sender.IsMe && (args.Slot == SpellSlot.W))
                {
                    E.Cast(Player.Instance.Position.Extend(args.End, E.Range - 15).To3D());
                }
            };
        }
Exemplo n.º 34
0
        /// <summary>
        /// Called when the game finishes loading.
        /// </summary>
        /// <param name="args">The Args.</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.BaseSkinName != ChampionName)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1450, SkillShotType.Linear, 0, 1000, 40)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R, 5500);

            // Menu
            Essentials.MainMenu = MainMenu.AddMenu("Twisted Fate", "TwistedFate");

            // Card Selector Menu
            Essentials.CardSelectorMenu = Essentials.MainMenu.AddSubMenu("Card Selector Menu", "csMenu");
            Essentials.CardSelectorMenu.AddGroupLabel("Card Selector Settings");
            Essentials.CardSelectorMenu.Add("useY", new KeyBind("Use Yellow Card", false, KeyBind.BindTypes.HoldActive, "W".ToCharArray()[0]));
            Essentials.CardSelectorMenu.Add("useB", new KeyBind("Use Blue Card", false, KeyBind.BindTypes.HoldActive, "E".ToCharArray()[0]));
            Essentials.CardSelectorMenu.Add("useR", new KeyBind("Use Red Card", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));

            // Combo
            Essentials.ComboMenu = Essentials.MainMenu.AddSubMenu("Combo Menu", "comboMenu");
            Essentials.ComboMenu.AddGroupLabel("Combo Settings");
            Essentials.ComboMenu.Add("useQ", new CheckBox("Use Q in Combo"));
            Essentials.ComboMenu.Add("useCard", new CheckBox("Use W in Combo"));
            Essentials.ComboMenu.Add("useQStun", new CheckBox("Use Q only if Stunned", false));
            Essentials.ComboMenu.Add("qPred", new Slider("Q HitChance %", 75));
            Essentials.ComboMenu.Add("wSlider", new Slider("Range from enemy before picking card (Not including the additional range)", 300, 0, 10000));
            Essentials.ComboMenu.Add("manaManagerQ", new Slider("How much mana before using Q", 25));
            Essentials.ComboMenu.AddGroupLabel("Card Selector Configuration");
            Essentials.ComboMenu.Add("chooser", new ComboBox("Card Select Mode", new[] { "Smart", "Blue", "Red", "Yellow" }));
            Essentials.ComboMenu.Add("enemyW", new Slider("How many enemies before selecting Red Card (SMART)", 4, 1, 5));
            Essentials.ComboMenu.Add("manaW", new Slider("How much mana before selecting Blue Card (SMART)", 25));

            // Harass Menu
            Essentials.HarassMenu = Essentials.MainMenu.AddSubMenu("Harass Menu", "harassMenu");
            Essentials.HarassMenu.AddGroupLabel("Harass Settings");
            Essentials.HarassMenu.Add("useQ", new CheckBox("Use Q in Harass"));
            Essentials.HarassMenu.Add("useCard", new CheckBox("Use W in Harass"));
            Essentials.HarassMenu.Add("qPred", new Slider("Q HitChance %", 75));
            Essentials.HarassMenu.Add("wSlider", new Slider("Range from enemy before picking card (Not including the additional range)", 300, 0, 10000));
            Essentials.HarassMenu.Add("manaManagerQ", new Slider("How much mana before using Q", 25));
            Essentials.HarassMenu.AddGroupLabel("Card Selector Configuration");
            Essentials.HarassMenu.Add("chooser", new ComboBox("Card Select Mode", new[] { "Smart", "Blue", "Red", "Yellow" }));
            Essentials.HarassMenu.Add("enemyW", new Slider("How many enemies before selecting Red Card (SMART)", 3, 1, 5));
            Essentials.HarassMenu.Add("manaW", new Slider("How much mana before selecting Blue Card (SMART)", 25));

            // Lane Clear Menu
            Essentials.LaneClearMenu = Essentials.MainMenu.AddSubMenu("Lane Clear", "laneclearMenu");
            Essentials.LaneClearMenu.AddGroupLabel("LaneClear Settings");
            Essentials.LaneClearMenu.Add("useQ", new CheckBox("Use Q in LaneClear", false));
            Essentials.LaneClearMenu.Add("useCard", new CheckBox("Use W in LaneClear"));
            Essentials.LaneClearMenu.Add("qPred", new Slider("Use Q if Hit x Minions", 3, 1, 5));
            Essentials.LaneClearMenu.Add("manaManagerQ", new Slider("How much mana before using Q", 50));
            Essentials.LaneClearMenu.AddGroupLabel("Card Selector Configuration");
            Essentials.LaneClearMenu.Add("chooser", new ComboBox("Card Select Mode", new[] { "Smart", "Blue", "Red", "Yellow" }));
            Essentials.LaneClearMenu.Add("enemyW", new Slider("How many enemies before selecting Red Card (SMART)", 2, 1, 5));
            Essentials.LaneClearMenu.Add("manaW", new Slider("How much mana before selecting Blue Card (SMART)", 25));

            // Jungle Clear Menu
            Essentials.JungleClearMenu = Essentials.MainMenu.AddSubMenu("Jungle Clear Menu", "jgMenu");
            Essentials.JungleClearMenu.AddGroupLabel("JungleClear Settings");
            Essentials.JungleClearMenu.Add("useQ", new CheckBox("Use Q in JungleClear", false));
            Essentials.JungleClearMenu.Add("useCard", new CheckBox("Use W in JungleClear"));
            Essentials.JungleClearMenu.Add("qPred", new Slider("Q HitChance %", 75));
            Essentials.JungleClearMenu.Add("manaManagerQ", new Slider("How much mana before using Q", 50));
            Essentials.JungleClearMenu.AddGroupLabel("Card Selector Configuration");
            Essentials.JungleClearMenu.Add("chooser", new ComboBox("Card Select Mode", new[] { "Smart", "Blue", "Red", "Yellow" }));
            Essentials.JungleClearMenu.Add("enemyW", new Slider("How many enemies before selecting Red Card (SMART)", 2, 1, 5));
            Essentials.JungleClearMenu.Add("manaW", new Slider("How much mana before selecting Blue Card (SMART)", 25));

            // Kill Steal Menu
            Essentials.KillStealMenu = Essentials.MainMenu.AddSubMenu("Kill Steal Menu", "ksMenu");
            Essentials.KillStealMenu.AddGroupLabel("KillSteal Settings");
            Essentials.KillStealMenu.Add("useQ", new CheckBox("Use Q to KS"));
            Essentials.KillStealMenu.Add("qPred", new Slider("Q HitChance %", 75));
            Essentials.KillStealMenu.Add("manaManagerQ", new Slider("How much mana before using Q", 15));
            Essentials.KillStealMenu.AddSeparator();

            // Drawing Menu
            Essentials.DrawingMenu = Essentials.MainMenu.AddSubMenu("Drawing Menu", "drawMenu");
            Essentials.DrawingMenu.AddGroupLabel("Drawing Settings");
            Essentials.DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            Essentials.DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            Essentials.DrawingMenu.AddSeparator();

            // Misc Menu
            Essentials.MiscMenu = Essentials.MainMenu.AddSubMenu("Misc Menu", "miscMenu");
            Essentials.MiscMenu.AddGroupLabel("Misc Settings");
            Essentials.MiscMenu.Add("autoQ", new CheckBox("Automatically Q's a Stunned Target"));
            Essentials.MiscMenu.Add("qPred", new Slider("Q HitChance %", 75));
            Essentials.MiscMenu.Add("autoY", new CheckBox("Automatically select Yellow Card when R"));
            Essentials.MiscMenu.Add("delay", new CheckBox("Loop the whole cycle before picking card", false));
            Essentials.MiscMenu.Add("disableAA", new CheckBox("Disable Auto Attack during loop cycle."));

            // Prints Message
            Chat.Print("TwistedBuddy 2.3.1 - By KarmaPanda", System.Drawing.Color.Green);

            // Events
            Game.OnUpdate                  += Game_OnUpdate;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Obj_AI_Base.OnSpellCast        += Obj_AI_Base_OnSpellCast;
            Drawing.OnDraw                 += Drawing_OnDraw;
        }
Exemplo n.º 35
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Makes sure you are Katarina fdsgfdgdsgsd
            if (User.ChampionName != "Katarina")
            {
                return;
            }

            //print("P1 Katarina loaded! Have fun!");
            //Creates the menu
            int timetodaggerdead = 0;

            KatarinaMenu = MainMenu.AddMenu("Katarina", "P1 Katarina");

            //Creates a SubMenu
            ComboMenu        = KatarinaMenu.AddSubMenu("Kombo");
            LaneClearMenu    = KatarinaMenu.AddSubMenu("KoridorTemizleme");
            LastHitMenu      = KatarinaMenu.AddSubMenu("SonVurus");
            HarassAutoharass = KatarinaMenu.AddSubMenu("Durtme/OtoDurtme");
            KillStealMenu    = KatarinaMenu.AddSubMenu("Oldurme");

            HumanizerMenu = KatarinaMenu.AddSubMenu("Gecikme");
            DrawingsMenu  = KatarinaMenu.AddSubMenu("Cizmler");

            //Checkbox should be - YourMenu.Add(String MenuID, new CheckBox(String DisplayName, bool DefaultValue);
            ComboMenu.AddLabel("Turkce ceviri TekinTR herhangi bir problemde benimle iletisime gecin.");
            ComboMenu.Add("EAA", new CheckBox("Sadece hedef otomatik atak menzilinden cikinca E kullan"));
            LaneClearMenu.Add("Q", new CheckBox("Kullan Q koridor temizlerken"));
            LastHitMenu.Add("Q", new CheckBox("Kullan Q orman temizlerken"));
            HarassAutoharass.Add("HQ", new CheckBox("Kullan Q durterken"));
            HarassAutoharass.Add("CC", new CheckBox("Kullan E durterken kombo sifirlamada"));
            HarassAutoharass.Add("AHQ", new CheckBox("Kullan Q otomatik durt"));
            KillStealMenu.Add("Q", new CheckBox("Kullan Q oldururken"));
            KillStealMenu.Add("R", new CheckBox("Kullan R oldururken", false));
            HumanizerMenu.Add("Q", new Slider("Q Gecikmesi", 0, 0, 1000));
            HumanizerMenu.Add("W", new Slider("W Gecikmesi", 0, 0, 1000));
            HumanizerMenu.Add("E", new Slider("E Gecikmesi", 0, 0, 1000));
            HumanizerMenu.Add("R", new Slider("R Gecikmesi", 0, 0, 1000));



            //Giving Q values
            Q = new Spell.Targeted(SpellSlot.Q, 600, DamageType.Magical);

            //Giving W values
            W = new Spell.Active(SpellSlot.W, 150, DamageType.Magical);

            //Giving E values
            E = new Spell.Skillshot(SpellSlot.E, 700, EloBuddy.SDK.Enumerations.SkillShotType.Circular, 7, null, 150, DamageType.Magical);

            //Giving R values
            R = new Spell.Active(SpellSlot.R, 550, DamageType.Magical);

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            //Creating menu using foreach from a list
            foreach (var Spell in SpellList)
            {
                //Creates checkboxes using Spell Slot
                DrawingsMenu.Add(Spell.Slot.ToString(), new CheckBox("Goster " + Spell.Slot));
            }


            //used for drawings that dont override game UI
            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Damage_Indicator;
            //Drawing.OnEndScene += Draw_Q;


            //happens on every core tick
            Game.OnTick += Game_OnTick;
            Game.OnTick += Game_OnTick1;
        }
Exemplo n.º 36
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            /* Confirming Champion */
            if (Player.Instance.ChampionName != "Ryze")
            {
                return;
            }

            Bootstrap.Init(null);

            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1400, 55);
            W = new Spell.Targeted(SpellSlot.W, 600);
            E = new Spell.Targeted(SpellSlot.E, 600);
            R = new Spell.Active(SpellSlot.R);
            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);
            }

            MagicianRyzeMenu = MainMenu.AddMenu("Magician Ryze", "MagicianRyze");
            MagicianRyzeMenu.AddGroupLabel("Magician Ryze");

            SettingMenu = MagicianRyzeMenu.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"));
            }
            if (Smite != null)
            {
                SettingMenu.Add("Smitemode", new CheckBox("Auto Smite"));
                SettingMenu.Add("KSsmite", new CheckBox("Smite KS"));
            }
            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 = MagicianRyzeMenu.AddSubMenu("Drawing Features", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Drawing Features");
            DrawingMenu.AddSeparator();
            DrawingMenu.Add("Qdraw", new CheckBox("Q"));
            DrawingMenu.Add("WEdraw", new CheckBox("W/E"));
            if (Ignite != null)
            {
                DrawingMenu.Add("Idraw", new CheckBox("Ignite"));
            }
            if (Smite != null)
            {
                DrawingMenu.Add("Sdraw", new CheckBox("Smite"));
            }

            ComboMenu = MagicianRyzeMenu.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("Use R with rooting"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Seraph's Embrace Activation - 0 is Off");
            ComboMenu.Add("Seraphscall", new Slider("Seraph's Embrace if Health %", 25, 0, 100));

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

            JungleMenu = MagicianRyzeMenu.AddSubMenu("Jungle Features", "JungleFeatures");
            JungleMenu.AddGroupLabel("Jungle Features");
            JungleMenu.AddSeparator();
            JungleMenu.Add("Qjungle", new CheckBox("Q"));
            JungleMenu.Add("Wjungle", new CheckBox("W"));
            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 = MagicianRyzeMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("Qlanec", new CheckBox("Q"));
            LaneClearMenu.Add("Wlanec", new CheckBox("W"));
            LaneClearMenu.Add("Elanec", new CheckBox("E"));


            LastHitMenu = MagicianRyzeMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddSeparator();
            LastHitMenu.Add("Qlasthit", new CheckBox("Q"));
            LastHitMenu.Add("Wlasthit", new CheckBox("W"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            if (MagicianHandler.Ryze.Level == 1)
            {
                MagicianHandler.Ryze.Spellbook.LevelSpell(SpellSlot.Q);
            }
            Player.OnLevelUp += MagicianHandler.LevelerMode;

            /*Gapcloser.OnGapCloser += Gapcloser_OnGapcloser;
             * Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;*/
        }
Exemplo n.º 37
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Annie")
            {
                return;
            }
            Bootstrap.Init(null);
            Q       = new Spell.Targeted(SpellSlot.Q, 625);
            W       = new Spell.Skillshot(SpellSlot.W, 550, SkillShotType.Cone, 500, int.MaxValue, 80);
            _e      = new Spell.Active(SpellSlot.E);
            _r      = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 200, int.MaxValue, 251);
            _zhonia = new Item((int)ItemId.Zhonyas_Hourglass);
            if (HasSpell("summonerdot"))
            {
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            _abilitySequence = new[] { 1, 2, 1, 2, 3, 4, 1, 1, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
            _exhaust         = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);
            var flashSlot = Annie.GetSpellSlotFromName("summonerflash");

            _flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            _annieMenu = MainMenu.AddMenu("BloodimirAnnie", "bloodimirannie");
            _annieMenu.AddGroupLabel("Bloodimir.Annie");
            _annieMenu.AddSeparator();
            _annieMenu.AddLabel("Bloodimir Annie V1.0.1.0");

            _comboMenu = _annieMenu.AddSubMenu("Combo", "sbtw");
            _comboMenu.AddGroupLabel("Combo Settings");
            _comboMenu.AddSeparator();
            _comboMenu.Add("usecomboq", new CheckBox("Use Q"));
            _comboMenu.Add("usecombow", new CheckBox("Use W"));
            _comboMenu.Add("usecomboe", new CheckBox("Use E "));
            _comboMenu.Add("usecombor", new CheckBox("Use R"));
            _comboMenu.Add("useignite", new CheckBox("Use Ignite (Auto)"));
            _comboMenu.Add("pilot", new CheckBox("Auto Pilot Tibbers"));
            _comboMenu.Add("comboOnlyExhaust", new CheckBox("Use Exhaust (Combo Only)"));
            _comboMenu.AddSeparator();
            _comboMenu.Add("rslider", new Slider("Minimum people for R", 2, 0, 5));
            _comboMenu.AddSeparator();
            _comboMenu.Add("flashr", new KeyBind("Flash R", false, KeyBind.BindTypes.HoldActive, 'Y'));
            _comboMenu.Add("flasher", new KeyBind("Ninja Flash E+R", false, KeyBind.BindTypes.HoldActive, 'N'));
            _comboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            _drawMenu = _annieMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Drawings");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Draw Q Range"));
            _drawMenu.Add("draww", new CheckBox("Draw W Range"));
            _drawMenu.Add("drawr", new CheckBox("Draw R Range"));
            _drawMenu.Add("drawaa", new CheckBox("Draw AA Range"));
            _drawMenu.Add("drawtf", new CheckBox("Draw Tibbers Flash Range"));

            LastHit = _annieMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("PLHQ", new CheckBox("Don't use Q farm if have stun"));

            LaneJungleClear = _annieMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("PLCQ", new CheckBox("Don't use Q farm if have stun"));

            _miscMenu = _annieMenu.AddSubMenu("Misc Menu", "miscmenu");
            _miscMenu.AddGroupLabel("MISC");
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("KS using Q"));
            _miscMenu.Add("ksw", new CheckBox("KS using W"));
            _miscMenu.Add("ksr", new CheckBox("KS using R"));
            _miscMenu.Add("ksignite", new CheckBox("KS using Ignite"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("estack", new CheckBox("Stack Passive E", false));
            _miscMenu.Add("wstack", new CheckBox("Stack Passive W ", false));
            _miscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                _miscMenu.Add(source.ChampionName + "exhaust",
                              new CheckBox("Exhaust " + source.ChampionName, false));
            }
            _miscMenu.AddSeparator();
            _miscMenu.Add("zhonias", new CheckBox("Use Zhonia"));
            _miscMenu.Add("zhealth", new Slider("Auto Zhonia Health %", 8));
            _miscMenu.AddSeparator();
            _miscMenu.Add("gapclose", new CheckBox("Gapcloser with Stun"));
            _miscMenu.Add("eaa", new CheckBox("Auto E on enemy AA's"));
            _miscMenu.Add("support", new CheckBox("Support Mode", false));
            _miscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells"));


            _skinMenu = _annieMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = _skinMenu.Add("skinid", new Slider("Skin", 8, 0, 9));
            var skinid     = new[]
            {
                "Default", "Goth", "Red Riding", "Annie in Wonderland", "Prom Queen", "Frostfire", "Franken Tibbers",
                "Reverse", "Panda", "Sweetheart"
            };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
            };
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnUpdate             += Tick;
            Drawing.OnDraw            += OnDraw;
            Gapcloser.OnGapcloser     += OnGapClose;
            Obj_AI_Base.OnBasicAttack += Auto_EOnBasicAttack;
            GameObject.OnCreate       += Obj_AI_Base_OnCreate;
            Orbwalker.OnPreAttack     += Support_Orbwalker;
            Core.DelayAction(Combo, 1);
            Core.DelayAction(TibbersFlash, 10);
        }
Exemplo n.º 38
0
        /// <summary>
        /// Runs when Loading is Complete
        /// </summary>
        /// <param name="args">The args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (ChampionName != PlayerInstance.BaseSkinName)
            {
                return;
            }

            // Attempts to Set Spell Data
            try
            {
                // Human Form
                QHuman = new Spell.Skillshot(SpellSlot.Q, 1500, SkillShotType.Linear, 125, 1300, 40);
                WHuman = new Spell.Skillshot(SpellSlot.W, 875, SkillShotType.Circular, 250, int.MaxValue, 100);
                EHuman = new Spell.Targeted(SpellSlot.E, 600);
                R      = new Spell.Active(SpellSlot.R, int.MaxValue);

                // Javelin Toss -> Pounce
                WBOTH = new Spell.Skillshot(SpellSlot.W, 740, SkillShotType.Circular, 500, int.MaxValue, 400);

                // Cougar Form
                QCat = new Spell.Targeted(SpellSlot.Q, 400);
                WCat = new Spell.Skillshot(SpellSlot.W, 375, SkillShotType.Circular, 500, int.MaxValue, 400);
                ECat = new Spell.Skillshot(SpellSlot.E, 300, SkillShotType.Cone, 250, int.MaxValue, (int)(15.00 * Math.PI / 180.00));

                // Ignite
                if (HasSpell("ignite"))
                {
                    Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
                }

                // Smite
                if (HasSpell("smite"))
                {
                    Smite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonersmite"), 500);
                }
            }
            catch (Exception e)
            {
                Chat.Print("NidaleeBuddy: Exception while trying to set spells.(" + e.Message + ")");
            }

            NidaleeBuddy = MainMenu.AddMenu("Nidalee", "Nidalee");
            NidaleeBuddy.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            NidaleeBuddy.AddGroupLabel("Any unauthorized redistribution without credits will result in severe consequences.");
            NidaleeBuddy.AddGroupLabel("Thank you for using this addon and have a fun time!");

            // Combo Menu
            ComboMenu = NidaleeBuddy.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQHuman", new CheckBox("Use Q in Human Form"));
            ComboMenu.Add("useWHuman", new CheckBox("Use W in Human Form"));
            ComboMenu.Add("qSlider", new Slider("Q HitChance % before casting", 90));
            ComboMenu.AddLabel("Cougar Form Settings");
            ComboMenu.Add("useQCat", new CheckBox("Use Q in Cougar Form"));
            ComboMenu.Add("useWCat", new CheckBox("Use W in Cougar Form"));
            ComboMenu.Add("useECat", new CheckBox("Use E in Cougar Form"));
            ComboMenu.Add("useR", new CheckBox("Auto Switch R Form"));

            // Lane Clear Menu
            LaneClearMenu = NidaleeBuddy.AddSubMenu("Lane Clear", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("useQCat", new CheckBox("Use Q in Cougar Form"));
            LaneClearMenu.Add("useWCat", new CheckBox("Use W in Cougar Form"));
            LaneClearMenu.Add("useECat", new CheckBox("Use E in Cougar Form"));
            LaneClearMenu.Add("useR", new CheckBox("Auto Switch R Form"));

            // Jungle Clear Menu
            JungleClearMenu = NidaleeBuddy.AddSubMenu("Jungle Clear", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("useQHuman", new CheckBox("Use Q in Human Form"));
            JungleClearMenu.AddLabel("Cougar Form Settings");
            JungleClearMenu.Add("useQCat", new CheckBox("Use Q in Cougar Form"));
            JungleClearMenu.Add("useWCat", new CheckBox("Use W in Cougar Form"));
            JungleClearMenu.Add("useECat", new CheckBox("Use E in Cougar Form"));
            JungleClearMenu.Add("useR", new CheckBox("Auto Switch R Form"));

            // Harass Menu
            HarassMenu = NidaleeBuddy.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQHuman", new CheckBox("Use Q in Human Form"));
            HarassMenu.Add("qSlider", new Slider("Q HitChance % before casting", 90));
            HarassMenu.Add("useR", new CheckBox("Auto Switch R Form"));

            // Kill Steal Menu
            KillStealMenu = NidaleeBuddy.AddSubMenu("Kill Steal", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("useQHuman", new CheckBox("Kill Steal using Q in Human Form"));
            KillStealMenu.Add("qSlider", new Slider("Q Hit Chance % before casting", 90));
            KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite", false));
            KillStealMenu.Add("useAll", new CheckBox("Use KillSteal all the time or not in any modes", false));

            // Jungle Steal Menu
            JungleStealMenu = NidaleeBuddy.AddSubMenu("Jungle Steal", "JungleSteal");
            JungleStealMenu.AddGroupLabel("Jungle Steal Settings");
            JungleStealMenu.Add("useQHuman", new CheckBox("Jungle Steal using Q in Human Form"));
            JungleStealMenu.Add("useSmite", new CheckBox("Jungle Steal using Smite"));
            JungleStealMenu.AddSeparator();

            if (Game.MapId == GameMapId.SummonersRift)
            {
                JungleStealMenu.AddLabel("Epics");
                JungleStealMenu.Add("SRU_Baron", new CheckBox("Baron"));
                JungleStealMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
                JungleStealMenu.AddLabel("Buffs");
                JungleStealMenu.Add("SRU_Blue", new CheckBox("Blue"));
                JungleStealMenu.Add("SRU_Red", new CheckBox("Red"));
                JungleStealMenu.AddLabel("Small Camps");
                JungleStealMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
                JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
                JungleStealMenu.Add("SRU_Krug", new CheckBox("Krug", false));
                JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
                JungleStealMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));
            }

            if (Game.MapId == GameMapId.TwistedTreeline)
            {
                JungleStealMenu.AddLabel("Epics");
                JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("Vilemaw"));
                JungleStealMenu.AddLabel("Camps");
                JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("Wraith"));
                JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("Wraith"));
                JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("Golem"));
                JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("Golem"));
                JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("Wolf"));
                JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("Wolf"));
            }

            // Flee Menu
            FleeMenu = NidaleeBuddy.AddSubMenu("Flee", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("useWCat", new CheckBox("Use W in Cougar Form"));

            // Drawing Menu
            DrawingMenu = NidaleeBuddy.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQHuman", new CheckBox("Draw Javelin Range"));

            // Misc Menu
            var allies = EntityManager.Heroes.Allies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);

            MiscMenu = NidaleeBuddy.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Heal Settings");
            MiscMenu.Add("autoHeal", new CheckBox("Auto Heal Allies and Me"));
            MiscMenu.Add("autoHealPercent", new Slider("Auto Heal Percent", 50));
            foreach (var a in allies)
            {
                MiscMenu.Add("autoHeal" + a.BaseSkinName, new CheckBox("Auto Heal " + a.BaseSkinName));
            }

            Chat.Print("NidaleeBuddy | Loaded By KarmaPanda", Color.LightGreen);

            Orbwalker.OnPostAttack         += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Game.OnTick                    += Game_OnTick;
            Game.OnTick                    += SpellsOnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw                 += Drawing_OnDraw;
        }
Exemplo n.º 39
0
                internal static void NewPredTest(Spell.Skillshot spell, DamageType damageType,
                                                 int range = 0, Utils.HitChance hitChance = Utils.HitChance.Medium, AIHeroClient targetHero = null)
                {
                    if ((spell.Slot != SpellSlot.Q || !TickManager.NoLag(1)) &&
                        (spell.Slot != SpellSlot.W || !TickManager.NoLag(2)) &&
                        (spell.Slot != SpellSlot.E || !TickManager.NoLag(3)) &&
                        (spell.Slot != SpellSlot.R || !TickManager.NoLag(4)))
                    {
                        return;
                    }

                    if (!spell.IsReady() || IsAutoAttacking)
                    {
                        return;
                    }

                    AIHeroClient target;

                    if (targetHero == null)
                    {
                        target = range != 0
                            ? TargetManager.Target(range, damageType)
                            : TargetManager.Target(spell, damageType);
                    }
                    else
                    {
                        target = targetHero;
                    }

                    if (target == null)
                    {
                        return;
                    }

                    if (!target.IsValidTarget(spell.Range))
                    {
                        return;
                    }

                    var  coreType2 = SkillshotType.SkillshotLine;
                    bool aoe2      = false;

                    if ((int)spell.Type == (int)SkillshotType.SkillshotCircle)
                    {
                        coreType2 = SkillshotType.SkillshotCircle;
                        aoe2      = true;
                    }
                    if (spell.Width > 80 && spell.AllowedCollisionCount < 100)
                    {
                        aoe2 = true;
                    }
                    var predInput2 = new PredictionInput
                    {
                        Aoe       = aoe2,
                        Collision = spell.AllowedCollisionCount < 100,
                        Speed     = spell.Speed,
                        Delay     = spell.CastDelay,
                        Range     = spell.Range,
                        From      = Player.ServerPosition,
                        Radius    = spell.Radius,
                        Unit      = target,
                        Type      = coreType2
                    };
                    var poutput2 = VPrediction.GetPrediction(predInput2);

                    //var poutput2 = spell.GetPrediction(target);
                    Chat.Print(spell.Slot + " " + predInput2.Collision + poutput2.Hitchance);
                    if (spell.Speed < float.MaxValue && CollisionYasuo(Player.ServerPosition, poutput2.CastPosition))
                    {
                        return;
                    }

                    if (hitChance == Utils.HitChance.VeryHigh)
                    {
                        if (poutput2.Hitchance >= Utils.HitChance.VeryHigh)
                        {
                            spell.Cast(poutput2.CastPosition);
                        }
                        else if (predInput2.Aoe && poutput2.AoeTargetsHitCount > 1 &&
                                 poutput2.Hitchance >= Utils.HitChance.High)
                        {
                            spell.Cast(poutput2.CastPosition);
                        }
                    }
                    else if (hitChance == Utils.HitChance.High)
                    {
                        if (poutput2.Hitchance >= Utils.HitChance.High)
                        {
                            spell.Cast(poutput2.CastPosition);
                        }
                    }
                    else if (hitChance == Utils.HitChance.Medium)
                    {
                        if (poutput2.Hitchance >= Utils.HitChance.Medium)
                        {
                            spell.Cast(poutput2.CastPosition);
                        }
                    }
                }
Exemplo n.º 40
0
        public static void OnLoad()
        {
            if (myHero.Hero != Champion.Khazix)
            {
                return;
            }

            Menu = MainMenu.AddMenu("Seph KhaZix", "khazix");
            Menu.AddLabel("Ported from Seph's KhaZix - Berb");
            Menu.AddSeparator();

            Menu.AddGroupLabel("Combo");
            Menu.Add("UseQCombo", new CheckBox("Use Q"));
            Menu.Add("UseWCombo", new CheckBox("Use W"));
            Menu.Add("UseECombo", new CheckBox("Use E"));
            Menu.Add("UseRCombo", new CheckBox("Use R"));
            Menu.Add("UseItems", new CheckBox("Use Items"));
            Menu.AddSeparator();
            Menu.Add("UseEGapclose", new CheckBox("Use E To Gapclose for Q"));
            Menu.Add("UseEGapcloseW", new CheckBox("Use E To Gapclose For W"));
            Menu.Add("UseRGapcloseW", new CheckBox("Use R after long gapcloses"));
            Menu.AddSeparator();

            Menu.AddGroupLabel("Harass");
            Menu.Add("UseQHarass", new CheckBox("Use Q"));
            Menu.Add("UseWHarass", new CheckBox("Use W"));
            Menu.Add("Harass.AutoWI", new CheckBox("Auto-W immobile"));
            Menu.Add("Harass.AutoWD", new CheckBox("Auto W"));
            Menu.AddSeparator();

            Menu.AddGroupLabel("Lane Clear");
            Menu.Add("UseQFarm", new CheckBox("Use Q"));
            Menu.Add("UseEFarm", new CheckBox("Use E"));
            Menu.Add("UseWFarm", new CheckBox("Use W"));
            Menu.Add("Farm.WHealth", new Slider("Health % to use W", 80));
            Menu.Add("UseItemsFarm", new CheckBox("Use Items"));
            Menu.AddSeparator();

            Menu.AddGroupLabel("Double Jump");
            Menu.Add("djumpenabled", new CheckBox("Enabled"));
            Menu.Add("delayQ", new Slider("Delay on Q", 1, 1, 5));
            Menu.Add("JEDelay", new Slider("Delay on jumps", 250, 250, 500));
            Menu.Add("jumpmode",
                     new Slider("1 : Default (jumps towards your nexus) | 2 : Custom - Settings below", 1, 1, 2));
            Menu.AddSeparator();
            Menu.Add("save", new CheckBox("Save Double Jump Abilities"));
            Menu.Add("noauto", new CheckBox("Wait for Q instead of autos"));
            Menu.Add("jcursor", new CheckBox("Jump to Cursor (true) or false for script logic"));
            Menu.Add("jcursor2", new CheckBox("Second Jump to Cursor (true) or false for script logic"));
            Menu.AddSeparator();

            Menu.AddGroupLabel("Safety");
            Menu.Add("Safety.Enabled", new CheckBox("Enable Safety Checks"));
            Menu.Add("Safety.CountCheck", new CheckBox("Min Ally ratio to Enemies to jump"));
            Menu.Add("Safety.TowerJump", new CheckBox("Avoid Tower Diving"));
            Menu.Add("Safety.Override", new KeyBind("Safety Override Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            Menu.Add("Safety.MinHealth", new Slider("Healthy %", 15));
            Menu.Add("Safety.Ratio", new Slider("Ally:Enemy Ratio (/5)", 1, 0, 5));
            Menu.Add("Safety.noaainult", new CheckBox("No Autos while Stealth", false));
            Menu.AddSeparator();

            Menu.AddGroupLabel("Kill Steal Settings");
            Menu.Add("Kson", new CheckBox("Use KillSteal"));
            Menu.Add("UseQKs", new CheckBox("Use Q"));
            Menu.Add("UseWKs", new CheckBox("Use W"));
            Menu.Add("UseEKs", new CheckBox("Use E"));
            Menu.Add("Ksbypass", new CheckBox("Bypass safety checks for E KS", false));
            Menu.Add("UseEQKs", new CheckBox("Use EQ in KS"));
            Menu.Add("UseEWKs", new CheckBox("Use EW in KS"));
            Menu.Add("UseTiamatKs", new CheckBox("Use items"));
            Menu.Add("Edelay", new Slider("E Delay (ms)", 0, 0, 300));
            Menu.Add("UseIgnite", new CheckBox("Use Ignite"));
            Menu.AddSeparator();

            var ign = Player.Spells.FirstOrDefault(o => o.SData.Name == "summonerdot");

            if (ign != null)
            {
                var igslot = myHero.GetSpellSlotFromName("summonerdot");
                ignite = new Spell.Targeted(igslot, 600);
            }

            Q  = new Spell.Targeted(SpellSlot.Q, 325);
            W  = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 225, 828, 80);
            WE = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 225, 828, 100);
            E  = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Circular, 250, 1000, 100);
            R  = new Spell.Active(SpellSlot.R, 0);

            foreach (var t in ObjectManager.Get <Obj_AI_Turret>().Where(t => t.IsEnemy))
            {
                EnemyTurretPositions.Add(t.ServerPosition);
            }

            var shop = ObjectManager.Get <Obj_Shop>().FirstOrDefault(o => o.IsAlly);

            if (shop != null)
            {
                NexusPosition = shop.Position;
            }

            HeroList = EntityManager.Heroes.AllHeroes;

            Game.OnTick           += OnTick;
            Game.OnTick           += DoubleJump;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
        }
Exemplo n.º 41
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Tryndamere")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Active(SpellSlot.W, 400);
            E = new Spell.Skillshot(SpellSlot.E, 660, SkillShotType.Linear, 250, 700, (int)92.5);
            R = new Spell.Active(SpellSlot.R);
            if (HasSpell("summonerdot"))
            {
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            Botrk      = new Item(3153, 550f);
            Bilgewater = new Item(3144, 475f);
            Hydra      = new Item(3074, 250f);
            Tiamat     = new Item(3077, 250f);
            Youmuu     = new Item(3142, 10);

            _trynMenu = MainMenu.AddMenu("BloodimirTryn", "bloodimirtry");
            _trynMenu.AddGroupLabel("Bloodimir Tryndamere");
            _trynMenu.AddSeparator();
            _trynMenu.AddLabel("Bloodimir Tryndamere V1.0.0.0");

            ComboMenu = _trynMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum HP% for Ult", 20, 0, 95));
            ComboMenu.AddSeparator();
            ComboMenu.Add("qhp", new Slider("Q % HP", 25, 0, 95));


            _drawMenu = _trynMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Drawings");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawe", new CheckBox("Draw E"));

            LaneJungleClear = _trynMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));

            MiscMenu = _trynMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("kse", new CheckBox("KS using E"));
            MiscMenu.Add("ksbotrk", new CheckBox("KS using Botrk"));
            MiscMenu.Add("kshydra", new CheckBox("KS using Hydra"));
            MiscMenu.Add("usehydra", new CheckBox("Use Hydra"));
            MiscMenu.Add("usetiamat", new CheckBox("Use Tiamat"));
            MiscMenu.Add("usebotrk", new CheckBox("Use Botrk"));
            MiscMenu.Add("usebilge", new CheckBox("Use Bilgewater"));
            MiscMenu.Add("useyoumuu", new CheckBox("Use Youmuu"));


            _skinMenu = _trynMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = _skinMenu.Add("skinid", new Slider("Skin", 4, 0, 7));
            var skinid     = new[]
            { "Default", "Highland", "King", "Viking", "Demon Blade", "Sultan", "Warring Kingdoms", "Nightmare" };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
                if (MiscMenu["debug"].Cast <CheckBox>().CurrentValue)
                {
                    Chat.Print("skin-changed");
                }
            };
            Game.OnUpdate  += Tick;
            Drawing.OnDraw += OnDraw;
        }
Exemplo n.º 42
0
        private static void OnTick(EventArgs args)
        {
            if (myHero.IsDead)
            {
                return;
            }

            W = new Spell.Active(SpellSlot.W, (uint)(565 + 60 + W.Level * 30 + 65));
            R = new Spell.Skillshot(SpellSlot.R, (uint)(900 + R.Level * 300), SkillShotType.Circular, 1500, int.MaxValue, 225);

            if (human && wActive)
            {
                if (1 / myHero.AttackDelay > Convert.ToSingle(esw) / 100)
                {
                    if (EntityManager.Heroes.Enemies.Any(x => x.IsValidTarget(130 + swez)) || !(EntityManager.Heroes.Enemies.Any(x => x.IsValidTarget(130 + swchz))))
                    {
                        Orbwalker.DisableMovement = false;
                        if (Environment.TickCount + Game.Ping / 2 + 25 >= LastAATick + 1.0 / Convert.ToSingle(swatk) * 1000 * 100)
                        {
                            Orbwalker.DisableAttacking = false;
                        }
                        else
                        {
                            Orbwalker.DisableAttacking = true;
                        }
                    }
                    else
                    {
                        Orbwalker.DisableAttacking = false;
                        Orbwalker.DisableMovement  = true;
                    }
                }
                else
                {
                    Orbwalker.DisableAttacking = false;
                    Orbwalker.DisableMovement  = false;
                }
            }

            if (CanMove(100))
            {
                if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
                {
                    if (useQ)
                    {
                        if (QIsReadyPerfectly())
                        {
                            if (manaW && W.Level > 0 ? myHero.Mana - getSpellMana(SpellSlot.Q) >= getSpellMana(SpellSlot.W) : true)
                            {
                                var target = TargetSelector.GetTarget(Q.Range, DamageType.Magical);
                                if (target != null)
                                {
                                    Q.Cast(target);
                                }
                            }
                        }
                    }


                    if (useW)
                    {
                        if (WIsReadyPerfectly())
                        {
                            if (EntityManager.Heroes.Enemies.Any(x => x.IsValidTarget(W.Range)))
                            {
                                W.Cast();
                            }
                        }
                    }


                    if (useE)
                    {
                        if (EIsReadyPerfectly())
                        {
                            if (manaW && W.Level > 0 ? myHero.Mana - getSpellMana(SpellSlot.E) >= getSpellMana(SpellSlot.W) : true)
                            {
                                var target = TargetSelector.GetTarget(E.Range, DamageType.Magical);
                                if (target != null)
                                {
                                    E.Cast(target);
                                }
                            }
                        }
                    }


                    if (useR)
                    {
                        if (RIsReadyPerfectly())
                        {
                            if (manaW && W.Level > 0 ? myHero.Mana - getSpellMana(SpellSlot.R) >= getSpellMana(SpellSlot.W) : true)
                            {
                                if (myHero.GetBuffCount("kogmawlivingartillerycost") < rLimit)
                                {
                                    var target = TargetSelector.GetTarget(R.Range, DamageType.Magical);
                                    if (target != null)
                                    {
                                        R.Cast(target);
                                    }
                                }
                                else
                                {
                                    var killableTarget = EntityManager.Heroes.Enemies.FirstOrDefault(x => x.IsKillableAndValidTarget(myHero.GetSpellDamage(x, SpellSlot.R), DamageType.Magical, R.Range) && R.GetPrediction(x).HitChance >= HitChance.High);
                                    if (killableTarget != null)
                                    {
                                        R.Cast(killableTarget);
                                    }
                                }
                            }
                        }
                    }
                }
                else if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
                {
                    if (useQH)
                    {
                        if (QIsReadyPerfectly())
                        {
                            if (myHero.IsManaPercentOkay(manaH))
                            {
                                var target = TargetSelector.GetTarget(Q.Range, DamageType.Magical);
                                if (target != null)
                                {
                                    Q.Cast(target);
                                }
                            }
                        }
                    }

                    if (useEH)
                    {
                        if (EIsReadyPerfectly())
                        {
                            if (myHero.IsManaPercentOkay(manaH))
                            {
                                var target = TargetSelector.GetTarget(E.Range, DamageType.Magical);
                                if (target != null)
                                {
                                    E.Cast(target);
                                }
                            }
                        }
                    }


                    if (useRH)
                    {
                        if (RIsReadyPerfectly())
                        {
                            if (myHero.IsManaPercentOkay(manaH))
                            {
                                if (myHero.GetBuffCount("kogmawlivingartillerycost") < rLimitH)
                                {
                                    var target = TargetSelector.GetTarget(R.Range, DamageType.Magical);
                                    if (target != null)
                                    {
                                        R.Cast(target);
                                    }
                                }
                            }
                        }
                    }
                }
                else if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) || Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
                {
                    foreach (var minion in EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, myHero.ServerPosition, myHero.GetAutoAttackRange()))
                    {
                        if (useELC)
                        {
                            if (myHero.IsManaPercentOkay(manaLC))
                            {
                                if (EIsReadyPerfectly())
                                {
                                    var minions      = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, myHero.ServerPosition, E.Range);
                                    var farmLocation = EntityManager.MinionsAndMonsters.GetLineFarmLocation(minions, E.Width, (int)E.Range);
                                    if (farmLocation.HitNumber >= 3)
                                    {
                                        E.Cast(farmLocation.CastPosition);
                                    }
                                }
                            }
                        }

                        if (useRLC)
                        {
                            if (myHero.IsManaPercentOkay(manaLC))
                            {
                                if (RIsReadyPerfectly())
                                {
                                    if (myHero.GetBuffCount("kogmawlivingartillerycost") < rLimitLC)
                                    {
                                        var minions      = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, myHero.ServerPosition, R.Range);
                                        var farmLocation = EntityManager.MinionsAndMonsters.GetCircularFarmLocation(minions, R.Width, (int)R.Range);
                                        if (farmLocation.HitNumber >= 2)
                                        {
                                            R.Cast(farmLocation.CastPosition);
                                        }
                                    }
                                }
                            }
                        }
                    }

                    foreach (var jungleMobs in ObjectManager.Get <Obj_AI_Minion>().Where(o => o.IsValidTarget(Program.W.Range) && o.Team == GameObjectTeam.Neutral && o.IsVisible && !o.IsDead))
                    {
                        if (WIsReadyPerfectly())
                        {
                            if (useWJG)
                            {
                                W.Cast();
                            }
                        }

                        if (useEJG)
                        {
                            if (myHero.IsManaPercentOkay(manaJG))
                            {
                                if (EIsReadyPerfectly())
                                {
                                    var minions      = EntityManager.MinionsAndMonsters.GetJungleMonsters(myHero.ServerPosition, E.Range);
                                    var farmLocation = EntityManager.MinionsAndMonsters.GetLineFarmLocation(minions, E.Width, (int)E.Range);
                                    if (farmLocation.HitNumber >= 2)
                                    {
                                        E.Cast(farmLocation.CastPosition);
                                    }
                                }
                            }
                        }

                        if (useRJG)
                        {
                            if (myHero.IsManaPercentOkay(manaJG))
                            {
                                if (RIsReadyPerfectly())
                                {
                                    if (myHero.GetBuffCount("kogmawlivingartillerycost") < rLimitJG)
                                    {
                                        var minions      = EntityManager.MinionsAndMonsters.GetJungleMonsters(myHero.ServerPosition, R.Range);
                                        var farmLocation = EntityManager.MinionsAndMonsters.GetCircularFarmLocation(minions, R.Width, (int)R.Range);
                                        if (farmLocation.HitNumber >= 2)
                                        {
                                            R.Cast(farmLocation.CastPosition);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
Exemplo n.º 43
0
        internal static int CountHits(this Spell.Skillshot spell, List <Obj_AI_Minion> units, Vector3 castPosition)
        {
            var points = units.Select(unit => spell.GetPrediction(unit).UnitPosition).ToList();

            return(spell.CountHits(points, castPosition));
        }
Exemplo n.º 44
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (User.ChampionName != "Shyvana")
            {
                return;
            }

            Q = new Spell.Active(spellSlot: SpellSlot.Q, spellRange: 225);

            W = new Spell.Active(spellSlot: SpellSlot.W, spellRange: 325);

            E = new Spell.Skillshot(spellSlot: SpellSlot.E, spellRange: 925, skillShotType: SkillShotType.Linear, spellSpeed: 1200, spellWidth: 60);

            R = new Spell.Skillshot(spellSlot: SpellSlot.R, spellRange: 850, skillShotType: SkillShotType.Linear, spellSpeed: 700, spellWidth: 160);



            bilgewater = new Item(3144, 550);
            botrk      = new Item(3153, 550);
            tiamat     = new Item(3077, 400);
            hydra      = new Item(3074, 400);
            Youmuu     = new Item(3142, 800);
            titanic    = new Item(3748, 0);



            HealthPotion  = new Item(2003, 0);
            Biscuit       = new Item(2010, 0);
            CorruptPotion = new Item(2033, 0);
            RefillPotion  = new Item(2031, 0);
            HuntersPotion = new Item(2032, 0);



            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);



            Chat.Print("ShyvanaZero loaded successfully");



            ShyvanaMenu = MainMenu.AddMenu("ShyvanaZero", "ShyvanaZero");

            ComboMenu = ShyvanaMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("R", new CheckBox("Use R"));
            ComboMenu.Add("UR", new Slider("Use Ult if it hits atleast X Enemies", 2, 1, 5));

            LaneClearMenu = ShyvanaMenu.AddSubMenu("LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.AddGroupLabel("Q Settings");
            LaneClearMenu.Add("QL", new CheckBox("Use Q"));
            LaneClearMenu.AddGroupLabel("W Settings");
            LaneClearMenu.Add("WL", new CheckBox("Use W"));
            LaneClearMenu.Add("WSL", new Slider("Use W if it hits atleast X Minions", 3, 1, 6));
            LaneClearMenu.AddGroupLabel("E Settings");
            LaneClearMenu.Add("EL", new CheckBox("Use E"));
            LaneClearMenu.Add("ESL", new Slider("Use E if it hits atleast X Minions", 3, 1, 6));


            JungleClearMenu = ShyvanaMenu.AddSubMenu("JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear Settings");
            JungleClearMenu.Add("QJ", new CheckBox("Use Q"));
            JungleClearMenu.Add("WJ", new CheckBox("Use W"));
            JungleClearMenu.Add("EJ", new CheckBox("Use E"));


            ItemMenu = ShyvanaMenu.AddSubMenu("Items");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.AddGroupLabel("Combo:");
            ItemMenu.Add("bilge", new CheckBox("Use Bilgewater Cutlass in Combo"));
            ItemMenu.Add("youmuu", new CheckBox("Use Youmuu's in Combo"));
            ItemMenu.Add("tia", new CheckBox("Use Tiamat in Combo"));
            ItemMenu.Add("hydra", new CheckBox("Use Hydra in Combo"));
            ItemMenu.Add("titanic", new CheckBox("Use Titanic Hydra in Combo"));
            ItemMenu.Add("botrk", new CheckBox("Use BotrK in Combo"));
            ItemMenu.Add("bork", new Slider("%HP to use BotrK <=", 75, 0, 100));
            ItemMenu.AddSeparator();
            ItemMenu.AddGroupLabel("LaneClear/JungleClear:");
            ItemMenu.Add("tialc", new CheckBox("Use Tiamat in Laneclear/JungleClear"));
            ItemMenu.Add("hydralc", new CheckBox("Use Hydra in Laneclear/JungleClear"));
            ItemMenu.Add("titaniclc", new CheckBox("Use Titanic Hydra in Laneclear/Jungleclear"));
            ItemMenu.AddSeparator(50);
            ItemMenu.Add("potion", new CheckBox("Auto Use Potion"));
            ItemMenu.Add("potionhp", new Slider("Use Auto Potion when %HP <=", 50, 0, 100));



            DrawingsMenu = ShyvanaMenu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DrawR", new CheckBox("Draw R"));



            Drawing.OnDraw += Drawing_OnDraw;

            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;

            Game.OnTick += Game_OnTick;
        }
Exemplo n.º 45
0
        internal static void Orbwalker_OnUnkillableMinion(Obj_AI_Base target, Orbwalker.UnkillableMinionArgs args)
        {
            if (target == null || target.IsAlly)
            {
                return;
            }

            if (AutoFarm.Lh[AutoFarm.Player.ChampionName + "Enable"].Cast <KeyBind>().CurrentValue ||
                AutoFarm.Lh[AutoFarm.Player.ChampionName + "Enableactive"].Cast <KeyBind>().CurrentValue)
            {
                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Qmode").CurrentValue == 0 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "Q"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "Q"].Cast <Slider>().CurrentValue &&
                    Spells.Q.IsReady())
                {
                    if (Spells.QisToggle || Spells.QisDash || Spells.QisCc || Spells.Q == null)
                    {
                        return;
                    }

                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.Q)
                        >= Prediction.Health.GetPrediction(target, (int)Spells.Q.CastDelay * 1000) &&
                        Spells.Q.IsInRange(target))
                    {
                        if (Spells.Q.GetType() == typeof(Spell.Skillshot))
                        {
                            var qx = Spells.Q as Spell.Skillshot;
                            qx?.GetPrediction(target);
                            qx?.Cast(target);
                            return;
                        }

                        if (Spells.Q.GetType() == typeof(Spell.Active))
                        {
                            Spells.Q.Cast(target);
                            return;
                        }

                        if (Spells.Q.GetType() == typeof(Spell.Chargeable))
                        {
                            var qx = Spells.Q as Spell.Chargeable;
                            if (qx != null && !qx.IsCharging)
                            {
                                qx.StartCharging();
                            }

                            if (qx.Range == qx.MaximumRange)
                            {
                                qx.Cast(target.Position);
                            }

                            return;
                        }

                        if (Spells.Q.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.Q.Cast(target.Position);
                            return;
                        }
                    }
                }

                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Wmode").CurrentValue == 0 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "W"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "W"].Cast <Slider>().CurrentValue &&
                    Spells.W.IsReady())
                {
                    if (Spells.WisToggle || Spells.WisDash || Spells.WisCc || Spells.W == null)
                    {
                        return;
                    }
                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.W)
                        > Prediction.Health.GetPrediction(target, (int)(Spells.W.CastDelay)) &&
                        Spells.W.IsInRange(target))
                    {
                        if (Spells.W.GetType() == typeof(Spell.Skillshot))
                        {
                            var wx = Spells.W as Spell.Skillshot;
                            if (wx != null)
                            {
                                wx.GetPrediction(target);
                                wx.Cast(target);
                            }
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Targeted))
                        {
                            Spells.W.Cast(target);
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Active))
                        {
                            Spells.W.Cast();
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Chargeable))
                        {
                            var wx = Spells.W as Spell.Chargeable;
                            if (wx != null && !wx.IsCharging)
                            {
                                wx.StartCharging();
                            }

                            if (wx != null && wx.Range == wx.MaximumRange)
                            {
                                wx.Cast(target.Position);
                            }
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.W.Cast(target.Position);
                            return;
                        }
                    }
                }

                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Emode").CurrentValue == 0 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "E"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "E"].Cast <Slider>().CurrentValue &&
                    Spells.E.IsReady())
                {
                    if (Spells.EisToggle || Spells.EisDash || Spells.EisCc || Spells.E == null)
                    {
                        return;
                    }
                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.E)
                        > Prediction.Health.GetPrediction(target, (int)(Spells.E.CastDelay * 1000)) &&
                        Spells.E.IsInRange(target))
                    {
                        if (Spells.E.GetType() == typeof(Spell.Skillshot))
                        {
                            var ex = Spells.E as Spell.Skillshot;
                            if (ex != null)
                            {
                                ex.GetPrediction(target);
                                ex.Cast(target);
                            }
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Targeted))
                        {
                            Spells.E.Cast(target);
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Active))
                        {
                            Spells.E.Cast();
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Chargeable))
                        {
                            Spell.Chargeable ex = Spells.E as Spell.Chargeable;
                            if (ex != null && !ex.IsCharging)
                            {
                                ex.StartCharging();
                            }

                            if (ex != null && ex.Range == ex.MaximumRange)
                            {
                                ex.Cast(target.Position);
                            }
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.E.Cast(target.Position);
                            return;
                        }
                    }
                }

                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Rmode").CurrentValue == 0 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "R"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "R"].Cast <Slider>().CurrentValue)
                {
                    if (Spells.RisToggle || Spells.RisDash || Spells.RisCc || Spells.R == null)
                    {
                        return;
                    }
                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.R)
                        > Prediction.Health.GetPrediction(target, (int)(Spells.R.CastDelay * 1000)) &&
                        Spells.R.IsInRange(target))
                    {
                        if (Spells.R.GetType() == typeof(Spell.Skillshot))
                        {
                            Spell.Skillshot rx = Spells.R as Spell.Skillshot;
                            if (rx != null)
                            {
                                rx.GetPrediction(target);
                                rx.Cast(target);
                            }
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Targeted))
                        {
                            Spells.R.Cast(target);
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Active))
                        {
                            Spells.R.Cast();
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Chargeable))
                        {
                            Spell.Chargeable rx = Spells.R as Spell.Chargeable;
                            if (rx != null && !rx.IsCharging)
                            {
                                rx.StartCharging();
                            }

                            if (rx != null && rx.Range == rx.MaximumRange)
                            {
                                rx.Cast(target.Position);
                            }
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.R.Cast(target.Position);
                            return;
                        }
                    }
                }
            }
        }
Exemplo n.º 46
0
 internal static int CountHits(this Spell.Skillshot spell, List <Vector3> points, Vector3 castPosition)
 {
     return(points.Count(point => spell.WillHit(point, castPosition)));
 }
Exemplo n.º 47
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Circular, 300, 1000, 250);
                Q.AllowedCollisionCount = int.MaxValue;
                W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Linear, 1800, 1500, 200);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Active(SpellSlot.E, 600);
                R = new Spell.Skillshot(SpellSlot.R, 1300, SkillShotType.Linear, 200, 1950, 40);
                R.AllowedCollisionCount = 0;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak Corki", "Corki");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Corki Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Corki");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kombo Ayarları");
                ModesMenu1.Add("ComboQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("ComboA", new CheckBox("AA Kullan => Q Kombo", false));;
                ModesMenu1.Add("ComboE", new CheckBox("E Kullan", true));
                ModesMenu1.Add("ComboR", new CheckBox("R Kullan", true));
                ModesMenu1.Add("ManaCE", new Slider("E için Mana %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Otomatik dürtme Ayarları");
                ModesMenu1.Add("AutoHarass", new CheckBox("Otomatik dürtme R", false));

                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));
                ModesMenu1.AddLabel("Dürtme Ayarları");
                ModesMenu1.Add("HarassQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40));
                ModesMenu1.Add("HarassR", new CheckBox("R Kullan", true));
                ModesMenu1.Add("ManaHR", new Slider("Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Çalma Ayarları");
                ModesMenu1.Add("KS", new CheckBox("Kill Çalma kullan", true));
                ModesMenu1.Add("KQ", new CheckBox("KS'de Q Kullan", true));
                ModesMenu1.Add("KR", new CheckBox("KS'de R Kullan", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Corki");
                ModesMenu2.AddLabel("LaneTemizleme Ayarları");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Q Kullan", true));
                ModesMenu2.Add("ManaLR", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("R Kullan", true));
                ModesMenu2.AddLabel("OrmanTemizleme Ayarları");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Q Kullan", true));
                ModesMenu2.Add("ManaJR", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("R Kullan", true));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Corki");
                ModesMenu3.AddLabel("ek Ayarları");
                ModesMenu3.Add("AntiGap", new CheckBox("Use W for Anti-Gapcloser", true));
                ModesMenu3.AddLabel("Flee Ayarları");
                ModesMenu3.Add("FleeR", new CheckBox("R Kullan", true));
                ModesMenu3.Add("FleeW", new CheckBox("W Kullan", true));
                ModesMenu3.Add("ManaFlR", new Slider("R Mana %", 35));

                ModesMenu3.AddLabel("Komboda kullnaılacak itemler");
                ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Kullan Mahvolmuş", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Mahvolmuş için gereken can %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Mahvolmuş için gereken düşman can %", 80));

                ModesMenu3.AddLabel("QSS Ayarları");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Sabit", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Çekicilik(ahri)", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Korku", true));
                ModesMenu3.Add("Taunt", new CheckBox("Alaycı", true));
                ModesMenu3.Add("Silence", new CheckBox("Sessiz", false));
                ModesMenu3.Add("QssDelay", new Slider("QSS gecikmesi(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Ayarları");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Kullan QSS Gecikmesi(ms) Ulti için", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Aktif Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawEzreal");
                DrawMenu.Add("drawQ", new CheckBox(" Göster Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Göster W", true));
                DrawMenu.Add("drawR", new CheckBox(" Göster R", false));
                DrawMenu.Add("drawXR", new CheckBox(" Göster R kullanmadında", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Göster kaçarken Q gösterme", false));
            }

            catch (Exception e)
            {
            }
        }
Exemplo n.º 48
0
 //Spell Extensions
 internal static void HaveCollsion(this Spell.Skillshot spell, bool haveCollsion, int count = 0)
 {
     spell.AllowedCollisionCount = haveCollsion ? count : int.MaxValue;
 }
Exemplo n.º 49
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Lux")
            {
                return;
            }
            Bootstrap.Init(null);

            Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear);
            W = new Spell.Skillshot(SpellSlot.W, 1075, SkillShotType.Linear);
            E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Circular, 250, null, 350);
            R = new Spell.Skillshot(SpellSlot.R, 3300, SkillShotType.Linear);

            // Ignite Spell
            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            // Menu Settings
            LuxMenu = MainMenu.AddMenu("xRP Lux", "xrplux");
            LuxMenu.AddGroupLabel("xRP-Lux");
            LuxMenu.AddSeparator();
            LuxMenu.AddLabel("xRP-Lux v1.0.0.0");

            ComboMenu = LuxMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecombow", new Slider("Min Health % to use W", 15));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rkill", new CheckBox("R if Killable"));

            HarassMenu = LuxMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            MiscMenu = LuxMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("kse", new CheckBox("KS with E"));
            MiscMenu.Add("ksr", new CheckBox("KS with R"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("WLowAllies", new CheckBox("Use W on % Hp Allies"));
            MiscMenu.Add("WHPPercent", new Slider("Ally HP %", 45));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapq", new CheckBox("Q on Gapcloser"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("zhonias", new CheckBox("Auto Zhonias"));
            MiscMenu.Add("ZPercent", new Slider("Zhonias HP %", 20));

            PredMenu = LuxMenu.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]"));


            DrawMenu = LuxMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.AddSeparator();

            LaneClearMenu = LuxMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LCE", new CheckBox("Use E"));
            LaneClearMenu.Add("minM", new Slider("Min Minions to E", 5));


            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnTick    += Tick;
            Drawing.OnDraw += OnDraw;

            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
        }
Exemplo n.º 50
0
        internal static void Last()
        {
            var minions = EntityManager.MinionsAndMonsters.EnemyMinions.Where(x => x != null);

            foreach (var target in minions)
            {
                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Qmode").CurrentValue == 1 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "Q"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "Q"].Cast <Slider>().CurrentValue &&
                    Spells.Q.IsReady())
                {
                    if (Spells.QisToggle || Spells.QisDash || Spells.QisCc || Spells.Q == null)
                    {
                        return;
                    }

                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.Q)
                        >= Prediction.Health.GetPrediction(target, (int)Spells.Q.CastDelay * 1000) &&
                        Spells.Q.IsInRange(target))
                    {
                        if (Spells.Q.GetType() == typeof(Spell.Skillshot))
                        {
                            var qx = Spells.Q as Spell.Skillshot;
                            qx?.GetPrediction(target);
                            qx?.Cast(target);
                            return;
                        }

                        if (Spells.Q.GetType() == typeof(Spell.Active))
                        {
                            Spells.Q.Cast(target);
                            return;
                        }

                        if (Spells.Q.GetType() == typeof(Spell.Chargeable))
                        {
                            var qx = Spells.Q as Spell.Chargeable;
                            if (qx != null && !qx.IsCharging)
                            {
                                qx.StartCharging();
                            }

                            if (qx.Range == qx.MaximumRange)
                            {
                                qx.Cast(target.Position);
                            }

                            return;
                        }

                        if (Spells.Q.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.Q.Cast(target.Position);
                            return;
                        }
                    }
                }

                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Wmode").CurrentValue == 1 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "W"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "W"].Cast <Slider>().CurrentValue &&
                    Spells.W.IsReady())
                {
                    if (Spells.WisToggle || Spells.WisDash || Spells.WisCc || Spells.W == null)
                    {
                        return;
                    }
                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.W)
                        > Prediction.Health.GetPrediction(target, (int)(Spells.W.CastDelay)) &&
                        Spells.W.IsInRange(target))
                    {
                        if (Spells.W.GetType() == typeof(Spell.Skillshot))
                        {
                            var wx = Spells.W as Spell.Skillshot;
                            if (wx != null)
                            {
                                wx.GetPrediction(target);
                                wx.Cast(target);
                            }
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Targeted))
                        {
                            Spells.W.Cast(target);
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Active))
                        {
                            Spells.W.Cast();
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Chargeable))
                        {
                            var wx = Spells.W as Spell.Chargeable;
                            if (wx != null && !wx.IsCharging)
                            {
                                wx.StartCharging();
                            }

                            if (wx != null && wx.Range == wx.MaximumRange)
                            {
                                wx.Cast(target.Position);
                            }
                            return;
                        }

                        if (Spells.W.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.W.Cast(target.Position);
                            return;
                        }
                    }
                }

                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Emode").CurrentValue == 1 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "E"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "E"].Cast <Slider>().CurrentValue &&
                    Spells.E.IsReady())
                {
                    if (Spells.EisToggle || Spells.EisDash || Spells.EisCc || Spells.E == null)
                    {
                        return;
                    }
                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.E)
                        > Prediction.Health.GetPrediction(target, (int)(Spells.E.CastDelay * 1000)) &&
                        Spells.E.IsInRange(target))
                    {
                        if (Spells.E.GetType() == typeof(Spell.Skillshot))
                        {
                            var ex = Spells.E as Spell.Skillshot;
                            if (ex != null)
                            {
                                ex.GetPrediction(target);
                                ex.Cast(target);
                            }
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Targeted))
                        {
                            Spells.E.Cast(target);
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Active))
                        {
                            Spells.E.Cast();
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Chargeable))
                        {
                            Spell.Chargeable ex = Spells.E as Spell.Chargeable;
                            if (ex != null && !ex.IsCharging)
                            {
                                ex.StartCharging();
                            }

                            if (ex != null && ex.Range == ex.MaximumRange)
                            {
                                ex.Cast(target.Position);
                            }
                            return;
                        }

                        if (Spells.E.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.E.Cast(target.Position);
                            return;
                        }
                    }
                }

                if (AutoFarm.Lh.Get <ComboBox>(AutoFarm.Player.ChampionName + "Rmode").CurrentValue == 1 &&
                    AutoFarm.Lh[AutoFarm.Player.ChampionName + "R"].Cast <CheckBox>().CurrentValue &&
                    Player.Instance.ManaPercent
                    >= AutoFarm.ManaMenu[AutoFarm.Player.ChampionName + "R"].Cast <Slider>().CurrentValue)
                {
                    if (Spells.RisToggle || Spells.RisDash || Spells.RisCc || Spells.R == null)
                    {
                        return;
                    }
                    if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.R)
                        > Prediction.Health.GetPrediction(target, (int)(Spells.R.CastDelay * 1000)) &&
                        Spells.R.IsInRange(target))
                    {
                        if (Spells.R.GetType() == typeof(Spell.Skillshot))
                        {
                            Spell.Skillshot rx = Spells.R as Spell.Skillshot;
                            if (rx != null)
                            {
                                rx.GetPrediction(target);
                                rx.Cast(target);
                            }
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Targeted))
                        {
                            Spells.R.Cast(target);
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Active))
                        {
                            Spells.R.Cast();
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Chargeable))
                        {
                            Spell.Chargeable rx = Spells.R as Spell.Chargeable;
                            if (rx != null && !rx.IsCharging)
                            {
                                rx.StartCharging();
                            }

                            if (rx != null && rx.Range == rx.MaximumRange)
                            {
                                rx.Cast(target.Position);
                            }
                            return;
                        }

                        if (Spells.R.GetType() == typeof(Spell.Ranged))
                        {
                            Spells.R.Cast(target.Position);
                            return;
                        }
                    }
                }
            }
        }
Exemplo n.º 51
0
        public List <Spell.SpellBase> Spells(Type q, Type w, Type e, Type r)
        {
            Spell.SpellBase qBase          = null;
            var             firstOrDefault = Player.Spellbook.Spells.Find(s => s.Slot == SpellSlot.Q);
            var             qData          = firstOrDefault.SData;
            var             qData2         =
                SpellDatabase.Spells.Find(
                    s =>
                    string.Equals(s.ChampionName, Player.ChampionName, StringComparison.CurrentCultureIgnoreCase) &&
                    s.Slot == SpellSlot.Q);

            Spell.SpellBase wBase = null;
            firstOrDefault = Player.Spellbook.Spells.Find(s => s.Slot == SpellSlot.W);
            var wData  = firstOrDefault.SData;
            var wData2 =
                SpellDatabase.Spells.Find(
                    s =>
                    string.Equals(s.ChampionName, Player.ChampionName, StringComparison.CurrentCultureIgnoreCase) &&
                    s.Slot == SpellSlot.W);

            Spell.SpellBase eBase = null;
            firstOrDefault = Player.Spellbook.Spells.Find(s => s.Slot == SpellSlot.E);
            var eData  = firstOrDefault.SData;
            var eData2 =
                SpellDatabase.Spells.Find(
                    s =>
                    string.Equals(s.ChampionName, Player.ChampionName, StringComparison.CurrentCultureIgnoreCase) &&
                    s.Slot == SpellSlot.E);

            Spell.SpellBase rBase = null;
            firstOrDefault = Player.Spellbook.Spells.Find(s => s.Slot == SpellSlot.R);
            var rData  = firstOrDefault.SData;
            var rData2 =
                SpellDatabase.Spells.Find(
                    s =>
                    string.Equals(s.ChampionName, Player.ChampionName, StringComparison.CurrentCultureIgnoreCase) &&
                    s.Slot == SpellSlot.R);

            switch (q)
            {
            case Type.Active:
                qBase = new Spell.Active(SpellSlot.Q, (uint)qData.CastRange);
                break;

            case Type.Skillshot:
                qBase = new Spell.Skillshot(SpellSlot.Q, Convert.ToUInt32(qData2.Range * 0.95), qData2.Type, qData2.Delay,
                                            qData2.MissileSpeed, qData2.Radius);
                break;

            case Type.Targeted:
                qBase = new Spell.Targeted(SpellSlot.Q, (uint)qData.CastRange);
                break;
            }

            switch (w)
            {
            case Type.Active:
                wBase = new Spell.Active(SpellSlot.W, (uint)wData.CastRange);
                break;

            case Type.Skillshot:
                wBase = new Spell.Skillshot(SpellSlot.W, Convert.ToUInt32(wData2.Range * 0.95), wData2.Type, wData2.Delay,
                                            wData2.MissileSpeed, wData2.Radius);
                break;

            case Type.Targeted:
                wBase = new Spell.Targeted(SpellSlot.W, (uint)wData.CastRange);
                break;
            }

            switch (e)
            {
            case Type.Active:
                eBase = new Spell.Active(SpellSlot.E, (uint)eData.CastRange);
                break;

            case Type.Skillshot:
                eBase = new Spell.Skillshot(SpellSlot.E, Convert.ToUInt32(eData2.Range * 0.95), eData2.Type, eData2.Delay,
                                            eData2.MissileSpeed, eData2.Radius);
                break;

            case Type.Targeted:
                eBase = new Spell.Targeted(SpellSlot.E, (uint)eData.CastRange);
                break;
            }

            switch (r)
            {
            case Type.Active:
                rBase = new Spell.Active(SpellSlot.R, (uint)rData.CastRange);
                break;

            case Type.Skillshot:
                rBase = new Spell.Skillshot(SpellSlot.R, Convert.ToUInt32(rData2.Range * 0.95), rData2.Type, rData2.Delay,
                                            rData2.MissileSpeed, rData2.Radius);
                break;

            case Type.Targeted:
                rBase = new Spell.Targeted(SpellSlot.R, (uint)rData.CastRange);
                break;
            }

            return(new List <Spell.SpellBase>
            {
                qBase,
                wBase,
                eBase,
                rBase
            });
        }
Exemplo n.º 52
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

            var slot = Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#580dd9\" >MeLoDag Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeLoDag");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.Add("useQComboAlways", new CheckBox("Use Q[Always]"));
            ComboMenu.Add("useQCombo", new CheckBox("Use Q[StackCount]", false));
            ComboMenu.Add("StackCount", new Slider("Q when stacks >= ", 3, 1, 3));
            ComboMenu.AddLabel("E Settings");
            ComboMenu.Add("useEComboAlways", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useRCombo", new CheckBox("Use R"));
            ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 1, 1, 5));
            ComboMenu.Add("UseRcomboHP", new CheckBox("Use R[HpEnemy]"));
            ComboMenu.Add("RHP", new Slider("Use R If Hp enemies >= ", 50));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo preferences:");
            ComboMenu.Add("useWComboFocus", new CheckBox("Focus Target W"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Use Ignite If Combo Killable"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Use E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.AddLabel("Auto Skills On CC Enemy");
            MiscMenu.Add("CCQ", new CheckBox("Auto Q on Enemy CC"));
            MiscMenu.AddLabel("KillSteal Settings");
            MiscMenu.Add("UseQks", new CheckBox("Use Q ks"));
            MiscMenu.Add("UseRKs", new CheckBox("Use R Ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));


            Game.OnTick   += Game_OnTick;
            Game.OnUpdate += OnGameUpdate;
            //Obj_AI_Base.OnBuffGain += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
Exemplo n.º 53
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Orbwalker.OnPostAttack += Common.aaCombo;
            Orbwalker.OnPostAttack += Common.LJClear;
            Player.OnBasicAttack   += Player_OnBasicAttack;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q  = new Spell.Targeted(SpellSlot.Q, 675);
                Q1 = new Spell.Skillshot(SpellSlot.Q, 1140, SkillShotType.Linear, 350, int.MaxValue, 75);
                W  = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 100);
                W1 = new Spell.Skillshot(SpellSlot.W, 500, SkillShotType.Linear, 250, 1600, 100);
                E  = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Linear, 500, 2800, 110);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 卢锡安", "Lucian");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 卢锡安脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Lucian");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("CWeaving", new CheckBox("连招使用被动", true));
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.Add("ComboW", new CheckBox("连招W", true));
                ModesMenu1.Add("ComboE", new CheckBox("连招E", true));
                ModesMenu1.Add("ManaCW", new Slider("W蓝量使用 %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("逻辑设置");
                ModesMenu1.Add("LogicAA", new ComboBox(" 连招逻辑 ", 1, "神速", "普攻距离最大伤害"));
                ModesMenu1.Add("LogicW", new ComboBox(" 普通W逻辑 ", 1, "普攻距离", "总是"));
                ModesMenu1.Add("WColision", new ComboBox(" W 体积碰撞 ", 1, "检查碰撞", "不检查碰撞"));
                ModesMenu1.Add("LogicE", new ComboBox(" E 逻辑 ", 0, "E 至鼠标(安全位置)", "E 至靠边", "E 至鼠标"));

                ModesMenu1.AddSeparator();
                //ModesMenu1.AddLabel("AutoHarass Configs");
                //ModesMenu1.Add("AutoHarass", new CheckBox("Use Q on AutoHarass", false));
                // ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));

                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HWeaving", new CheckBox("骚扰使用被动", true));
                ModesMenu1.Add("HarassMana", new Slider("Q蓝量使用 %", 60));
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("HarassQext", new CheckBox("骚扰使用超远Q", true));
                ModesMenu1.Add("HarassW", new CheckBox("骚扰W", true));
                ModesMenu1.Add("ManaHW", new Slider("W蓝量使用 %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q抢头", true));
                ModesMenu1.Add("KW", new CheckBox("W抢头", true));
                ModesMenu1.Add("KR", new CheckBox("R抢头", false));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Lucian");
                ModesMenu2.AddLabel("清线设置");
                ModesMenu1.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.Add("ManaLQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("FarmW", new CheckBox("清线W", true));
                ModesMenu2.Add("ManaLW", new Slider("W蓝量使用 %", 40));
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));
                ModesMenu2.Add("ManaJQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("JungleW", new CheckBox("清野QW", true));
                ModesMenu2.Add("ManaJW", new Slider("W蓝量使用 %", 40));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Lucian");
                ModesMenu3.Add("AntiGap", new CheckBox("E 防突进", true));
                ModesMenu3.AddLabel("逃跑设置");
                ModesMenu3.Add("FleeE", new CheckBox("逃跑使用E", true));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawLucian");
                DrawMenu.Add("drawA", new CheckBox(" 显示真实普攻距离", true));
                DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true));
                DrawMenu.Add("drawQext", new CheckBox(" 显示 额外Q ", true));
                DrawMenu.Add("drawW", new CheckBox(" 显示 W", true));
                DrawMenu.Add("drawE", new CheckBox(" 显示 E", true));
                DrawMenu.Add("drawR", new CheckBox(" 显示 R", false));
            }

            catch (Exception e)
            {
            }
        }
Exemplo n.º 54
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Sejuani"))
            {
                return;
            }
            Chat.Print("Doctor's Sejuani Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 650, SkillShotType.Linear, 0, 1600, 70);
            Q.AllowedCollisionCount = -1;
            W = new Spell.Active(SpellSlot.W, 350);
            E = new Spell.Active(SpellSlot.E, 1000);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1600, 110);
            R.AllowedCollisionCount = -1;
            F = new Spell.Skillshot(_Player.GetSpellSlotFromName("summonerflash"), 425, SkillShotType.Linear, 0, int.MaxValue, 60);
            F.AllowedCollisionCount = int.MaxValue;
            Thm = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Sejuani", "Sejuani");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboFQ", new KeyBind("[Q] + [Flash] Target ", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("DisQ", new Slider("Use [Q] If Enemy Distance >", 10, 0, 650));
            ComboMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("DisE", new Slider("Use [E] If Enemy Distance > ", 10, 0, 1000));
            ComboMenu.AddLabel("[E] Distance < 125 = Always [E]");
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("MinR", new Slider("Min Hit Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt", false));
            ComboMenu.Add("interQ", new CheckBox("Use [Q] Interrupt", false));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("DisQ2", new Slider("Use [Q] If Enemy Distance >", 350, 0, 650));
            HarassMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("DisE2", new Slider("Use [E] If Enemy Distance >", 350, 0, 1000));
            HarassMenu.AddLabel("[E] Distance < 125 = Always [E]");
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass", 40));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("LaneE", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 1175));
            KillStealMenu.Add("RKb", new KeyBind("[R] Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            KillStealMenu.AddGroupLabel("Recommended Distance 600");

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5", "6"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range"));
            Drawings.Add("DrawE", new CheckBox("[E] Range"));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));
            Drawings.Add("Notifications", new CheckBox("Notifications Killable [R]"));
            Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
Exemplo n.º 55
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sona")
            {
                return;
            }
            Bootstrap.Init(null);
            Q          = new Spell.Active(SpellSlot.Q, 850);
            W          = new Spell.Active(SpellSlot.W, 1000);
            E          = new Spell.Active(SpellSlot.E, 350);
            R          = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 2400, 140);
            FrostQueen = new Item(3092, 850f);
            Exhaust    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);

            SonaMenu = MainMenu.AddMenu("BloodimirSona", "bloodimirsona");
            SonaMenu.AddGroupLabel("Bloodimir Sona v1.0.0.0");
            SonaMenu.AddSeparator();
            SonaMenu.AddLabel("Bloodimir Sona v1.0.0.0");

            ComboMenu = SonaMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("comboOnlyExhaust", new CheckBox("Use Exhaust (Combo Only)"));
            ComboMenu.Add("useitems", new CheckBox("Use Items"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));
            ComboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            HarassMenu = SonaMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            LaneJungleClear = SonaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            DrawMenu = SonaMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA"));

            MiscMenu = SonaMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ks", new CheckBox("KS"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));
            MiscMenu.Add("support", new CheckBox("Support Mode", false));
            MiscMenu.Add("HPLowAllies", new CheckBox("Use W on % HP Allies to Heal", false));
            MiscMenu.Add("wslider", new Slider("Ally Health Percentage to use W", 60));
            MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Exhaust " + source.ChampionName, false));
            }

            FleeMenu = SonaMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleee", new CheckBox("Use E"));

            SkinMenu = SonaMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 3, 0, 5));
            var sid        = new[] { "Default", "Muse", "Pentakill", "Silent Night", "Guqin", "Arcade" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };
            Game.OnUpdate += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Game.OnWndProc += Game_OnWndProc;
            Drawing.OnDraw += OnDraw;
        }
Exemplo n.º 56
0
        public static void Execute()
        {
            if (ObjectManager.Player.BaseSkinName != "Lissandra")
            {
                return;
            }

            menuIni = MainMenu.AddMenu("KappaLissandra", "KappaLissandra");
            menuIni.AddGroupLabel("Welcome to the Worst Lissandra addon!");
            menuIni.AddGroupLabel("Global Settings");
            menuIni.Add("Combo", new CheckBox("Use Combo?"));
            menuIni.Add("Harass", new CheckBox("Use Harass?"));
            menuIni.Add("LaneClear", new CheckBox("Use Lane Clear?"));
            menuIni.Add("JungleClear", new CheckBox("Use Jungle Clear?"));
            menuIni.Add("Flee", new CheckBox("Use Flee?"));
            menuIni.Add("Misc", new CheckBox("Use Misc?"));
            menuIni.Add("Drawings", new CheckBox("Use Drawings?"));

            UltMenu = menuIni.AddSubMenu("Ultimate");
            UltMenu.AddGroupLabel("Ultimate Settings");
            UltMenu.Add("aoeR", new CheckBox("AoE R Logic"));
            UltMenu.Add("RF", new CheckBox("Use R Finisher"));
            UltMenu.Add("RS", new CheckBox("Use R On Self"));
            UltMenu.Add("RE", new CheckBox("Use R On Enemy"));
            UltMenu.Add("hitR", new Slider("R AoE Hit >=", 2, 1, 5));
            UltMenu.Add("shp", new Slider("On Self Health to use R", 15, 0, 100));
            UltMenu.AddGroupLabel("Don't Use Ult On: Enemy");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    UltMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            ComboMenu = menuIni.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("ET", new CheckBox("Use E2 If hit target"));
            ComboMenu.Add("E2", new CheckBox("Always E2 Max", false));
            ComboMenu.Add("ES", new CheckBox("Use E2 Safe", false));
            ComboMenu.Add("EHP", new Slider("Use E2 Safe if HP <= %", 30, 0, 100));
            ComboMenu.Add("ESE", new Slider("Use E2 Safe if Enemies are <=", 2, 1, 5));

            HarassMenu = menuIni.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add("W", new CheckBox("Use W"));
            HarassMenu.Add("E", new CheckBox("Use E", false));
            HarassMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100));

            LaneMenu = menuIni.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("Q", new CheckBox("Use Q"));
            LaneMenu.Add("W", new CheckBox("Use W"));
            LaneMenu.Add("E", new CheckBox("Use E", false));
            LaneMenu.Add("Mana", new Slider("Save Mana %", 30, 0, 100));
            LaneMenu.AddGroupLabel("JungleClear Settings");
            LaneMenu.Add("jQ", new CheckBox("Use Q"));
            LaneMenu.Add("jW", new CheckBox("Use W"));
            LaneMenu.Add("jE", new CheckBox("Use E", false));

            MiscMenu = menuIni.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapcloserW", new CheckBox("Anti-GapCloser W"));
            MiscMenu.Add("gapcloserR", new CheckBox("Anti-GapCloser R"));
            MiscMenu.Add("Interruptr", new CheckBox("Interrupt R"));
            MiscMenu.Add("WTower", new CheckBox("Auto W Under Tower"));
            MiscMenu.Add("AutoW", new Slider("Auto W On Hit >=", 2, 1, 5));

            FleeMenu = menuIni.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("Q", new CheckBox("Use Q"));
            FleeMenu.Add("W", new CheckBox("Use W"));
            FleeMenu.Add("E", new CheckBox("Use E"));

            DrawMenu = menuIni.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("Q", new CheckBox("Draw Q"));
            DrawMenu.Add("W", new CheckBox("Draw W"));
            DrawMenu.Add("E", new CheckBox("Draw E"));
            DrawMenu.Add("R", new CheckBox("Draw R"));
            DrawMenu.Add("debug", new CheckBox("debug", false));

            Q     = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75);
            Q2    = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Linear, 250, 2200, 90);
            Qtest = new Spell.Skillshot(SpellSlot.Q, 715, SkillShotType.Linear, 250, 2200, 75)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W, 425);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 850, 125);
            R = new Spell.Targeted(SpellSlot.R, 400);

            Game.OnUpdate                    += OnUpdate;
            GameObject.OnCreate              += OnCreate;
            GameObject.OnDelete              += OnDelete;
            Drawing.OnDraw                   += OnDraw;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            Obj_AI_Base.OnBasicAttack        += OnBasicAttack;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Gapcloser.OnGapcloser            += OnGapcloser;
        }
Exemplo n.º 57
0
        public override void OnLoad()
        {
            Q = new Spell.Active(SpellSlot.Q, 425, DamageType.Physical)
            {
                CastDelay = 750
            };
            W = new Spell.Active(SpellSlot.W, 100, DamageType.Physical)
            {
                CastDelay = 300
            };
            E = new Spell.Skillshot(SpellSlot.E, 510, SkillShotType.Cone, 250, int.MaxValue, 80, DamageType.Physical)
            {
                ConeAngleDegrees = 50
            };
            R = new Spell.Targeted(SpellSlot.R, 460, DamageType.True)
            {
                CastDelay = 250
            };

            new Config();

            Q.AddRawDamage(new RawDamage
            {
                PreCalculatedDamage = () =>
                {
                    var dmgs       = new[] { 20f, 35f, 50f, 65f, 80f };
                    var mods       = new[] { 0.5f, 0.55f, 0.6f, 0.65f, 0.7f };
                    var scale      = Player.Instance.TotalAttackDamage;
                    var currentDmg = dmgs.GetCurrentDamage(mods, SpellSlot.Q, scale);
                    return(currentDmg);
                },
                Spell  = Q,
                Source = Player.Instance,
                Stage  = 1
            });

            W.AddRawDamage(new RawDamage
            {
                PreCalculatedDamage = () => Player.Instance.TotalAttackDamage * 0.4f,
                Spell  = W,
                Source = Player.Instance,
                Stage  = 1
            });

            R.AddRawDamage(new RawDamage
            {
                PreCalculatedDamage = () =>
                {
                    var index = R.Level - 1;

                    if (index < 0)
                    {
                        return(0);
                    }

                    var baseDmg       = new[] { 100f, 200f, 300f }[index];
                    var mod           = 0.75f;
                    var scale         = Player.Instance.FlatPhysicalDamageMod;
                    var currentDamage = baseDmg + (scale * mod);
                    return(currentDamage);
                },
                Spell  = R,
                Source = Player.Instance,
                Stage  = 1
            });

            Drawing.OnEndScene                += this.Drawing_OnEndScene;
            Obj_AI_Base.OnProcessSpellCast    += this.Obj_AI_Base_OnProcessSpellCast;
            Orbwalker.OverrideOrbwalkPosition += this.OverrideOrbwalkPosition;
            Orbwalker.OnPostAttack            += this.Orbwalker_OnPostAttack;
            Gapcloser.OnGapcloser             += this.Gapcloser_OnGapcloser;
            Dash.OnDash += this.Dash_OnDash;
            Interrupter.OnInterruptableSpell += this.Interrupter_OnInterruptableSpell;
            Spellbook.OnStopCast             += this.Spellbook_OnStopCast;
            Obj_AI_Base.OnBuffGain           += this.Obj_AI_Base_OnBuffGain;
            Orbwalker.OnUnkillableMinion     += this.Orbwalker_OnUnkillableMinion;
        }
Exemplo n.º 58
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Evelynn")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Active(SpellSlot.Q, 475);
            W  = new Spell.Active(SpellSlot.W);
            E  = new Spell.Targeted(SpellSlot.E, 225);
            _r = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150);

            _eveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve");
            _eveMenu.AddGroupLabel("Bloodimir.Evelynn");
            _eveMenu.AddSeparator();
            _eveMenu.AddLabel("Bloodimir Evelynn V1.0.1.0 - çeviri tradana");

            ComboMenu = _eveMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Q Kullan"));
            ComboMenu.Add("usecombow", new CheckBox("W Kullan"));
            ComboMenu.Add("usecomboe", new CheckBox("E Kullan"));
            ComboMenu.Add("usecombor", new CheckBox("R Kullan"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            _drawMenu = _eveMenu.AddSubMenu("Drawings", "drawings");
            _drawMenu.AddGroupLabel("Gösterge");
            _drawMenu.AddSeparator();
            _drawMenu.Add("drawq", new CheckBox("Göster Q"));
            _drawMenu.Add("drawr", new CheckBox("Göster R"));
            _drawMenu.Add("drawe", new CheckBox("Göster R"));

            LaneJungleClear = _eveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Ayarları");
            LaneJungleClear.Add("LCE", new CheckBox("E Kullan"));
            LaneJungleClear.Add("LCQ", new CheckBox("Q Kullan"));

            LastHitMenu = _eveMenu.AddSubMenu("Last Hit", "lasthit");
            LastHitMenu.AddGroupLabel("Last Hit Ayarları");
            LastHitMenu.Add("LHQ", new CheckBox("Q Kullan"));

            _miscMenu = _eveMenu.AddSubMenu("Misc Menu", "miscmenu");
            _miscMenu.AddGroupLabel("KS");
            _miscMenu.AddSeparator();
            _miscMenu.Add("kse", new CheckBox("KS için E"));
            _miscMenu.AddSeparator();
            _miscMenu.Add("ksq", new CheckBox("KS için Q"));
            _miscMenu.Add("asw", new CheckBox("Otomatik W"));

            _skinMenu = _eveMenu.AddSubMenu("Skin Changer", "skin");
            _skinMenu.AddGroupLabel("İstediğiniz Görünümü Seçin");

            var skinchange = _skinMenu.Add("sID", new Slider("Skin", 2, 0, 4));
            var sid        = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnUpdate  += Tick;
            Drawing.OnDraw += OnDraw;
        }
Exemplo n.º 59
0
        static Viktor()
        {
            Q = new Spell.Targeted(SpellSlot.Q, 670);
            W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Circular, 500, int.MaxValue, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 1225, SkillShotType.Linear, 250, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, int.MaxValue, 450)
            {
                AllowedCollisionCount = int.MaxValue
            };
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            MenuIni         = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu        = MenuIni.AddSubMenu("Auto");
            ComboMenu       = MenuIni.AddSubMenu("Combo");
            HarassMenu      = MenuIni.AddSubMenu("Harass");
            JungleClearMenu = MenuIni.AddSubMenu("JungleClear");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu        = MenuIni.AddSubMenu("Drawings");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R && i != W)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                    JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    JungleClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
                DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot);
            });

            AutoMenu.Add("Wmode", new ComboBox("GapCloser W Mode", 1, "Place On Self", "Place On Enemy"));
            AutoMenu.CreateCheckBox("GapW", "Auto W Anti-GapCloser");
            AutoMenu.CreateCheckBox("IntW", "Auto W Interrupter");
            AutoMenu.CreateCheckBox("IntR", "Auto R Interrupter");
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");
            AutoMenu.CreateCheckBox("Qfleek", "Auto Q Flee");

            ComboMenu.CreateSlider("RAOE", "R AoE Hit Count {0}", 2, 1, 6);
            ComboMenu.CreateSlider("RMulti", "Mutilply R Damage By X{0} Times", 3, 1, 10);

            LaneClearMenu.CreateSlider("Ehits", "E Hit Count {0}", 3, 1, 20);

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
        }
Exemplo n.º 60
0
 static DemSpells()
 {
     Q1 = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, 250, 3000, 40);
     Q2 = new Spell.Skillshot(SpellSlot.Q, 700, SkillShotType.Cone, 250, 1600, 90);
     E  = new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Linear, 250, 950, 100);
 }