Discuss this page on this pages TalkPage

itmIsDamaged

See itmIsDamaged at Xelerus

Syntax (itmIsDamaged item) → True/Nil
Arguments item: The itemStruct of the item you want to check for damage.
Returns boolean: True if the item is damaged, Nil otherwise.
Category condition query, item, damage
Description Returns whether the item is damaged or not.

Example

(itmIsDamaged (itmCreate 0x4001 3))

Returns Nil. (well of course new items will not be damaged) Return to Functions list