BlzGetUnitWeaponBooleanField

Parameters
whichUnitunit
whichFieldunitweaponbooleanfield
indexinteger
comment
bug

Might crash the game when called on a unit with no attack.

patch

1.31.0.11889

Source
common.j (suggest an edit or discuss on Github)
return type
boolean
Source code
native BlzGetUnitWeaponBooleanField                takes unit whichUnit, unitweaponbooleanfield whichField, integer index returns boolean