示例#1
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);
 }
示例#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);
            }
        }
示例#3
0
 static SpellManager()
 {
     Q = new Spell.Targeted(SpellSlot.Q, 750);
     W = new Spell.Active(SpellSlot.W, 375);
     E = new Spell.Targeted(SpellSlot.E, 625);
     R = new Spell.Active(SpellSlot.R, 375);
 }
示例#4
0
 public static void LoadSpells()
 {
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("dot"))
         Ignite = new Spell.Targeted(SpellSlot.Summoner1, 580);
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("dot"))
         Ignite = new Spell.Targeted(SpellSlot.Summoner2, 580);
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("barrier"))
         Barrier = new Spell.Active(SpellSlot.Summoner1);
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("barrier"))
         Barrier = new Spell.Active(SpellSlot.Summoner2);
     var slot = ObjectManager.Player.GetSpellSlotFromName("summonerheal");
     if (slot != SpellSlot.Unknown)
     {
         Heal = new Spell.Active(slot, 600);
     }
     Youmus = new Item((int) ItemId.Youmuus_Ghostblade);
     Botrk = new Item((int) ItemId.Blade_of_the_Ruined_King);
     Bilgewater = new Item((int) ItemId.Bilgewater_Cutlass);
     Qss = new Item((int) ItemId.Quicksilver_Sash);
     Mercurial = new Item((int) ItemId.Mercurial_Scimitar);
     HpPot = new Item(2003);
     Biscuit = new Item(2010);
     RefillPot = new Item(2031);
     HuntersPot = new Item(2032);
     CorruptPot = new Item(2033);
 }
示例#5
0
 public static void LoadSpells()
 {
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("dot"))
         Ignite = new Spell.Targeted(SpellSlot.Summoner1, 580);
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("dot"))
         Ignite = new Spell.Targeted(SpellSlot.Summoner2, 580);
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("barrier"))
         Barrier = new Spell.Active(SpellSlot.Summoner1);
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("barrier"))
         Barrier = new Spell.Active(SpellSlot.Summoner2);
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("heal"))
         Heal = new Spell.Active(SpellSlot.Summoner1);
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("heal"))
         Heal = new Spell.Active(SpellSlot.Summoner2);
     Youmus = new Item((int)ItemId.Youmuus_Ghostblade);
     Botrk = new Item((int)ItemId.Blade_of_the_Ruined_King);
     Bilgewater = new Item((int)ItemId.Bilgewater_Cutlass);
     Qss = new Item((int)ItemId.Quicksilver_Sash);
     Mercurial = new Item((int)ItemId.Mercurial_Scimitar);
     HPPot = new Item(2003);
     Biscuit = new Item(2010);
     RefillPot = new Item(2031);
     HuntersPot = new Item(2032);
     CorruptPot = new Item(2033);
     PinkVision = new Item(2043, WardRange);
     GreaterStealthTotem = new Item(3361, WardRange);
     GreaterVisionTotem = new Item(3362, WardRange);
     FarsightAlteration = new Item(3363, WardRange);
     WardingTotem = new Item(3340, WardRange);
     Zhonya = new Item(3157);
 }
示例#6
0
 static SpellManager()
 {
     Q = new Spell.Targeted(SpellSlot.Q, 125);
     W = new Spell.Targeted(SpellSlot.W, 700);
     E = new Spell.Targeted(SpellSlot.E, 550);
     R = new Spell.Active(SpellSlot.R, 650);
 }
示例#7
0
        public static void loadSpells()
        {
            if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("smite"))
                smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
            else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("smite"))
                smite = new Spell.Targeted(SpellSlot.Summoner2, 570);

            if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("dot"))
                ignite = new Spell.Targeted(SpellSlot.Summoner1, 580);
            else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("dot"))
                ignite = new Spell.Targeted(SpellSlot.Summoner2, 580);

            if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("heal"))
                heal = new Spell.Active(SpellSlot.Summoner1);
            else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("heal"))
                heal = new Spell.Active(SpellSlot.Summoner2);
            talisman = new Item((int)ItemId.Talisman_of_Ascension);
            randuin = new Item((int)ItemId.Randuins_Omen);
            glory = new Item((int)ItemId.Righteous_Glory);
            fotmountain = new Item((int)ItemId.Face_of_the_Mountain);
            mikael = new Item((int)ItemId.Mikaels_Crucible);
            ironsolari = new Item((int)ItemId.Locket_of_the_Iron_Solari);
            youmus = new Item((int)ItemId.Youmuus_Ghostblade);
            botrk = new Item((int)ItemId.Blade_of_the_Ruined_King);
            bilgewater = new Item((int)ItemId.Bilgewater_Cutlass);
        }
