Update of /cvsroot/wpdev/xmlscripts/scripts/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8302/system
Modified Files:
skillgain.py
Log Message:
removed bloody bandage junk
Index: skillgain.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/skillgain.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** skillgain.py 6 Oct 2004 20:51:09 -0000 1.17
--- skillgain.py 6 Oct 2004 20:56:23 -0000 1.18
***************
*** 253,257 ****
realint = char.intelligence - char.intelligence2
! if (char.npc or char.strengthlock != 0) or realstr >= char.strengthcap:
strchance = 0.0
else:
--- 253,257 ----
realint = char.intelligence - char.intelligence2
! if (char.npc or char.strengthlock != 0 or realstr >= char.strengthcap:
strchance = 0.0
else:
***************
*** 268,271 ****
--- 268,272 ----
intchance /= 33.3
+ # Roll three times
if strchance > random():
gainstat(char, 0)
|