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


C# Spell.Skillshot类代码示例

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


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

示例1: InitSpells

 public static void InitSpells()
 {
     Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 1200, 40);
     W = new Spell.Targeted(SpellSlot.W, 5000);
     E = new Spell.Active(SpellSlot.E, 950);
     R = new Spell.Active(SpellSlot.R, 1500);
 }
开发者ID:giaanthunder,项目名称:EloBuddy,代码行数:7,代码来源:Spells.cs

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

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

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

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

示例7: DemSpells

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

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

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

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

示例11: Spells

 static Spells()
 {
     Q = new Spell.Active(SpellSlot.Q);
     W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 1400, 275);
     E = new Spell.Active(SpellSlot.E, 1200);
     R = new Spell.Active(SpellSlot.R, 850);
 }
开发者ID:lolscripts,项目名称:zilean,代码行数:7,代码来源:Spells.cs

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

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

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

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


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