summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-20 00:47:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-20 00:47:39 +0300
commit8057b15a1e32d160d0f7b639e76312355f606b0f (patch)
treeb67abde810780cae7783f1e21d3832fa75c0960d
parent74013ae165a5438aaa7983d4dad0e5d9217a1957 (diff)
downloadevol-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.py2
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)