modding:function:itmgetdamagetype
Discuss this page on this pages TalkPage
itmGetDamageType
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 http://wiki.neurohack.com/transcendence/wiki/functionlegend#damage_types |
Example
(itmGetDamageType (itmCreate 0x400f 3))
Returns the number 2. Return to Functions list
modding/function/itmgetdamagetype.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1