Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv24543
Modified Files:
archery_butte.py moongate.py pickpocket_dip.py
Log Message:
Fix bugs pointed out by Naddel
Index: archery_butte.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/archery_butte.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** archery_butte.py 15 Mar 2003 19:50:35 -0000 1.4
--- archery_butte.py 12 Jan 2004 05:02:59 -0000 1.5
***************
*** 104,108 ****
# If we've already learned all we can > cancel.
! if( char.baseskill[ ARCHERY ] >= 300 ):
char.message( "You can learn much from a dummy but you have already learned it all." )
return 1
--- 104,108 ----
# If we've already learned all we can > cancel.
! if( char.skill[ ARCHERY ] >= 300 ):
char.message( "You can learn much from a dummy but you have already learned it all." )
return 1
***************
*** 127,131 ****
! wolfpack.movingeffect( movingeff, char, item )
--- 127,131 ----
! char.movingeffect( movingeff, item, 1, 1, 1, 0, 1 )
Index: moongate.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/moongate.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** moongate.py 7 Mar 2003 17:41:28 -0000 1.8
--- moongate.py 12 Jan 2004 05:02:59 -0000 1.9
***************
*** 20,24 ****
return 1
! def onCollideItem( char, item ):
# npc would not travel through moongate ;)
if( char.npc ):
--- 20,24 ----
return 1
! def onCollide( char, item ):
# npc would not travel through moongate ;)
if( char.npc ):
Index: pickpocket_dip.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/pickpocket_dip.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pickpocket_dip.py 11 Aug 2002 14:33:55 -0000 1.1
--- pickpocket_dip.py 12 Jan 2004 05:02:59 -0000 1.2
***************
*** 14,18 ****
def onUse( char, item ):
# If we've already learned all we can > cancel.
! if( char.baseskill[ STEALING ] >= 600 ):
char.message( "Go search for real people." )
return 1
--- 14,18 ----
def onUse( char, item ):
# If we've already learned all we can > cancel.
! if( char.skill[ STEALING ] >= 600 ):
char.message( "Go search for real people." )
return 1
|