summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rwxr-xr-xclient/minimap-dyecmd.py2
-rwxr-xr-xclient/weapons.py14
2 files changed, 12 insertions, 4 deletions
diff --git a/client/minimap-dyecmd.py b/client/minimap-dyecmd.py
index 28c35ee..8594dbd 100755
--- a/client/minimap-dyecmd.py
+++ b/client/minimap-dyecmd.py
@@ -2,7 +2,7 @@
#-*- coding:utf-8 -*-
import os
-f=open("minimap-dyecmd.sh", "w");
+f=open("minimap-dyecmd.sh", "w")
CLIENT_DATA_ROOT="../../client-data"
map_names = sorted([os.path.splitext(p)[0] for p in os.listdir(os.path.join(CLIENT_DATA_ROOT, u'graphics', u'minimaps'))])
diff --git a/client/weapons.py b/client/weapons.py
index 2f689a6..65d6c2d 100755
--- a/client/weapons.py
+++ b/client/weapons.py
@@ -64,9 +64,17 @@ shields=[]
mem=[]
-f1=open("../../client-data/items/equip-1hand.xml", "r"); main(f1); f1.close()
-f2=open("../../client-data/items/equip-2hand.xml", "r"); main(f2); f2.close()
-f3=open("../../client-data/items/equip-shield.xml", "r"); main(f3, TYPE_SHD); f3.close()
+f1=open("../../client-data/items/equip-1hand.xml", "r")
+main(f1)
+f1.close()
+
+f2=open("../../client-data/items/equip-2hand.xml", "r")
+main(f2)
+f2.close()
+
+f3=open("../../client-data/items/equip-shield.xml", "r")
+main(f3, TYPE_SHD)
+f3.close()
mem=sorted(mem, key=lambda xcv: xcv.lvl, reverse=True)