User Tools

Site Tools


Discuss this page on this pages TalkPage


See 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, damage
Description Returns the items damage type as a number. See here for a list of damage types


(itmGetDamageType (itmCreate 0x400f 3))

Returns the number 2. Return to Functions list

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