[wpdev-commits] xmlscripts/scripts/system skillgain.py,1.13,1.14
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-04 22:50:54
|
Update of /cvsroot/wpdev/xmlscripts/scripts/system In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27108/system Modified Files: skillgain.py Log Message: lowered gain Index: skillgain.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/skillgain.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** skillgain.py 4 Oct 2004 21:42:17 -0000 1.13 --- skillgain.py 4 Oct 2004 22:50:42 -0000 1.14 *************** *** 18,21 **** --- 18,23 ---- SKILL_INTCHANCE = 7 + GLOBAL_FACTOR = 0.5 + # # Skill data registry *************** *** 255,259 **** # Introduce a new "Gain Factor" # There is also a 1% minimum chance for gain ! gainchance = max(0.01, gainchance * info[SKILL_GAINFACTOR]) # Tamed creatures get a * 2 bonus for their gain. --- 257,264 ---- # Introduce a new "Gain Factor" # There is also a 1% minimum chance for gain ! gainchance = gainchance * info[SKILL_GAINFACTOR]) ! ! # Multiply with another gainfactor ! gainchance = gainchance * GLOBAL_FACTOR # Tamed creatures get a * 2 bonus for their gain. |