diff options
author | jak1 <jak1@themanaworld.org> | 2022-06-19 09:34:16 +0200 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-06-19 09:34:16 +0200 |
commit | 38fcd221d8fe03208abdafe0f01a6e54a601b71a (patch) | |
tree | 6a1ba5a5943b9dc0617e0046b39b82ba2284d53e /client/weapons.py | |
parent | 9a351fb1abd5694bbbb7e38fcb64bb30b3fa74bb (diff) | |
download | messworld-tools-38fcd221d8fe03208abdafe0f01a6e54a601b71a.tar.gz messworld-tools-38fcd221d8fe03208abdafe0f01a6e54a601b71a.tar.bz2 messworld-tools-38fcd221d8fe03208abdafe0f01a6e54a601b71a.tar.xz messworld-tools-38fcd221d8fe03208abdafe0f01a6e54a601b71a.zip |
Diffstat (limited to 'client/weapons.py')
-rwxr-xr-x | client/weapons.py | 14 |
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) |