diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-01 12:59:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-01 12:59:54 +0300 |
commit | 09e5ed352ea43aea4741daaaa6f5b842dc833626 (patch) | |
tree | 982d718b7bc2d66c9103a5855ea3b9cbc45d505b /hercules/code/server | |
parent | a7e9bb01b752f8dd9c88e5e1162a3513227f3459 (diff) | |
download | evol-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.py | 8 |
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) |