Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack/commands
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30820/scripts/wolfpack/commands
Modified Files:
info.py
Log Message:
added rank checking
Index: info.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/commands/info.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** info.py 14 Jan 2004 04:11:37 -0000 1.16
--- info.py 22 Jan 2004 20:42:54 -0000 1.17
***************
*** 391,394 ****
--- 391,399 ----
return 1
+ # check for rank
+ if char.rank >= player.rank and not player == char:
+ socket.sysmessage( "You've burnt your fingers!" )
+ return 1
+
textentries = choice.text
keys = textentries.keys()
|