Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26709
Modified Files:
potions.py
Log Message:
nightsight changes
Index: potions.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/potions.py,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** potions.py 30 Sep 2004 15:57:31 -0000 1.56
--- potions.py 30 Sep 2004 16:01:14 -0000 1.57
***************
*** 369,373 ****
# With 100% magery you gain a 18 light level bonus (min. 5)
! bonus = max(6, min(18, math.floor(18 * (char.skill[MAGERY] / 1000.0))))
char.addscript('magic.nightsight')
--- 369,373 ----
# With 100% magery you gain a 18 light level bonus (min. 5)
! bonus = max(8, min(18, math.floor(18 * (char.skill[MAGERY] / 1000.0))))
char.addscript('magic.nightsight')
|