Discuss this page on this page's Talk Page

itmIsEnhanced

See itmIsEnhanced at Xelerus

Syntax (itmIsEnhanced item) → enhancement
Arguments item: The itemStruct of the item you want to get the enhancement status of.
Returns enhancement: Either the enhancement flag (if it is enhanced) or Nil.
Category enhancement, item
Description Gets the enhancement flag for the item and returns it.

Example

(block (testArm)
 
	(setq testArm (itmCreate 0x4001 1))
 
	(itmSetEnhanced testArm 0x0105)
 
	(itmIsEnhanced testArm)
 
	)

Returns 261.

Return to Functions list