summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-01 18:29:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-01 18:29:30 +0300
commit1ceca3aa1cb108413c24121a6eb82809a0ac81a4 (patch)
tree283aac0bda06921e43a37b12efda55011ebfa4cf
parent4edd7afd908c34908ddade40db4c240f1828e1b6 (diff)
downloadevol-tools-1ceca3aa1cb108413c24121a6eb82809a0ac81a4.tar.gz
evol-tools-1ceca3aa1cb108413c24121a6eb82809a0ac81a4.tar.bz2
evol-tools-1ceca3aa1cb108413c24121a6eb82809a0ac81a4.tar.xz
evol-tools-1ceca3aa1cb108413c24121a6eb82809a0ac81a4.zip
hercules: add parsing command misceffect.
-rw-r--r--hercules/code/server/npcs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py
index b2cac36..e86cf70 100644
--- a/hercules/code/server/npcs.py
+++ b/hercules/code/server/npcs.py
@@ -177,6 +177,7 @@ def processStrReplace(tracker):
line = line.replace("setskill ", "addtoskill ")
line = line.replace("zeny", "Zeny")
line = line.replace("countitem(", "countitemcolor(")
+ line = line.replace("misceffect ", "misceffect2 ")
idx = line.find("getmapmobs(")
if idx >= 0:
idx2 = line.find("\"", idx + len("getmapmobs(") + 1)