summaryrefslogtreecommitdiff
path: root/hercules/code/server/tmw/itemdb.py
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-02-15 13:07:21 -0600
committerAndrei Karas <akaras@inbox.ru>2015-02-15 22:09:08 +0300
commit3d47789c6a19655b0d46ab260f51d6d6c69d1bf2 (patch)
treec8e9d6042af1bb144a14fd00bb3aa0819f76283f /hercules/code/server/tmw/itemdb.py
parent42bfac84a2518b027fd771d02e012a5d979a962f (diff)
downloadtools-3d47789c6a19655b0d46ab260f51d6d6c69d1bf2.tar.gz
tools-3d47789c6a19655b0d46ab260f51d6d6c69d1bf2.tar.bz2
tools-3d47789c6a19655b0d46ab260f51d6d6c69d1bf2.tar.xz
tools-3d47789c6a19655b0d46ab260f51d6d6c69d1bf2.zip
Hercules: tmw convertor: Fix Shop Prices
Diffstat (limited to 'hercules/code/server/tmw/itemdb.py')
-rw-r--r--hercules/code/server/tmw/itemdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py
index 52a0a27..96f5cd0 100644
--- a/hercules/code/server/tmw/itemdb.py
+++ b/hercules/code/server/tmw/itemdb.py
@@ -43,7 +43,7 @@ def convertItemDb():
for f in xrange(0, sz):
rows[f] = rows[f].strip()
- items[rows[1]] = rows[0]
+ items[rows[1]] = {'id':rows[0],'buy':rows[4]}
w.write("{\n")
c.write("{0}\t{1}\n".format(rows[1], rows[0]))
writeIntField(w, "Id", rows[0])