Ability.GetRadius(string)

Here are the examples of the csharp api class Ability.GetRadius(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

6 Examples 7

1. Example

Project: Ensage.Common
Source File: AbilityExtensions.cs
View license
public static float EndRadius(this Ability ability)
        {
            var data = ability.CommonProperties();
            if (data == null)
            {
                return ability.GetRadius();
            }

            var radius = ability.GetAbilityData(data.EndWidth);
            return radius > 0 ? radius : ability.GetRadius();
        }

2. Example

Project: Ensage.Common
Source File: AbilityExtensions.cs
View license
public static Vector3 GetPrediction(
            this Ability ability,
            Unit target,
    /n ..... /n //View Source file for more details /n }

3. Example

Project: Ensage.Common
Source File: AbilityExtensions.cs
View license
public static bool CanHit(this Ability ability, Unit target, Vector3 sourcePosition, string abilityN/n ..... /n //View Source file for more details /n }

4. Example

Project: Ensage.Common
Source File: AbilityExtensions.cs
View license
public static float GetCastRange(this Ability ability, string abilityName = null)
        {
        /n ..... /n //View Source file for more details /n }

5. Example

Project: Ensage.Common
Source File: AbilityExtensions.cs
View license
public static double GetHitDelay(this Ability ability, Unit target, string abilityName = null)
     /n ..... /n //View Source file for more details /n }

6. Example

Project: Ensage.Common
Source File: AbilityExtensions.cs
View license
public static bool CastSkillShot(
            this Ability ability,
            Unit target,
       /n ..... /n //View Source file for more details /n }