summaryrefslogtreecommitdiff
path: root/hercules/code/server
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-01 12:59:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-01 12:59:54 +0300
commit09e5ed352ea43aea4741daaaa6f5b842dc833626 (patch)
tree982d718b7bc2d66c9103a5855ea3b9cbc45d505b /hercules/code/server
parenta7e9bb01b752f8dd9c88e5e1162a3513227f3459 (diff)
downloadevol-tools-09e5ed352ea43aea4741daaaa6f5b842dc833626.tar.gz
evol-tools-09e5ed352ea43aea4741daaaa6f5b842dc833626.tar.bz2
evol-tools-09e5ed352ea43aea4741daaaa6f5b842dc833626.tar.xz
evol-tools-09e5ed352ea43aea4741daaaa6f5b842dc833626.zip
hercules: tmw: fix shops conversion.
Diffstat (limited to 'hercules/code/server')
-rw-r--r--hercules/code/server/tmw/npcs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/hercules/code/server/tmw/npcs.py b/hercules/code/server/tmw/npcs.py
index 69f95c1..675f94f 100644
--- a/hercules/code/server/tmw/npcs.py
+++ b/hercules/code/server/tmw/npcs.py
@@ -122,7 +122,7 @@ def writeScript(w, m):
else:
isFunction = False
except:
- isFunction = True
+ isFunction = False
if isFunction:
w.write("function");
@@ -141,8 +141,8 @@ def writeScript(w, m):
class_ = "32767"
else:
class_ = int(class_)
- if class_ > 125 and class_ <= 400:
- class_ = class_ + 100
+# if class_ > 125 and class_ <= 400:
+# class_ = class_ + 100
w.write("\t{0}\t{1}\t{2}".format(m.group("tag"), m.group("name"), class_));
def processScript(tracker):
@@ -165,7 +165,7 @@ def processScript(tracker):
else:
isFunction = False
except:
- isFunction = True
+ isFunction = False
writeScript(w, m)