[wpdev-commits] xmlscripts/scripts/npc healer.py,1.5,1.6
Brought to you by:
rip,
thiagocorrea
From: Richard M. <dr...@us...> - 2004-07-09 10:07:12
|
Update of /cvsroot/wpdev/xmlscripts/scripts/npc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28798/npc Modified Files: healer.py Log Message: commands.fix Added a new utility function Index: healer.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/npc/healer.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** healer.py 2 Jul 2004 13:40:46 -0000 1.5 --- healer.py 9 Jul 2004 10:06:54 -0000 1.6 *************** *** 6,14 **** ################################################################# - from wolfpack.consts import * import wolfpack ! def onContextEntry( char, healer, tag ): ! if( tag == 1 ): if not char or not healer: return False --- 6,15 ---- ################################################################# import wolfpack + from wolfpack.consts import * ! def onContextEntry( char, healer, tag ): ! if( int( tag ) == 1 ): ! healer.say("Hold still!") if not char or not healer: return False *************** *** 28,29 **** --- 29,33 ---- return True + else: + char.say("A HEALER! RESURRECT ME!") + return True |