本文整理汇总了C#中EvadableModifier类的典型用法代码示例。如果您正苦于以下问题:C# EvadableModifier类的具体用法?C# EvadableModifier怎么用?C# EvadableModifier使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EvadableModifier类属于命名空间,在下文中一共展示了EvadableModifier类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: LifeBreak
public LifeBreak(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
IsDisjointable = false;
BlinkAbilities.AddRange(BlinkAbilityNames);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsPhys);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Add(Lotus);
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.Add(Lotus);
Modifier.AllyCounterAbilities.Add(FortunesEnd);
Modifier.AllyCounterAbilities.Add(Eul);
Modifier.AllyCounterAbilities.Add(Manta);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsPhys);
}
示例2: StormHammer
public StormHammer(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(Manta);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsPhys);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Add(Lotus);
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
stunRadius = Ability.GetRadius() + 100;
}
示例3: Vortex
public Vortex(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
//todo add aghanim
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Eul);
CounterAbilities.Add(Manta);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(VsPhys);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Add(Lotus);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(NetherWard);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
aghanimRadius = Ability.AbilitySpecialData.First(x => x.Name == "radius_scepter").Value + 50;
}
示例4: FlamingLasso
public FlamingLasso(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(Manta);
CounterAbilities.Add(Eul);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invul);
CounterAbilities.Add(SnowBall);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Lotus);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.Add(FalsePromise);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
Modifier.EnemyCounterAbilities.Add(Eul);
Modifier.EnemyCounterAbilities.AddRange(Invul);
}
示例5: Ghostship
public Ghostship(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(Eul);
CounterAbilities.Add(Manta);
CounterAbilities.Add(TricksOfTheTrade);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invul);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
castRange = Ability.GetCastRange();
AdditionalDelay = 3.1f;
additionalAghanimDelay = 1.6f;
}
示例6: BloodRite
public BloodRite(Ability ability)
: base(ability)
{
DisablePathfinder = true;
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(Manta);
CounterAbilities.Add(Eul);
CounterAbilities.Add(TricksOfTheTrade);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.Add(Lotus);
Modifier.AllyCounterAbilities.Add(Eul);
Modifier.AllyCounterAbilities.Add(Manta);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
AdditionalDelay = Ability.AbilitySpecialData.First(x => x.Name == "delay").Value;
}
示例7: UnstableConcoction
public UnstableConcoction(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsPhys);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(Lotus);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsPhys);
IsDisjointable = false;
stunRadius = Ability.AbilitySpecialData.First(x => x.Name == "midair_explosion_radius").Value + 100;
unstableConcoction = AbilityOwner.FindSpell("alchemist_unstable_concoction");
}
示例8: Ravage
public Ravage(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
projectileSpeed = ability.GetProjectileSpeed() + 100;
tavelTime = GetRadius() / projectileSpeed;
width = 350;
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(StrongDefUltimates);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
}
示例9: Snowball
public Snowball(Ability ability)
: base(ability)
{
IsDisjointable = false;
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsPhys);
CounterAbilities.AddRange(Invul);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Add(Lotus);
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
AdditionalDelay = Ability.AbilitySpecialData.First(x => x.Name == "snowball_windup").Value;
}
示例10: Mjollnir
public Mjollnir(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(EnemyTeam, EvadableModifier.GetHeroType.ModifierSource);
Modifier.EnemyCounterAbilities.Add(FortunesEnd);
}
示例11: IcePath
public IcePath(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.Remove("bane_nightmare");
CounterAbilities.Remove("abaddon_aphotic_shield");
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
AdditionalDelay = ability.AbilitySpecialData.First(x => x.Name == "path_delay").Value;
for (var i = 0u; i < duration.Length; i++)
{
duration[i] = ability.AbilitySpecialData.First(x => x.Name == "duration").GetValue(i);
}
talent = AbilityOwner.FindSpell("special_bonus_unique_jakiro");
if (talent != null)
{
bonusDuration = talent.AbilitySpecialData.First(x => x.Name == "value").Value;
}
ObstacleStays = true;
}
示例12: Dismember
public Dismember(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.ModifierSource);
CounterAbilities.Add(Lotus);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Eul);
CounterAbilities.Add(Manta);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(TricksOfTheTrade);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invul);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.AddRange(Invis);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
}
示例13: Torrent
public Torrent(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.Add(Manta);
CounterAbilities.Add(Eul);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
AdditionalDelay = Ability.AbilitySpecialData.First(x => x.Name == "delay").Value;
talent = AbilityOwner.FindSpell("special_bonus_unique_kunkka");
if (talent != null)
{
bonusRadius = talent.AbilitySpecialData.First(x => x.Name == "value").Value;
}
}
示例14: Supernova
public Supernova(Ability ability)
: base(ability)
{
DisablePathfinder = true;
Modifier = new EvadableModifier(HeroTeam, EvadableModifier.GetHeroType.LowestHealth);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Eul);
CounterAbilities.Add(Manta);
CounterAbilities.Add(SleightOfFist);
CounterAbilities.AddRange(VsDisable);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(VsMagic);
CounterAbilities.AddRange(Invis);
CounterAbilities.Add(Armlet);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
AdditionalDelay = Ability.AbilitySpecialData.First(x => x.Name == "tooltip_duration").Value;
radius = Ability.AbilitySpecialData.First(x => x.Name == "aura_radius").Value;
}
示例15: MeatHook
public MeatHook(Ability ability)
: base(ability)
{
Modifier = new EvadableModifier(
HeroTeam,
EvadableModifier.GetHeroType.ModifierSource,
ignoreRemainingTime: true);
CounterAbilities.Add(PhaseShift);
CounterAbilities.Add(BallLightning);
CounterAbilities.Add(Manta);
CounterAbilities.Add(Eul);
CounterAbilities.Add(TricksOfTheTrade);
CounterAbilities.AddRange(VsDamage);
CounterAbilities.AddRange(Invul);
CounterAbilities.Add(SnowBall);
CounterAbilities.Add(Armlet);
CounterAbilities.Add(Bloodstone);
CounterAbilities.AddRange(Invis);
Modifier.AllyCounterAbilities.AddRange(AllyShields);
Modifier.AllyCounterAbilities.AddRange(Invul);
Modifier.AllyCounterAbilities.Add(Lotus);
Modifier.AllyCounterAbilities.AddRange(VsMagic);
}