Functions Documentation |
|
Name |
itmGetDamageType |
Syntax |
(itmGetDamageType item) -> damage type |
Argument List |
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 |
repair/damage, item
|
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. |
Comment |
Basic get function for items. |