本文整理匯總了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;
}