diff options
-rw-r--r-- | hercules/code/server/npcs.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py index 52843cd..ba3a73d 100644 --- a/hercules/code/server/npcs.py +++ b/hercules/code/server/npcs.py @@ -78,11 +78,8 @@ def convertTextLine(tracker): if idx >= 0: processMapFlag(tracker) return False - idx = line.find("setskill ") - if idx >= 0: - processStrReplace(tracker) - return False - return True + processStrReplace(tracker) + return False def processScriptMapLine(line): global mapsIndex @@ -178,4 +175,5 @@ def processStrReplace(tracker): line = tracker.line w = tracker.w line = line.replace("setskill ", "addtoskill ") + line = line.replace("zeny", "Zeny") w.write(line) |