示例#8
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);
 }
示例#9
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;
        }
示例#10
0
 static SpellManager()
 {
     Q = new Spell.Targeted(SpellSlot.Q, 700);
     W = new Spell.Active(SpellSlot.W, (uint)Player.Instance.GetAutoAttackRange());
     E = new Spell.Active(SpellSlot.E, 350);
     R = new Spell.Active(SpellSlot.R, 600);
 }
示例#11
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);
            }
        }
示例#12
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);
 }
示例#13
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;
     
 }
示例#14
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);
 }
示例#15
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);
 }
示例#16
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();
        }
示例#17
0
文件: Caitlyn.cs 项目: Enochen/AIBot
 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);
 }
示例#18
0
        public static void Init()
        {
            slot1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            slot2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            var smiteNames = new[]
            {
                "s5_summonersmiteplayerganker", "itemsmiteaoe", "s5_summonersmitequick",
                "s5_summonersmiteduel", "summonersmite"
            };
            if (smiteNames.Contains("smite"))
            {
                smite = new Spell.Targeted(SpellSlot.Summoner1, (uint) 560f);
                smiteSlot = SpellSlot.Summoner1;
            }
            if (smiteNames.Contains("smite"))
            {
                smite = new Spell.Targeted(SpellSlot.Summoner2, (uint) 560f);
                smiteSlot = SpellSlot.Summoner2;
            }
            Smiterino = Program.Menu.AddSubMenu("Auto Smite", "Smite");
            Smiterino.AddGroupLabel("Auto Smite Settings");
            Smiterino.AddSeparator();
            Smiterino.Add("smiteActive", new CheckBox("Smite Active"));
            Smiterino.Add("drawHp", new CheckBox("Draw HP Bar on Minions"));
            Smiterino.Add("autoSmite", new KeyBind("AutoSmite Active HotKey", true, KeyBind.BindTypes.PressToggle, 'N'));
            Game.OnUpdate += OnUpdate;
            Drawing.OnDraw += OnDraw;
        }
示例#19
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);
            }
        }
示例#20
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);
 }
示例#21
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>");
        }
示例#22
0
        static SpellManager()
        {
            // Initialize spells
            Q = new Spell.Targeted(SpellSlot.Q, 400);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 1500);
            R = new Spell.Targeted(SpellSlot.R, 700);

            Recall = new Spell.Active(SpellSlot.Recall);

            if (Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase))
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if ((Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Equals("summonerdot", StringComparison.CurrentCultureIgnoreCase)))
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }
            if (Util.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner1).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
            }
            else if (Util.SmiteNames.ToList().Contains(Player.Instance.Spellbook.GetSpell(SpellSlot.Summoner2).Name))
            {
                Smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
            }
        }
示例#23
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);
 }
示例#24
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);
 }
示例#25
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);
 }
示例#26
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));
        }
示例#27
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();
        }
示例#28
0
 static DemSpells()
 {
     Q = new Spell.Active(SpellSlot.Q);
     W = new Spell.Active(SpellSlot.W);
     E = new Spell.Targeted(SpellSlot.E, 325);
     R = new Spell.Active(SpellSlot.R, 300);
 }
示例#29
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);
 }
