DecUnitAbilityLevel

Parameters
whichUnit unit

The unit with the ability.

abilcode integer

The four digit rawcode representation of the ability.

comment

Decreases the level of a unit's ability by 1. The level will not go below 1. Returns the new ability level.

patch

1.17a

return type
integer
Source code
native          DecUnitAbilityLevel takes unit whichUnit, integer abilcode returns integer
Source
common.j
wc3modding.com
DecUnitAbilityLevel