modtools/item-trigger: fix equip/unequip bug and correct minor documentation error

develop
expwnent 2014-11-06 23:46:10 -05:00
parent dcdb6aae1b
commit e4d4f7230b
1 changed files with 2 additions and 2 deletions

@ -98,7 +98,7 @@ function equipHandler(unit, item, isEquip)
local table = {} local table = {}
table.mode = mode table.mode = mode
table.item = df.item.find(item) table.item = df.item.find(item)
table.unit = unit table.unit = df.unit.find(unit)
handler(table) handler(table)
end end
@ -201,7 +201,7 @@ arguments:
\\CONTAMINANT_MATERIAL_INDEX \\CONTAMINANT_MATERIAL_INDEX
\\MODE \\MODE
\\UNIT_ID \\UNIT_ID
\\anything -> anything \\anything -> \anything
anything -> anything anything -> anything
]]) ]])
return return