本文整理汇总了C#中AIHeroClient.IsChannelingImportantSpell方法的典型用法代码示例。如果您正苦于以下问题:C# AIHeroClient.IsChannelingImportantSpell方法的具体用法?C# AIHeroClient.IsChannelingImportantSpell怎么用?C# AIHeroClient.IsChannelingImportantSpell使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AIHeroClient
的用法示例。
在下文中一共展示了AIHeroClient.IsChannelingImportantSpell方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: IsEnemyImmobile
/// <summary>
/// Enemy Immobile
/// </summary>
/// <param name="target"></param>
/// <returns></returns>
public static bool IsEnemyImmobile(AIHeroClient target)
{
if (target.HasBuffOfType(BuffType.Stun) || target.HasBuffOfType(BuffType.Snare) ||
target.HasBuffOfType(BuffType.Knockup) ||
target.HasBuffOfType(BuffType.Charm) || target.HasBuffOfType(BuffType.Fear) ||
target.HasBuffOfType(BuffType.Knockback) ||
target.HasBuffOfType(BuffType.Taunt) || target.HasBuffOfType(BuffType.Suppression) ||
target.IsStunned || target.IsChannelingImportantSpell())
{
return true;
}
return false;
}
示例2: IsImmobile
/// <summary>
/// Gets a value indicating whether a determined champion can move or not.
/// </summary>
public static bool IsImmobile(AIHeroClient target)
{
return
target.HasBuff("zhonyasringshield") ||
target.IsChannelingImportantSpell() ||
target.HasBuffOfType(BuffType.Stun) ||
target.HasBuffOfType(BuffType.Flee) ||
target.HasBuffOfType(BuffType.Snare) ||
target.HasBuffOfType(BuffType.Taunt) ||
target.HasBuffOfType(BuffType.Charm) ||
target.HasBuffOfType(BuffType.Knockup) ||
target.HasBuffOfType(BuffType.Suppression);
}
示例3: CanMove
private static bool CanMove(AIHeroClient target)
{
if (target.HasBuffOfType(BuffType.Stun) || target.HasBuffOfType(BuffType.Snare) || target.HasBuffOfType(BuffType.Knockup) ||
target.HasBuffOfType(BuffType.Charm) || target.HasBuffOfType(BuffType.Fear) || target.HasBuffOfType(BuffType.Knockback) ||
target.HasBuffOfType(BuffType.Taunt) || target.HasBuffOfType(BuffType.Suppression) ||
target.IsStunned || target.IsChannelingImportantSpell() || target.MoveSpeed < 50f)
{
return false;
}
else
return true;
}
示例4: IsImmobileTarget
public static bool IsImmobileTarget(AIHeroClient target)
{
return target.Buffs.Count(p => IsImmobilizeBuff(p.Type)) > 0 || target.IsChannelingImportantSpell();
}
示例5: CanMove
public static bool CanMove(AIHeroClient target)
{
if (target.MoveSpeed < 50 || target.IsStunned || target.HasBuffOfType(BuffType.Stun) ||
target.HasBuffOfType(BuffType.Fear) || target.HasBuffOfType(BuffType.Snare) ||
target.HasBuffOfType(BuffType.Knockup) || target.HasBuff("Recall") ||
target.HasBuffOfType(BuffType.Knockback) || target.HasBuffOfType(BuffType.Charm) || target.HasBuffOfType(BuffType.Taunt) || target.HasBuffOfType(BuffType.Suppression) || (target.IsChannelingImportantSpell() && !target.IsMoving))
{
return false;
}
return true;
}