[wpdev-commits] xmlscripts/scripts/contextmenus healermenu.py,NONE,1.1
Brought to you by:
rip,
thiagocorrea
From: Richard M. <dr...@us...> - 2004-08-12 00:56:12
|
Update of /cvsroot/wpdev/xmlscripts/scripts/contextmenus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27222/contextmenus Added Files: healermenu.py Log Message: Useful fix by Incanus, healers should work now. --- NEW FILE: healermenu.py --- ################################################################# # ) (\_ # WOLFPACK 13.0.0 Scripts # # (( _/{ "-; # Created by: codex # # )).-' {{ ;'` # Revised by: Incanus # # ( ( ;._ \\ ctr # Last Modification: # ################################################################# def onContextCheckVisible(char, target, tag): if( int( tag ) == 1 ): return char.dead return True def onContextEntry( char, healer, tag ): if( int( tag ) == 1 ): if not char or not healer: return False if healer.dead: char.socket.clilocmessage( 501040 ) # The resurrecter must be alive return False char.socket.clilocmessage( 3002069 ) # Resurrection char.soundeffect( 0x215 ) char.resurrect() return True |