Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack/commands
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16936/wolfpack/commands
Modified Files:
skill.py
Log Message:
rank check for the 'skill command
Index: skill.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/commands/skill.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** skill.py 29 Sep 2003 13:27:16 -0000 1.1
--- skill.py 25 Jan 2004 03:47:59 -0000 1.2
***************
*** 59,62 ****
--- 59,67 ----
return OK
+ # check for rank
+ if target.char.rank >= char.rank and not char == target.char:
+ socket.sysmessage( "You are not very skilled, are you?" )
+ return OK
+
( skill, value ) = args
|