[wpdev-commits] xmlscripts/scripts/npc healer.py,1.4,1.5
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-07-02 13:40:54
|
Update of /cvsroot/wpdev/xmlscripts/scripts/npc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31477/npc Modified Files: healer.py Log Message: New documentation and a long overdue wolfpack.consts cleanup Index: healer.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/npc/healer.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** healer.py 26 May 2004 13:07:24 -0000 1.4 --- healer.py 2 Jul 2004 13:40:46 -0000 1.5 *************** *** 12,20 **** if( tag == 1 ): if not char or not healer: ! return OOPS if healer.dead: char.socket.clilocmessage( 501040, "", YELLOW, NORMAL ) # The resurrecter must be alive ! return OOPS if char.dead: --- 12,20 ---- if( tag == 1 ): if not char or not healer: ! return False if healer.dead: char.socket.clilocmessage( 501040, "", YELLOW, NORMAL ) # The resurrecter must be alive ! return False if char.dead: *************** *** 22,29 **** char.soundeffect( 0x215 ) char.resurrect() ! return OK else: char.socket.clilocmessage( 1060197, "", YELLOW, NORMAL ) # You are not dead, and thus cannot be resurrected! ! return OOPS ! return OK --- 22,29 ---- char.soundeffect( 0x215 ) char.resurrect() ! return True else: char.socket.clilocmessage( 1060197, "", YELLOW, NORMAL ) # You are not dead, and thus cannot be resurrected! ! return False ! return True |