示例#30
0
 public static void Initialize()
 {
     #region Ignite
     var ignite = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonerdot"));
     if (ignite != null)
     {
         Ignite = new Spell.Targeted(ignite.Slot, 600);
         PlayerHasIgnite = true;
     }
     #endregion
     #region Heal
     var heal = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonerheal"));
     if (heal != null)
     {
         Heal = new Spell.Active(heal.Slot, 850);
         PlayerHasHeal = true;
     }
     #endregion
     #region Cleanse
     var cleanse = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonerboost"));
     if (cleanse != null)
     {
         Cleanse = new Spell.Active(cleanse.Slot);
         PlayerHasCleanse = true;
     }
     #endregion
     #region Exhaust
     var exhaust = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonerexhaust"));
     if (exhaust != null)
     {
         Exhaust = new Spell.Targeted(exhaust.Slot, 650);
         PlayerHasExhaust = true;
     }
     #endregion
     #region Barrier
     var barrier = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonerbarrier"));
     if (barrier != null)
     {
         Barrier = new Spell.Active(barrier.Slot);
         PlayerHasBarrier = true;
     }
     #endregion
     #region Snowball
     var snowball = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonersnowball"));
     if (snowball != null)
     {
         Snowball = new Spell.Skillshot(snowball.Slot, (uint)snowball.SData.CastRange - 50, SkillShotType.Linear, 250, 1500, (int)snowball.SData.LineWidth);
         PlayerHasSnowball = true;
     }
     #endregion
     #region Smite
     var smite = Player.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("summonersmite"));
     if (smite != null)
     {
         Smite = new Spell.Targeted(smite.Slot, 570);
         PlayerHasSmite = true;
         Core.Spells.Smite.Initialize();
     }
     #endregion
 }
示例#31
0
        public static void InitializeSpells()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Circular, castDelay = 1, spellWidth = 130);

            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular, 250, 3000, 180);

            E = new Spell.Targeted(SpellSlot.E, 750);

            R = new Spell.Skillshot(SpellSlot.R, 850, SkillShotType.Cone, spellWidth = 90, castDelay = 500);

            FlashR = new Spell.Skillshot(SpellSlot.R, 1100, SkillShotType.Cone, spellWidth = 90, castDelay = 500);

            Obj_AI_Base.OnLevelUp += AutoLevel.Obj_AI_Base_OnLevelUp;
        }
示例#32
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Brand)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, 250, 1200, 85);
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 5, int.MaxValue, 250);
            E = new Spell.Targeted(SpellSlot.E, 625);
            R = new Spell.Targeted(SpellSlot.R, 750);

            menu = MainMenu.AddMenu("DarkBrand", "DarkBrand");

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

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("QU", new CheckBox("Use Q"));
            ComboMenu.Add("WU", new CheckBox("Use W"));
            ComboMenu.Add("EU", new CheckBox("Use E"));
            ComboMenu.Add("RU", new CheckBox("Use R"));
            ComboMenu.Add("RK", new CheckBox("Use R if Killable"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MR", new Slider("Min. Enemies in [R] Range", 1, 1, 5));

            HarassMenu = menu.AddSubMenu("Harass", "farmenu");

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HW", new CheckBox("Auto W"));
            HarassMenu.Add("HE", new CheckBox("Auto E"));
            HarassMenu.Add("HMC", new Slider("Min. Mana % for Harass", 75, 1, 100));

            KSMenu = menu.AddSubMenu("Kill Steal (KS)", "ksmenu");

            KSMenu.AddGroupLabel("Kill Steal Settings");
            KSMenu.Add("KSQ", new CheckBox("Auto Q"));
            KSMenu.Add("KSW", new CheckBox("Auto W"));
            KSMenu.Add("KSE", new CheckBox("Auto E"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");

            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DR", new CheckBox("Draw R"));

            Game.OnTick    += OrbwalkerModes;
            Drawing.OnDraw += Drawings;
        }
示例#33
0
        static DemSpells()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 70);

            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 1250, int.MaxValue, 225)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Circular, 500, int.MaxValue, 380)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Targeted(SpellSlot.R, 650);
        }
示例#34
0
 public override void setUpSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 150, 1600, 60)
     {
         AllowedCollisionCount = 0
     };
     Q2 = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear, 100, 1600, 100);
     W  = new Spell.Active(SpellSlot.W);
     E  = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 250, 1500, 250)
     {
         AllowedCollisionCount = int.MaxValue
     };
     R = new Spell.Targeted(SpellSlot.R, 500);
 }
示例#35
0
        public static void Initialize()
        {
            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 350);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 0, 1600, 65);

            Ignite  = ObjectManager.Player.GetSpellSlotFromName("summonerdot");
            Youmuu  = new Item(3142, Q.Range);
            Cutlass = new Item(3144, 450f);
            Blade   = new Item(3153, 450f);
            Tiamat  = new Item(3077, 400f);
            Hydra   = new Item(3074, 400f);
        }
示例#36
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            Chat.Print("5.25 - SP Khazix Loaded");
            Q               = new Spell.Targeted(SpellSlot.Q, 325);
            W               = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear);
            E               = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Linear);
            R               = new Spell.Active(SpellSlot.R);
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += OnDraw;
            MenuKha();
            var SkinSelect = MiscMenu["skin"].Cast <Slider>().CurrentValue;

            Kha.SetSkinId(SkinSelect);
        }
示例#37
0
 public override void setUpSpells()
 {
     //Initialize Spells.
     _humanQ = new Spell.Targeted(SpellSlot.Q, 625);
     _humanW = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Linear, 250, 1000, 100);
     _humanE = new Spell.Skillshot(SpellSlot.E, 1075, SkillShotType.Linear, 250, 1300, 55)
     {
         AllowedCollisionCount = 0
     };
     _r       = new Spell.Active(SpellSlot.R);
     _spiderQ = new Spell.Targeted(SpellSlot.Q, 950);
     _spiderW = new Spell.Active(SpellSlot.W);
     _spiderE = new Spell.Targeted(SpellSlot.E, 750);
 }
示例#38
0
        static SpellManager()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1300, 65);
            {
                Q.AllowedCollisionCount = 0;
                Q.MinimumHitChance      = HitChance.High;
            }

            W = new Spell.SimpleSkillshot(SpellSlot.W, 1200);

            E = new Spell.Targeted(SpellSlot.E, 750); // 285 width

            R = new Spell.Targeted(SpellSlot.R, 750);
        }
示例#39
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            MENU = MainMenu.AddMenu("Farofakids-Activator", "Farofakids-Activator");

            if (HasSpell("SummonerDot"))
            {
                MENU.AddLabel("IGNITE");
                MENU.Add("useIgnite", new CheckBox("Use Ignite"));
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("SummonerDot"), 600);
                Chat.Print("Farofakids-Activator: Ignite Loaded", System.Drawing.Color.Red);
                MENU.AddSeparator();
            }
            if (HasSpell("SummonerHeal"))
            {
                MENU.AddLabel("Heal");
                MENU.Add("useHeal", new CheckBox("Use Heal"));
                MENU.Add("useHealheal", new Slider("Heal at Health (%)", 15));
                Heal = new Spell.Active(ObjectManager.Player.GetSpellSlotFromName("SummonerHeal"), 850);
                Chat.Print("Farofakids-Activator: Heal Loaded", System.Drawing.Color.Green);
                MENU.AddSeparator();
            }
            if (HasSpell("SummonerBoost"))
            {
                MENU.AddLabel("Cleanse");
                MENU.Add("useCleanse", new CheckBox("Use Cleanse"));
                Cleanse = new Spell.Active(ObjectManager.Player.GetSpellSlotFromName("SummonerBoost"), 0);
                Chat.Print("Farofakids-Activator: Cleanse Loaded", System.Drawing.Color.Green);
                MENU.AddSeparator();
            }
            MENU.AddLabel("POTIONS");
            MENU.Add("usePotions", new CheckBox("Use Potions"));
            MENU.Add("usePotionsheal", new Slider("Potions at Health (%)", 50));

            MENU.AddLabel("ITENS");
            MENU.Add("useZhonyas", new CheckBox("Use Zhonyas"));
            MENU.Add("useZhonyaheal", new Slider("Zhonya at Health (%)", 30));
            MENU.Add("useQss", new CheckBox("Use Quicksilver or Mercurial Scimitar"));
            MENU.Add("useBotrk", new CheckBox("Use Botrk"));
            MENU.Add("minHPBotrk", new Slider("Min health to use Botrk ({0}%)", 80));
            MENU.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk ({0}%)", 80));
            MENU.Add("useYoumuu", new CheckBox("Use Youmuu's Ghostblade"));
            MENU.Add("useCutlass", new CheckBox("Use Botrk"));
            MENU.Add("useTiamat", new CheckBox("Use Tiamat or Hydra or Titanic"));
            MENU.Add("useHextech", new CheckBox("Use Hextech family"));
            Chat.Print("Farofakids-Activator: ITENS Loaded", System.Drawing.Color.HotPink);

            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += OnPostAttack;
        }
