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


C# SFXChallenger.Wrappers.Spell.SetTargetted方法代码示例

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


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

示例1: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, 600f, DamageType.Magical);
            Q.Range += GameObjects.EnemyHeroes.Select(e => e.BoundingRadius).DefaultIfEmpty(50).Min();
            Q.SetTargetted(0.25f, Q.Instance.SData.MissileSpeed);

            W = new Spell(SpellSlot.W, 175f, DamageType.Magical);

            E = new Spell(SpellSlot.E, 600f, DamageType.Magical) { Delay = 0.25f, Width = 600f };

            R = new Spell(SpellSlot.R, 700f, DamageType.Magical);
            R.SetSkillshot(0.25f, 175f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Ultimate = new UltimateManager
            {
                Combo = true,
                Assisted = true,
                Auto = true,
                Flash = false,
                Required = true,
                Force = true,
                Gapcloser = false,
                GapcloserDelay = false,
                Interrupt = false,
                InterruptDelay = false,
                Spells = Spells,
                DamageCalculation =
                    (hero, resMulti, rangeCheck) =>
                        CalcComboDamage(
                            hero, rangeCheck, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>(),
                            Menu.Item(Menu.Name + ".combo.e").GetValue<bool>(), true)
            };
        }
开发者ID:aikoy,项目名称:LeagueSharp-Dev,代码行数:33,代码来源:Vladimir.cs

示例2: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, 850f, DamageType.Magical);
            Q.SetSkillshot(0.3f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            W = new Spell(SpellSlot.W, 850f, DamageType.Magical);
            W.SetSkillshot(0.5f, 125f, 2500f, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f, DamageType.Magical);
            E.SetTargetted(0.2f, 1700f);
            E.Collision = true;

            R = new Spell(SpellSlot.R, 825f, DamageType.Magical);
            R.SetSkillshot(0.8f, (float) (80 * Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone);

            Ultimate = new UltimateManager
            {
                Combo = true,
                Assisted = true,
                Auto = true,
                Flash = true,
                Required = true,
                Force = true,
                Gapcloser = true,
                GapcloserDelay = false,
                Interrupt = true,
                InterruptDelay = false,
                Spells = Spells,
                DamageCalculation =
                    (hero, resMulti, rangeCheck) =>
                        CalcComboDamage(
                            hero, resMulti, rangeCheck, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>(),
                            Menu.Item(Menu.Name + ".combo.w").GetValue<bool>(),
                            Menu.Item(Menu.Name + ".combo.e").GetValue<bool>(), true)
            };
        }
开发者ID:julianrolandi,项目名称:LeagueSharp-Dev,代码行数:36,代码来源:Cassiopeia.cs

示例3: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, 600f, DamageType.Magical);
            Q.Range += GameObjects.EnemyHeroes.Select(e => e.BoundingRadius).DefaultIfEmpty(50).Average();
            Q.SetTargetted(Q.Instance.SData.CastFrame / 30f, Q.Instance.SData.MissileSpeed);

            W = new Spell(SpellSlot.W, 175f, DamageType.Magical);

            E = new Spell(SpellSlot.E, 600f, DamageType.Magical);
            E.Delay = E.Instance.SData.CastFrame / 30f;
            E.Width = E.Range;

            R = new Spell(SpellSlot.R, 700f, DamageType.Magical);
            R.SetSkillshot(0.25f, 175f, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
开发者ID:k88173,项目名称:LeagueSharp-Dev,代码行数:15,代码来源:Vladimir.cs

示例4: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, Player.BoundingRadius + 600f, DamageType.Magical);
            Q.Range += GameObjects.EnemyHeroes.Select(e => e.BoundingRadius).DefaultIfEmpty(50).Average();
            Q.SetTargetted(0.5f, 1800f);

            W = new Spell(SpellSlot.W, 700f, DamageType.Magical);
            W.SetSkillshot(1.6f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 525f, DamageType.Magical);
            E.SetSkillshot(0f, 90f, 800f, false, SkillshotType.SkillshotLine);

            R = new Spell(SpellSlot.R, 700f, DamageType.Magical);
            R.SetSkillshot(0.2f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
开发者ID:q601333824,项目名称:LeagueSharp-Dev,代码行数:15,代码来源:Viktor.cs

示例5: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, 850f, DamageType.Magical);
            Q.SetSkillshot(0.4f, 60f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            W = new Spell(SpellSlot.W, 850f, DamageType.Magical);
            W.SetSkillshot(0.7f, 125f, 2500f, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f, DamageType.Magical);
            E.SetTargetted(0.2f, 1700f);
            E.Collision = true;

            R = new Spell(SpellSlot.R, 825f, DamageType.Magical);
            R.SetSkillshot(0.8f, (float) (80 * Math.PI / 180), float.MaxValue, false, SkillshotType.SkillshotCone);
        }
开发者ID:47110572,项目名称:LeagueSharp-Dev,代码行数:15,代码来源:Cassiopeia.cs

