本文整理汇总了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)
};
}
示例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)
};
}
示例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);
}
示例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);
}
示例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);
}
示例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)
};
}
示例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);
}
};
*/
}
示例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);
}