示例#40
0
 public static void loadSpells()
 {
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("smite"))
     {
         smite = new Spell.Targeted(SpellSlot.Summoner1, 570);
     }
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("smite"))
     {
         smite = new Spell.Targeted(SpellSlot.Summoner2, 570);
     }
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("barrier"))
     {
         Barrier = new Spell.Active(SpellSlot.Summoner1);
     }
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("barrier"))
     {
         Barrier = new Spell.Active(SpellSlot.Summoner2);
     }
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("dot"))
     {
         ignite = new Spell.Targeted(SpellSlot.Summoner1, 580);
     }
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("dot"))
     {
         ignite = new Spell.Targeted(SpellSlot.Summoner2, 580);
     }
     if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name.Contains("heal"))
     {
         heal = new Spell.Active(SpellSlot.Summoner1);
     }
     else if (ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name.Contains("heal"))
     {
         heal = new Spell.Active(SpellSlot.Summoner2);
     }
     youmus     = new Item(ItemId.Youmuus_Ghostblade);
     botrk      = new Item(ItemId.Blade_of_the_Ruined_King);
     bilgewater = new Item(3144, 550);
     randuin    = new Item((int)ItemId.Randuins_Omen);
     glory      = new Item((int)ItemId.Righteous_Glory);
     Qss        = new Item((int)ItemId.Quicksilver_Sash);
     Mercurial  = new Item((int)ItemId.Mercurial_Scimitar);
     Hydra      = new Item((int)ItemId.Ravenous_Hydra_Melee_Only);
     Tiamat     = new Item((int)ItemId.Tiamat_Melee_Only);
     HPPot      = new Item(2003);
     Biscuit    = new Item(2010);
     CorruptPot = new Item(2033);
     HuntersPot = new Item(2032);
     RefillPot  = new Item(2031);
 }
示例#41
0
        static void OnLoad(EventArgs args)
        {
            if (Player.ChampionName != ChampName)
            {
                return;
            }

            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W, 400);
            E = new Spell.Targeted(SpellSlot.E, 700);
            R = new Spell.Active(SpellSlot.R, 550);

            menu = MainMenu.AddMenu("MadCatz_Katarina", "MadCatz");
            menu.AddGroupLabel("MadCatz_Katarina");

            ComboMenu = menu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("Q", new CheckBox("Use Q", true));
            ComboMenu.Add("W", new CheckBox("Use W", true));
            ComboMenu.Add("E", new CheckBox("Use E", true));
            ComboMenu.Add("R", new CheckBox("Use R", true));
            ComboMenu.AddSeparator();

            HarassMenu = menu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("Q", new CheckBox("Use Q", true));
            HarassMenu.Add("W", new CheckBox("Use W", true));
            HarassMenu.Add("E", new CheckBox("Use E", false));
            HarassMenu.AddSeparator();

            LaneClearMenu = menu.AddSubMenu("LanClear", "LanClear");
            LaneClearMenu.AddGroupLabel("LaneClear");
            LaneClearMenu.Add("Q", new CheckBox("Use Q", false));
            LaneClearMenu.Add("W", new CheckBox("Use W", false));
            LaneClearMenu.AddSeparator();

            Misc = menu.AddSubMenu("Misc", "Misc");
            Misc.AddGroupLabel("Misc");
            Misc.Add("Q", new CheckBox("Auto Q", true));
            Misc.Add("W", new CheckBox("Auto W", true));
            Misc.AddLabel("Auto Q,W");
            Misc.AddSeparator();


            Game.OnTick += Update;

            Chat.Print("MadCatz" + ChampName + "MadCatz_Load");
            Chat.Print("Korean Developer Good Luck!");
        }
