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

C# Spell.Active类代码示例

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

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



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

示例1: DemSpells

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

 static SpellManager()
 {
     Q = new Spell.Active(SpellSlot.Q, (uint)Player.Instance.GetAutoAttackRange());
     W = new Spell.Active(SpellSlot.W, (uint)Player.Instance.GetAutoAttackRange());
     E = new Spell.Skillshot(SpellSlot.E, 1050, SkillShotType.Linear, 250, 1400, 130);
     R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Linear, 400, 2000, 160);
 }
开发者ID:hao1630,项目名称:KickAss,代码行数:7,代码来源:SpellManager.cs


示例4: 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


示例5: 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


示例6: 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


示例7: 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


示例8: 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


示例9: InitializeSpells

 public void InitializeSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 980, SkillShotType.Linear, (int)250f, (int)1800f, (int)70f);
     W = new Spell.Active(SpellSlot.W, 0);
     E = new Spell.Active(SpellSlot.E, 150);
     R = new Spell.Active(SpellSlot.R, 550);
 }
开发者ID:BEEBEEISADOG,项目名称:EloBuddy-4,代码行数:7,代码来源:Blitzcrank.cs


示例10: SpellManager

 static SpellManager()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 980, SkillShotType.Linear, 260, 1850, 70);
     W = new Spell.Active(SpellSlot.W, 260);
     E = new Spell.Active(SpellSlot.E, (uint)Player.Instance.AttackRange + (uint)Player.Instance.BoundingRadius);
     R = new Spell.Active(SpellSlot.R);
 }
开发者ID:erdembat93,项目名称:Hu3SeriesReborn,代码行数:7,代码来源:SpellManager.cs


示例11: 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


示例12: Initialize

        public static void Initialize()
        {
            Q = new Spell.Skillshot(SpellSlot.Q, (uint) Player.Instance.Spellbook.GetSpell(SpellSlot.Q).SData.CastRange,
                SkillShotType.Linear)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

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

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

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

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

            if (slot != SpellSlot.Unknown)
            {
                Flash = new Spell.Skillshot(slot, 425, SkillShotType.Linear);
            }
        }
开发者ID:Enelx,项目名称:EloBuddy,代码行数:32,代码来源:Spells.cs


示例13: 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


示例14: 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


示例15: AutoWalker

        static AutoWalker()
        {
            myNexus = ObjectManager.Get<Obj_HQ>().First(n => n.IsAlly);
            enemyNexus = ObjectManager.Get<Obj_HQ>().First(n => n.IsEnemy);
            enemyLazer = ObjectManager.Get<Obj_AI_Turret>().FirstOrDefault(tur => tur.IsEnemy && tur.GetLane() == Lane.Spawn);
            p = ObjectManager.Player;

            if (p.Spellbook.GetSpell(SpellSlot.Summoner1).Name == "summonerheal")
            {
                Heal = new Spell.Active(SpellSlot.Summoner1);
            }
            if (p.Spellbook.GetSpell(SpellSlot.Summoner2).Name == "summonerheal")
            {
                Heal = new Spell.Active(SpellSlot.Summoner2);
            }
            if (p.Spellbook.GetSpell(SpellSlot.Summoner1).Name == "summonerhaste")
            {
                Ghost = new Spell.Active(SpellSlot.Summoner1);
            }
            if (p.Spellbook.GetSpell(SpellSlot.Summoner2).Name == "summonerhaste")
            {
                Ghost = new Spell.Active(SpellSlot.Summoner2);
            }

            target = ObjectManager.Player.Position;
            Orbwalker.DisableMovement = true;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Game.OnTick += OnTick;
            if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue)
                Drawing.OnDraw += Drawing_OnDraw;
        }
开发者ID:KoalaHuman,项目名称:EloBuddy-2,代码行数:31,代码来源:AutoWalker.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: SpellManager

 static SpellManager()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1070, SkillShotType.Linear, 250, 2000, 85);
     W = new Spell.Active(SpellSlot.W, 295);
     E = new Spell.Active(SpellSlot.E, 330);
     R = new Spell.Active(SpellSlot.R, 528);
 }
开发者ID:Fulockster,项目名称:EB,代码行数:7,代码来源:SpellManager.cs


示例18: 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


示例19: InitSpells

 public static void InitSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1090, SkillShotType.Linear, 650, 2000, 70);
     W = new Spell.Active(SpellSlot.W, 295);
     E = new Spell.Active(SpellSlot.E, 340);
     R = new Spell.Active(SpellSlot.R, 540);
 }
开发者ID:Enochen,项目名称:AIBot,代码行数:7,代码来源:Amumu.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# Spell.Skillshot类代码示例发布时间:2022-05-24
下一篇:
C# Spell类代码示例发布时间: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