当前位置: 首页>>代码示例>>C#>>正文


C# Spell.Targeted类代码示例

本文整理汇总了C#中Spell.Targeted的典型用法代码示例。如果您正苦于以下问题:C# Spell.Targeted类的具体用法?C# Spell.Targeted怎么用?C# Spell.Targeted使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Spell.Targeted类属于命名空间,在下文中一共展示了Spell.Targeted类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Loading_OnLoadingComplete

        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>");
        }
开发者ID:HeheheM,项目名称:EloBuddy-2,代码行数:60,代码来源:Program.cs

示例2: Loading_OnLoadingComplete

        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();
        }
开发者ID:Connerthorpe,项目名称:EloBuddy,代码行数:28,代码来源:Program.cs

示例3: Init

        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;
        }
开发者ID:himrengod,项目名称:Elobuddy-1,代码行数:29,代码来源:SmiteME.cs

示例4: Cassiopeia

 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;
     
 }
开发者ID:St33karn2k,项目名称:EloBuddy,代码行数:29,代码来源:Cassiopeia.cs

示例5: DemSpells

 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);
 }
开发者ID:BEEBEEISADOG,项目名称:EloBuddy-9,代码行数:7,代码来源:Program.cs

示例6: SpellManager

 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);
 }
开发者ID:hao1630,项目名称:KickAss,代码行数:7,代码来源:SpellManager.cs

示例7: SpellManager

        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);
            }
        }
开发者ID:lolscripts,项目名称:Ninja,代码行数:25,代码来源:SpellManager.cs

示例8: SpellManager

 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);
 }
开发者ID:iRaxeBackup,项目名称:EloBuddy,代码行数:7,代码来源:SpellManager.cs

示例9: DemSpells

 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);
 }
开发者ID:Toyota7,项目名称:EloBuddy,代码行数:7,代码来源:Program.cs

示例10: Game_OnGameStart

        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));
        }
开发者ID:Lottsz,项目名称:LTTS-Lotts,代码行数:35,代码来源:Program.cs

示例11: Init

 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);
 }
开发者ID:satuga,项目名称:Hu3Series,代码行数:7,代码来源:SpellManager.cs

示例12: SpellManager

 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);
 }
开发者ID:miroblog,项目名称:elobuddy,代码行数:7,代码来源:SpellManager.cs

示例13: LoadSpells

 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);
 }
开发者ID:FireBuddy,项目名称:EloBuddy-2,代码行数:31,代码来源:MyActivator.cs

示例14: SpellManager

        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);
            }
        }
开发者ID:drunkenninja,项目名称:Elobuddy,代码行数:27,代码来源:SpellManager.cs

示例15: SpellManager

 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);
 }
开发者ID:xTeKillax,项目名称:EloBuddy,代码行数:7,代码来源:SpellManager.cs


注:本文中的Spell.Targeted类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。