Created
June 5, 2015 10:03
-
-
Save DingWeizhe/b0fe46c76c4e81a5ba17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ITEM_DROP = {} | |
require("System\\drop") | |
A = function(id, name, resource, description, slotCount, ClassNum) | |
if not ITEM_DROP[id] then | |
description = {ITEM_DROP[id]} | |
--table.insert(description, ITEM_DROP[id]) | |
end | |
result, msg = AddItem(id, name, resource, name, resource, slotCount, ClassNum) | |
for k, v in pairs(description) do | |
result, msg = AddItemUnidentifiedDesc(id, v) | |
result, msg = AddItemIdentifiedDesc(id, v) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment