# Maximum Level For Unit Ability

Grammar — Maximum level for ability ability on unit
FlagsNative | Function

Returns the maximum level for the specified ability on the specified unit.

# Arguments

  • unit — Unit
  • string<gamelink::Abil> — Ability

Returns — int

native int UnitAbilityMaxLevel(unit inUnit, string inAbil);

Category: Ability / Basic

# Examples

— None found —