IncUnitAbilityLevel

Parameters
whichUnit unit

The unit with the ability.

abilcode integer

The four digit rawcode representation of the ability.

comment

Increases the level of a unit's ability by 1.

Returns the new ability level.

note

IncUnitAbilityLevel can increase an abilities level to maxlevel+1. On maxlevel+1 all ability fields are 0. See http://www.wc3c.net/showthread.php?p=1029039#post1029039 and http://www.hiveworkshop.com/forums/lab-715/silenceex-everything-you-dont-know-about-silence-274351/.

patch

1.17a

Source
common.j
return type
integer
Source code
native          IncUnitAbilityLevel takes unit whichUnit, integer abilcode returns integer