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 = {}
table.mode = mode
table.item = df.item.find(item)
table.unit = unit
table.unit = df.unit.find(unit)
handler(table)
end
@ -201,7 +201,7 @@ arguments:
\\CONTAMINANT_MATERIAL_INDEX
\\MODE
\\UNIT_ID
\\anything -> anything
\\anything -> \anything
anything -> anything
]])
return