summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-02-16 23:53:43 -0600
committerwushin <pasekei@gmail.com>2015-02-17 00:11:28 -0600
commit1cf8a73eaab31a1a868ea9edf88d256a37d21fc2 (patch)
tree76f741af931fc20dd7d6b25d08c0e256b13d297a
parent528ab2715b568cb940a4e0054066b05edd4fac67 (diff)
downloadevol-tools-1cf8a73eaab31a1a868ea9edf88d256a37d21fc2.tar.gz
evol-tools-1cf8a73eaab31a1a868ea9edf88d256a37d21fc2.tar.bz2
evol-tools-1cf8a73eaab31a1a868ea9edf88d256a37d21fc2.tar.xz
evol-tools-1cf8a73eaab31a1a868ea9edf88d256a37d21fc2.zip
Hercules: tmw convertor: convert weapons
-rw-r--r--hercules/code/server/tmw/itemdb.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py
index 26b4701..eff90cd 100644
--- a/hercules/code/server/tmw/itemdb.py
+++ b/hercules/code/server/tmw/itemdb.py
@@ -69,7 +69,11 @@ def convertItemDb():
writeIntField(w, "WeaponLv", rows[14])
writeIntField(w, "EquipLv", rows[15])
writeIntField(w, "Refine", "false")
- if rows[14] == "2":
+ if rows[13] == "2":
+ writeIntField(w, "View", "1")
+ elif rows[13] == "34":
+ writeIntField(w, "View", "11")
+ elif rows[13] == "32768":
writeIntField(w, "View", "1")
else:
writeIntField(w, "View", rows[0])