User Tools

Site Tools


modding:function:itmisenhanced

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

modding/function/itmisenhanced.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1