In valve' Wiki( description of getiteminslot and ability one ) I found this:
for some hero like IO, we will have 10 ability( consider with canceling Nether and Spirit in/out ) and 8 talents. so 18 abilites available here. but it seems 6 abilites more, ( at least it may be empty for IO ).
hAbility GetAbilityInSlot( nAbilitySlot )
Gets a handle to ability in the specified slot. Slots range from 0 to 23.
hItem GetItemInSlot( nIventorySlot )
Gets a handle to item in the specified inventory slot. Slots range from 0 to 16.
for items slots, we have 6 hero slots, 3 backpacks and 6 slots in base. so it should be 0 up to 14 not 16
Did I miss something here? i cant understand why 23 and 16 are max size of abilites and item slots?