Discuss this page on this pages [[itmGetDamageType Talk Page|TalkPage]] === itmGetDamageType === See [[http://xelerus.de/index.php?s=functions&function=43|itmGetDamageType at Xelerus]] ^ Syntax | (itmGetDamageType item) -> damage type | ^ Arguments | item: The itemStruct of the item you want to get the damage type of. | ^ Returns | The number of the items damage type if it is a weapon. Nil otherwise. | ^ Category | [[item]], [[repair/damage]] | ^ Description | Returns the items damage type as a number. See here for a list of damage types http://wiki.neurohack.com/transcendence/wiki/functionlegend#damage_types | === Example === (itmGetDamageType (itmCreate 0x400f 3)) Returns the number 2. Return to [[:Functions]] list