BlzGetItemAbilityByIndex

Parameters
whichItemitem
indexinteger
comment
note

There are cases when an item has two active abilities attached and which ability is considered the "default" one for casting is unspecified. For example, there's a report where a unit who dies and respawns has the item's ability order changed. This order can be shuffled (or reset?) by dropping and picking up the item.

note

See: BlzGetItemAbility

patch

1.31.0.11889

Source
common.j (suggest an edit or discuss on Github)
return type
ability
Source code
native BlzGetItemAbilityByIndex                    takes item whichItem, integer index returns ability