UnitHasItemOfTypeBJ
- Parameters
whichUnit unit
itemId integer
- comment
- patch
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
boolean
- Source code
function UnitHasItemOfTypeBJ takes unit whichUnit, integer itemId returns boolean return GetInventoryIndexOfItemTypeBJ(whichUnit, itemId) > 0 endfunction