BlzSetItemBooleanField

Parameters
whichItemitem
whichFielditembooleanfield
valueboolean
comment
patch

1.31.0.11889

bug

(tested 2.0.4.23556) Using BlzSetItemBooleanField on one field also sets/clears other boolean fields. It seems that there is a hierarchy. For example BlzSetItemBooleanField(it, ITEM_BF_ACTIVELY_USED, true) will also set ITEM_BF_CAN_BE_DROPPED to true. Only checked 5 of the boolean fields, and it seems the hierarchy is ITEM_BF_ACTIVELY_USED > ITEM_BF_CAN_BE_DROPPED > ITEM_BF_DROPPED_WHEN_CARRIER_DIES > ITEM_BF_PERISHABLE > ITEM_BF_USE_AUTOMATICALLY_WHEN_ACQUIRED

Source
common.j (suggest an edit or discuss on Github)
return type
boolean
Source code
native BlzSetItemBooleanField                      takes item whichItem, itembooleanfield whichField, boolean value returns boolean