diff options
Diffstat (limited to 'hercules')
-rw-r--r-- | hercules/code/server/npcs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py index e56b3f8..43254d2 100644 --- a/hercules/code/server/npcs.py +++ b/hercules/code/server/npcs.py @@ -112,6 +112,10 @@ def writeScript(w, m): class_ = m.group("class") if class_ == "0": # hidden npc class_ = "32767" + else: + class_ = int(class_) + 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): |