示例#42
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Declaring
            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            A = new Spell.Skillshot(SpellSlot.Q, 1000, skillShotType: SkillShotType.Linear, castDelay: 250, spellSpeed: 1550, spellWidth: 75);
            Z = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (User.ChampionName != "Olaf")
            {
                return;
            }
            //Declaring


            //Drawings
            olafMenu  = MainMenu.AddMenu("Leeched Olaf", "Leeched Olaf");
            comboMenu = olafMenu.AddSubMenu("Combo");
            comboMenu.Add("A", new CheckBox("Use Q"));
            comboMenu.Add("Z", new CheckBox("Use W"));
            comboMenu.Add("E", new CheckBox("Use E"));
            waveClear = olafMenu.AddSubMenu("Wave Clear / Jungle Clear");
            waveClear.Add("Awc", new CheckBox("Use Q"));
            waveClear.Add("Wwc", new CheckBox("Use W"));
            waveClear.Add("Ewc", new CheckBox("Use E"));
            waveClear.Add("manawc", new Slider("Mana manager", 0));
            LastHit = olafMenu.AddSubMenu("Last hit");
            LastHit.Add("Alh", new CheckBox("Use Q to Last hit"));
            LastHit.Add("Elh", new CheckBox("Use E to Last hit"));
            LastHit.Add("manalh", new Slider("Mana manager", 0));
            harass = olafMenu.AddSubMenu("Harass hit");
            harass.Add("AHarass", new CheckBox("Use Q to Harass"));
            harass.Add("EHarass", new CheckBox("Use E to Harass"));
            harass.Add("manaharass", new Slider("Mana manager", 0));
            Flee = olafMenu.AddSubMenu("Flee");
            Flee.Add("Aflee", new CheckBox("Use Q to Flee"));
            Flee.Add("Rflee", new CheckBox("Use R to Flee (Cast when under CC)"));
            Flee.Add("HPflee", new Slider("Use R when under XX HP", 15));
            Drawings = olafMenu.AddSubMenu("Drawings", "Drawings");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("QDraw", new CheckBox("Draw Q Range"));
            Drawings.Add("EDraw", new CheckBox("Draw E Range", false));
            Drawings.Add("Axepos", new CheckBox("Draw Axe position"));

            Chat.Print("Leeched Olaf loaded successfully");
        }
示例#43
0
        public void Initialize()
        {
            if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerFlash")) != null)
            {
                Flash = SummonerSpells.Flash;
            }

            if (Player.Spells.FirstOrDefault(o => o.SData.Name.ToLower().Contains("smite")) != null)
            {
                Smite = SummonerSpells.Smite;
            }

            Game.OnTick    += this.Game_OnTick;
            Drawing.OnDraw += this.Drawing_OnDraw;
        }
示例#44
0
        /// <summary>
        /// It sets the values to the spells
        /// </summary>
        public static void InitializeSpells()
        {
            var smite = Player.Spells.FirstOrDefault(s => s.SData.Name.ToLower().Contains("smite"));

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 570);
            }
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 1);
            E = new Spell.Skillshot(SpellSlot.E, 980, SkillShotType.Linear);
            R = new Spell.Targeted(SpellSlot.R, 350);

            Obj_AI_Base.OnLevelUp += Obj_AI_Base_OnLevelUp;
        }
示例#45
0
        public override void setUpSpells()
        {
            Q  = new Spell.Skillshot(SpellSlot.Q, 1125, SkillShotType.Linear);
            W  = new Spell.Active(SpellSlot.W);
            E  = new Spell.Targeted(SpellSlot.E, 425);
            R  = new Spell.Active(SpellSlot.R, 2500);
            R1 = new Spell.Targeted(SpellSlot.R, R.Range);

            /*   Q = new Spell(SpellSlot.Q, 1150);
             * Q.SetSkillshot(
             *     0.25f, Q.Instance.SData.LineWidth, 1350, false, SkillshotType.SkillshotLine);
             * W = new Spell(SpellSlot.W);
             * E = new Spell(SpellSlot.E, 400);
             * R = new Spell(SpellSlot.R, 2000);*/
        }
