diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-02 15:19:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-02 15:19:50 +0300 |
commit | a6b6a2e85f9f8aa7ddade816d0f328c3b2ce0a8b (patch) | |
tree | b4c178cc1efb610458ae45b5f4c887bd6e5cc645 /hercules/code/server/tmw/main.py | |
parent | 12a366099b803264ccb2066d056ac17bd52d55d6 (diff) | |
download | tools-a6b6a2e85f9f8aa7ddade816d0f328c3b2ce0a8b.tar.gz tools-a6b6a2e85f9f8aa7ddade816d0f328c3b2ce0a8b.tar.bz2 tools-a6b6a2e85f9f8aa7ddade816d0f328c3b2ce0a8b.tar.xz tools-a6b6a2e85f9f8aa7ddade816d0f328c3b2ce0a8b.zip |
hercules: convert npc id to constants.
Diffstat (limited to 'hercules/code/server/tmw/main.py')
-rw-r--r-- | hercules/code/server/tmw/main.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hercules/code/server/tmw/main.py b/hercules/code/server/tmw/main.py index 221cfd2..7a872b4 100644 --- a/hercules/code/server/tmw/main.py +++ b/hercules/code/server/tmw/main.py @@ -29,10 +29,11 @@ def serverTmwMain(): print "Updating server" createMainScript() items = convertItemDb() - convertNpcs(items) + npcIds = Set() + convertNpcs(items, npcIds) convertMobDb() quests = dict() - convertConsts(quests) + convertConsts(quests, npcIds) convertMobSkillDb() def dbTmwMain(): |