[wpdev-commits] xmlscripts/scripts/system skillgain.py,1.12,1.13
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-04 21:42:30
|
Update of /cvsroot/wpdev/xmlscripts/scripts/system In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10634 Modified Files: skillgain.py Log Message: Fix Index: skillgain.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/skillgain.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** skillgain.py 4 Oct 2004 18:24:32 -0000 1.12 --- skillgain.py 4 Oct 2004 21:42:17 -0000 1.13 *************** *** 136,140 **** if DEBUG_SKILLS == 1: ! char.log(LOG_TRACE, 'Character [%x] lost %.01f%% of %s [%.01f%%].\n' % (char.serial, points, SKILLS[i][SKILL_NAME], char.skill[i] / 10.0)) if char.socket: --- 136,140 ---- if DEBUG_SKILLS == 1: ! char.log(LOG_TRACE, 'Character [%x] lost %.01f%% %s [%.01f%%].\n' % (char.serial, points, SKILLS[i][SKILL_NAME], char.skill[i] / 10.0)) if char.socket: *************** *** 149,153 **** totalskill += points if DEBUG_SKILLS == 1: ! char.log(LOG_TRACE, 'Character [%x] gained %.01f%% of %s [%.01f%%].\n' % (char.serial, points, info[SKILL_NAME], char.skill[skill] / 10.0)) if char.socket: --- 149,158 ---- totalskill += points if DEBUG_SKILLS == 1: ! char.log(LOG_TRACE, u'Character [%(serial)x] gained %(points).01f%% %(name)s [%(value).01f%%].\n' % { \ ! 'serial': char.serial, ! 'points': points, ! 'name': info[SKILL_NAME], ! 'value': (char.skill[skill] / 10.0) ! }) if char.socket: |