[wpdev-commits] xmlscripts/scripts/magic __init__.py,1.10,1.11
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-08-29 13:15:38
|
Update of /cvsroot/wpdev/xmlscripts/scripts/magic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22703/magic Modified Files: __init__.py Log Message: Rassenbücher fixes Index: __init__.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/__init__.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** __init__.py 22 Jul 2004 17:22:06 -0000 1.10 --- __init__.py 29 Aug 2004 13:15:25 -0000 1.11 *************** *** 103,107 **** return ! message = "Casting spell %u (%s) on character %s (0x%x).\n" % (spell.spellid, spell.__class__.__name__, target.char.name, target.char.serial) char.log(LOG_MESSAGE, message) spell.target(char, mode, TARGET_CHAR, target.char, args, item) --- 103,110 ---- return ! if type(self.spellid) == int: ! message = "Casting spell %u (%s) on character %s (0x%x).\n" % (spell.spellid, spell.__class__.__name__, target.char.name, target.char.serial) ! else: ! message = "Casting spell %s on character %s (0x%x).\n" % (spell.__class__.__name__, target.char.name, target.char.serial) char.log(LOG_MESSAGE, message) spell.target(char, mode, TARGET_CHAR, target.char, args, item) |