summaryrefslogtreecommitdiff
path: root/client/weapons.py
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2022-06-19 09:34:16 +0200
committerjak1 <jak1@themanaworld.org>2022-06-19 09:34:16 +0200
commit38fcd221d8fe03208abdafe0f01a6e54a601b71a (patch)
tree6a1ba5a5943b9dc0617e0046b39b82ba2284d53e /client/weapons.py
parent9a351fb1abd5694bbbb7e38fcb64bb30b3fa74bb (diff)
downloadmessworld-tools-master.tar.gz
messworld-tools-master.tar.bz2
messworld-tools-master.tar.xz
messworld-tools-master.zip
updated all leftover scripts to py3HEADmaster
Diffstat (limited to 'client/weapons.py')
-rwxr-xr-xclient/weapons.py14
1 files changed, 11 insertions, 3 deletions
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)