Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29037
Modified Files:
bandages.py
Log Message:
Fixed a bandage and potion bug.
Index: bandages.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/bandages.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** bandages.py 8 Oct 2004 19:59:29 -0000 1.17
--- bandages.py 10 Oct 2004 19:23:22 -0000 1.18
***************
*** 125,129 ****
return
! slipped = int(socket.gettag('bandage_slipped')) # How many times the fingers slipped
socket.deltag('bandage_slipped')
--- 125,132 ----
return
! if socket.hastag('bandage_slipped'):
! slipped = int(socket.gettag('bandage_slipped')) # How many times the fingers slipped
! else:
! slipped = 0
socket.deltag('bandage_slipped')
|