Update of /cvsroot/wpdev/xmlscripts/scripts/magic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29139/magic
Modified Files:
runebook.py
Log Message:
Runebook fixes
Index: runebook.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/runebook.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** runebook.py 21 Oct 2004 17:59:07 -0000 1.14
--- runebook.py 21 Oct 2004 18:01:47 -0000 1.15
***************
*** 347,353 ****
char.say( "Kal Ort Por", 5 )
char.addtimer( 2000, "magic.runebook.recall0", [ item.serial, target ] )
! else:
! # Fall back to the Recall Spell
! char.addtimer( 0, "magic.runebook.recall1", [item.serial, target] )
# Drop Rune
--- 347,354 ----
char.say( "Kal Ort Por", 5 )
char.addtimer( 2000, "magic.runebook.recall0", [ item.serial, target ] )
! elif hasSpell(char, 32):
! char.addtimer( 0, "magic.runebook.recall1", [item.serial, target] ) # Fall back to the Recall Spell
! else:
! char.socket.clilocmessage(502412) # No charges left
# Drop Rune
***************
*** 401,404 ****
--- 402,406 ----
if charges <= 0:
+ char.socket.clilocmessage(502412)
return # No charges left
|