Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31747
Modified Files:
environment.py
Log Message:
dyetub and potion fix
Index: environment.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/environment.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** environment.py 20 Sep 2004 04:28:23 -0000 1.18
--- environment.py 29 Sep 2004 10:43:12 -0000 1.19
***************
*** 210,214 ****
dyetub = wolfpack.finditem( args[0] )
! if not dyetub or not char.canreach( dyetub, 2 ):
char.message( localemsg( 6 ) )
return
--- 210,214 ----
dyetub = wolfpack.finditem( args[0] )
! if not dyetub or (not char.canreach( dyetub, 2 ) and dyetub.getoutmostchar() != char):
char.message( localemsg( 6 ) )
return
|