• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Spell.Targeted类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: 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);
     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);
 }
开发者ID:FireBuddy,项目名称:Elobuddy-1,代码行数:26,代码来源:MyActivator.cs


示例17: loadSpells

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


示例18: InitSpells

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


示例19: Loading_OnLoadingComplete

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# SpellCast类代码示例发布时间:2022-05-24
下一篇:
C# Spell.Skillshot类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap