diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-20 00:47:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-20 00:47:39 +0300 |
commit | 8057b15a1e32d160d0f7b639e76312355f606b0f (patch) | |
tree | b67abde810780cae7783f1e21d3832fa75c0960d | |
parent | 74013ae165a5438aaa7983d4dad0e5d9217a1957 (diff) | |
download | evol-tools-8057b15a1e32d160d0f7b639e76312355f606b0f.tar.gz evol-tools-8057b15a1e32d160d0f7b639e76312355f606b0f.tar.bz2 evol-tools-8057b15a1e32d160d0f7b639e76312355f606b0f.tar.xz evol-tools-8057b15a1e32d160d0f7b639e76312355f606b0f.zip |
hercules: replace getclientversion() to ClientVersion.
-rw-r--r-- | hercules/code/server/npcs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py index 0cc618e..e56b3f8 100644 --- a/hercules/code/server/npcs.py +++ b/hercules/code/server/npcs.py @@ -214,6 +214,8 @@ def processStrReplace(tracker): line = line.replace("zeny", "Zeny") line = line.replace("countitem(", "countitemcolor(") line = line.replace("misceffect ", "misceffect2 ") + line = line.replace("getclientversion(\"\")", "ClientVersion") + line = line.replace("getclientversion()", "ClientVersion") idx = line.find("getmapmobs(") if idx >= 0: idx2 = line.find("\"", idx + len("getmapmobs(") + 1) |