示例6: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, Player.BoundingRadius + 600f, DamageType.Magical);
            Q.Range += GameObjects.EnemyHeroes.Select(e => e.BoundingRadius).DefaultIfEmpty(25).Min();
            Q.SetTargetted(0.15f, 2050f);

            W = new Spell(SpellSlot.W, 700f, DamageType.Magical);
            W.SetSkillshot(1f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 525f, DamageType.Magical);
            E.SetSkillshot(0f, 90f, 800f, false, SkillshotType.SkillshotLine);

            R = new Spell(SpellSlot.R, 700f, DamageType.Magical);
            R.SetSkillshot(0.2f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            _ultimate = new UltimateManager
            {
                Combo = true,
                Assisted = true,
                Auto = true,
                Flash = false,
                Required = true,
                Force = true,
                Gapcloser = false,
                GapcloserDelay = false,
                Interrupt = true,
                InterruptDelay = true,
                DamageCalculation =
                    (hero, resMulti, rangeCheck) =>
                        CalcComboDamage(
                            hero, resMulti, rangeCheck, Menu.Item(Menu.Name + ".combo.q").GetValue<bool>(),
                            Menu.Item(Menu.Name + ".combo.e").GetValue<bool>(), true)
            };
        }
开发者ID:654955321,项目名称:HY_Recommend,代码行数:34,代码来源:Viktor.cs

示例7: SetupSpells

        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, 650f);
            Q.Range += GameObjects.EnemyHeroes.Select(e => e.BoundingRadius).DefaultIfEmpty(25).Min();
            Q.SetTargetted(0.25f, 1400f);

            Q1 = new Spell(SpellSlot.Q, Q.Range + 450f);

            W = new Spell(SpellSlot.W, Orbwalking.GetRealAutoAttackRange(null) * 1.25f);
            W.Range += GameObjects.EnemyHeroes.Select(e => e.BoundingRadius).DefaultIfEmpty(25).Min();

            E = new Spell(SpellSlot.E, 1000f);
            E.SetSkillshot(0.5f, 175f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            R = new Spell(SpellSlot.R, 1200f);
            R.SetSkillshot(0.25f, 100f, 2000f, false, SkillshotType.SkillshotLine);

            Ultimate = new UltimateManager
            {
                Combo = true,
                Assisted = true,
                Auto = true,
                Flash = false,
                Required = true,
                Force = true,
                Gapcloser = false,
                GapcloserDelay = false,
                Interrupt = false,
                InterruptDelay = false,
                Spells = Spells,
                SingleDamagePercent = 100,
                DamagePercent = 100,
                ComboDamageCheck = true,
                DamageCalculation = (hero, resMulti, rangeCheck) => CalcUltimateDamage(hero, resMulti, rangeCheck)
            };
            /*
            Drawing.OnDraw += delegate
            {
                var minions = MinionManager.GetMinions(
                    Q.Range, MinionTypes.All, MinionTeam.NotAlly, MinionOrderTypes.None);
                foreach (var minion in minions)
                {
                    var coneBuff = new Geometry.Polygon.Sector(
                        minion.Position, Player.Position.Extend(minion.Position, Player.Distance(minion) + Q.Range / 2f),
                        (float) (40 * Math.PI / 180), Q1.Range - Q.Range);
                    var coneNormal = new Geometry.Polygon.Sector(
                        minion.Position, Player.Position.Extend(minion.Position, Player.Distance(minion) + Q.Range / 2f),
                        (float) (60 * Math.PI / 180), Q1.Range - Q.Range);
                    for (var i = 0; i < coneBuff.Points.Count - 1; i++)
                    {
                        var p1 = Drawing.WorldToScreen(coneBuff.Points[i].To3D());
                        var p2 = Drawing.WorldToScreen(coneBuff.Points[i + 1].To3D());
                        Drawing.DrawLine(p1, p2, 3, Color.Red);
                    }
                    Drawing.DrawLine(
                        Drawing.WorldToScreen(coneBuff.Points.First().To3D()),
                        Drawing.WorldToScreen(coneBuff.Points.Last().To3D()), 3, Color.Red);
                    for (var i = 0; i < coneNormal.Points.Count - 1; i++)
                    {
                        var p1 = Drawing.WorldToScreen(coneNormal.Points[i].To3D());
                        var p2 = Drawing.WorldToScreen(coneNormal.Points[i + 1].To3D());
                        Drawing.DrawLine(p1, p2, 3, Color.White);
                    }
                    Drawing.DrawLine(
                        Drawing.WorldToScreen(coneNormal.Points.First().To3D()),
                        Drawing.WorldToScreen(coneNormal.Points.Last().To3D()), 3, Color.White);
                }
            };
             */
        }
开发者ID:aikoy,项目名称:LeagueSharp-Dev,代码行数:70,代码来源:MissFortune.cs

示例8: SetupSpells

        /// <summary>
        /// Setups the spells.
        /// </summary>
        protected override void SetupSpells()
        {
            Q = new Spell(SpellSlot.Q, 590f);
            Q.SetTargetted(0.25f, 2200f);

            W = new Spell(SpellSlot.W);

            E = new Spell(SpellSlot.E, 950f);
            E.SetSkillshot(0.15f, 40, float.MaxValue, false, SkillshotType.SkillshotCircle);

            R = new Spell(SpellSlot.R);
            R.SetSkillshot(1f, 100, float.MaxValue, false, SkillshotType.SkillshotCircle);
        }
开发者ID:JelloBeans,项目名称:LeagueSharp-Dev,代码行数:16,代码来源:Gangplank.cs


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