示例#46
0
        /// <summary>
        /// It sets the values to the spells
        /// </summary>
        public static void InitializeSpells()
        {
            Q  = new Spell.Skillshot(SpellSlot.Q, 1125, SkillShotType.Linear);
            W  = new Spell.Active(SpellSlot.W);
            E  = new Spell.Targeted(SpellSlot.E, 425);
            R  = new Spell.Active(SpellSlot.R, 2500);
            R1 = new Spell.Targeted(SpellSlot.R, R.Range);
            //Q = new Spell.Targeted(SpellSlot.Q, 350);
            //W = new Spell.Active(SpellSlot.W, 200);
            //E = new Spell.Active(SpellSlot.E, 300);
            //R = new Spell.Targeted(SpellSlot.R, 400);


            Obj_AI_Base.OnLevelUp += Obj_AI_Base_OnLevelUp;
        }
示例#47
0
        public override void setUpSpells()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 1450, 60);
            {
                AllowedCollisionCount = int.MaxValue;
            }
            Q2 = new Spell.Skillshot(SpellSlot.Q, 1600, SkillShotType.Linear, 250, 1450, 60);
            {
                AllowedCollisionCount = int.MaxValue;
            }

            W = new Spell.Targeted(SpellSlot.W, 650);
            E = new Spell.Targeted(SpellSlot.E, 650);
            R = new Spell.Targeted(SpellSlot.R, 900);
        }
示例#48
0
        public Caitlyn()
        {
            SkillSequence = new[] { 2, 1, 1, 3, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
            ShopSequence  =
                "3340:Buy,1036:Buy,2003:StartHpPot,1053:Buy,1042:Buy,1001:Buy,3006:Buy,1036:Buy,1038:Buy,3072:Buy,2003:StopHpPot,1042:Buy,1051:Buy,3086:Buy,1042:Buy,1042:Buy,1043:Buy,3085:Buy,2015:Buy,3086:Buy,3094:Buy,1018:Buy,1038:Buy,3031:Buy,1037:Buy,3035:Buy,3033:Buy";
            R = new Spell.Targeted(SpellSlot.R, 2000);

            Q = new Spell.Skillshot(SpellSlot.Q, 1240, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 820, SkillShotType.Circular, 500, int.MaxValue, 80);
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, 250, 1600, 80)
            {
                MinimumHitChance = HitChance.Low
            };
            Game.OnTick += Game_OnTick;
        }
示例#49
0
        public static void Initialize()
        {
            Q = new Spell.Active(SpellSlot.Q)
            {
                DamageType = DamageType.Physical,
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 300, DamageType.Physical);
            R = new Spell.Targeted(SpellSlot.R, 400, DamageType.Magical);

            HasQActive = false;
            IsSpinning = false;

            Console.WriteLine("SpellManager initialized.");
        }
示例#50
0
        static void Obj_AI_Base_OnLevelUp(Obj_AI_Base sender, Obj_AI_BaseLevelUpEventArgs args)
        {
            if (sender.IsMe)
            {
                if (Player.Instance.Level >= 11 && Player.Instance.Level < 16)
                {
                    R = new Spell.Targeted(SpellSlot.R, 2500);
                }

                if (Player.Instance.Level >= 16)
                {
                    R = new Spell.Targeted(SpellSlot.R, 3000);
                }
            }
        }
示例#51
0
        static SpellManager()
        {
            // Initialize spells
            Q = new Spell.Active(SpellSlot.Q, 315);
            W = new Spell.Targeted(SpellSlot.W, 625);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R);
            SpellDataInst flash =
                Player.Instance.Spellbook.Spells.FirstOrDefault(spell => spell.Name.ToLower().Contains("flash"));

            if (flash != null)
            {
                F = new Spell.Skillshot(flash.Slot, 425, SkillShotType.Linear);
            }
        }
示例#52
0
 static DemSpells()
 {
     Q1  = new Spell.Skillshot(SpellSlot.Q, 1500, SkillShotType.Linear, 500, 1300, 80);
     Q2  = new Spell.Active(SpellSlot.Q, 200);
     W1  = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 500, 1450, 80);
     W2  = new Spell.Skillshot(SpellSlot.W, 375, SkillShotType.Circular, 500, int.MaxValue, 210);
     W2E = new Spell.Skillshot(SpellSlot.W, 750, SkillShotType.Circular, 500, int.MaxValue, 210);
     E1  = new Spell.Targeted(SpellSlot.E, 600);
     E2  = new Spell.Skillshot(SpellSlot.E, 300, SkillShotType.Cone, 500, int.MaxValue,
                               (int)(15.00 * Math.PI / 180.00))
     {
         ConeAngleDegrees = 180
     };
     R = new Spell.Active(SpellSlot.R);
 }
