diff options
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) |