Update of /cvsroot/wpdev/xmlscripts/scripts/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27650/system
Modified Files:
skillgain.py
Log Message:
gain
Index: skillgain.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/skillgain.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** skillgain.py 4 Oct 2004 22:50:42 -0000 1.14
--- skillgain.py 4 Oct 2004 22:52:24 -0000 1.15
***************
*** 18,22 ****
SKILL_INTCHANCE = 7
! GLOBAL_FACTOR = 0.5
#
--- 18,22 ----
SKILL_INTCHANCE = 7
! GLOBAL_FACTOR = 1.0
#
***************
*** 261,264 ****
--- 261,266 ----
# Multiply with another gainfactor
gainchance = gainchance * GLOBAL_FACTOR
+
+ char.log(LOG_TRACE, 'Gainchance for skill %s is %f.\n' % (SKILLNAMES[skill], gainchance))
# Tamed creatures get a * 2 bonus for their gain.
|