Here are the examples of the csharp api class Ability.GetCastRange(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
public static float TravelDistance(this Ability ability)
var data = ability.CommonProperties();
if (data == null)
var distance = ability.GetAbilityData(data.Distance);
return distance > 0 ? distance : ability.GetCastRange();
public static bool CanHit(this Ability ability, Unit target, Vector3 sourcePosition, string abilityN/n ..... /n //View Source file for more details /n }