4,951
edits
Falterfire (talk | contribs) (getCreationTable now uses the Icons.SkillReq function) |
Falterfire (talk | contribs) (Added 'No Description' as a result if an item does not have a description) |
||
Line 93: | Line 93: | ||
elseif StatName == 'attackType' then | elseif StatName == 'attackType' then | ||
result = p._getWeaponAttackType(item) | result = p._getWeaponAttackType(item) | ||
elseif StatName == 'description' then | |||
result = item.description | |||
if result == nil or result == '' then result = 'No Description' end | |||
end | end | ||
if result == nil and ZeroIfNil then result = 0 end | if result == nil and ZeroIfNil then result = 0 end |