示例#53
0
 public Cassiopeia()
 {
     ShopSequence =
         "3340:Buy,2003:StartHpPot,1056:Buy,1027:Buy,3070:Buy,1058:Buy,3003: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;
     }
 }
示例#54
0
        static SpellManager()
        {
            if (Player.Instance.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(Player.Instance.GetSpellSlotFromName("summonerdot"), 600);
            }

            Q = new Spell.Active(SpellSlot.Q, 230);
            W = new Spell.Targeted(SpellSlot.W, 600);
            E = new Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Circular, 500, 20, 380)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Active(SpellSlot.R, 500);
        }
示例#55
0
        public static void init()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, 100, 2000, 75);
            {
                Q.AllowedCollisionCount = 0;
            }

            WSwallow = new Spell.Targeted(SpellSlot.W, 250);
            WSpit    = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Linear, 100, 900, 75);
            {
                WSpit.AllowedCollisionCount = 0;
            }
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R, 6500, DamageType.Physical);
        }
示例#56
0
        public override void setUpSpells()
        {
            Q = new Spell.Targeted(SpellSlot.Q, 550);
            W = new Spell.Skillshot(SpellSlot.W, 750, SkillShotType.Cone, 250, 1850, 60, DamageType.Physical);
            E = new Spell.Active(SpellSlot.E, 700);
            R = new Spell.Active(SpellSlot.R, 500);

            /*Q = new Spell(SpellSlot.Q, 200);
             * W = new Spell(SpellSlot.W, 650);
             * E = new Spell(SpellSlot.E, 700);
             * R = new Spell(SpellSlot.R, 0);
             *
             * W.SetSkillshot(0.0f, 400f, 1700f, false, SkillshotType.SkillshotCone);
             * R.SetSkillshot(0.0f, 400f, 1700f, false, SkillshotType.SkillshotCircle);*/
        }
示例#57
0
        static SpellManager()
        {
            if (Player.Instance.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(Player.Instance.GetSpellSlotFromName("summonerdot"), 600);
            }

            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);
        }
示例#58
0
 static SpellManager()
 {
     Q                = new Spell.Skillshot(SpellSlot.Q, 940, SkillShotType.Circular, 500, 1300, 120);
     W                = new Spell.Targeted(SpellSlot.W, 800);
     E                = new Spell.Skillshot(SpellSlot.E, 1180, SkillShotType.Linear, 500, 1200, 140);
     R                = new Spell.Active(SpellSlot.R, 575);
     Spells           = (new Spell.SpellBase[] { Q, W, E, R }).OrderByDescending(o => o.Range).ToArray();
     ColorTranslation = new Dictionary <SpellSlot, Color>
     {
         { SpellSlot.Q, Color.IndianRed.ToArgb(150) },
         { SpellSlot.W, Color.PaleVioletRed.ToArgb(150) },
         { SpellSlot.E, Color.IndianRed.ToArgb(150) },
         { SpellSlot.R, Color.DarkRed.ToArgb(150) }
     };
 }
示例#59
0
 public static void InitSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, 250, 1650, 50);
     W = new Spell.Active(SpellSlot.W, 750);
     E = new Spell.Active(SpellSlot.E);
     R = new Spell.Active(SpellSlot.R, 550);
     if (HasSpell("summonerdot"))
     {
         ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
     }
     if (HasSpell("summonerheal"))
     {
         heal = new Spell.Active(ObjectManager.Player.GetSpellSlotFromName("summonerheal"), 850);
     }
 }
示例#60
0
文件: Zilean.cs 项目: tekintr/AIO
        static Zilean()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 350, 2000, 100, DamageType.Magical)
            {
                AllowedCollisionCount = int.MaxValue,
            };

            W = new Spell.Active(SpellSlot.W);

            E = new Spell.Targeted(SpellSlot.E, 750);

            R = new Spell.Targeted(SpellSlot.R, 900);

            DamageIndicator.DamageDelegate = HandleDamageIndicator;
        }