Update of /cvsroot/wpdev/xmlscripts/scripts/skills
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19279/scripts/skills
Modified Files:
mining.py
Log Message:
Fixed a small error in the respawn
Index: mining.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/mining.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** mining.py 26 Jan 2004 03:23:40 -0000 1.9
--- mining.py 26 Jan 2004 06:02:24 -0000 1.10
***************
*** 254,258 ****
def respawnvein( time, args ):
vein = args[0]
! if vein.hastag ('resource_empty') and int( gem.gettag( 'resourcecount' ) ) == 0:
vein.settag( 'resourcecount', str( randrange( 10, 34 ) ) )
vein.deltag('resource_empty')
--- 254,258 ----
def respawnvein( time, args ):
vein = args[0]
! if vein.hastag ('resource_empty') and int( vein.gettag( 'resourcecount' ) ) == 0:
vein.settag( 'resourcecount', str( randrange( 10, 34 ) ) )
vein.deltag('resource_empty')
|