Update of /cvsroot/wpdev/xmlscripts/scripts/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27803/system
Modified Files:
debugging.py skillgain.py
Log Message:
Skillgain and Who fixes
Index: debugging.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/debugging.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** debugging.py 12 Jul 2004 21:06:30 -0000 1.2
--- debugging.py 4 Oct 2004 18:24:32 -0000 1.3
***************
*** 6,10 ****
DEBUG_COMBAT_INFO = False
DEBUG_SPAWNS = False
! DEBUG_STATS = False
! DEBUG_SKILLS = False
--- 6,11 ----
DEBUG_COMBAT_INFO = False
DEBUG_SPAWNS = False
! DEBUG_STATS = True
! DEBUG_SKILLS = True
!
Index: skillgain.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/skillgain.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** skillgain.py 1 Oct 2004 10:32:53 -0000 1.11
--- skillgain.py 4 Oct 2004 18:24:32 -0000 1.12
***************
*** 136,140 ****
if DEBUG_SKILLS == 1:
! char.log(LOG_TRACE, 'Character [%x] lost %0.01f%% of %s [%02.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%% of %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 %0.01f%% of %s [%02.01f%%].\n' % (char.serial, points, info[SKILL_NAME], char.skill[skill] / 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:
|