Update of /cvsroot/wpdev/xmlscripts/scripts/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32644/system
Modified Files:
macro_opendoor.py skillgain.py
Log Message:
typos
Index: skillgain.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/skillgain.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** skillgain.py 16 Jun 2004 20:18:43 -0000 1.6
--- skillgain.py 7 Jul 2004 03:14:32 -0000 1.7
***************
*** 216,220 ****
# Calculate the GainChance
# (RunUO has a nice approach. Doing it similar)
! totalcap = settings.getNumber("General", "SkillCap", 700)
gainchance = (totalcap - totalskills) / totalcap # How near are we to our global skill cap
gainchance += (cap - value) / cap # How near are we to our skill cap
--- 216,220 ----
# Calculate the GainChance
# (RunUO has a nice approach. Doing it similar)
! totalcap = settings.getnumber("General", "SkillCap", 700)
gainchance = (totalcap - totalskills) / totalcap # How near are we to our global skill cap
gainchance += (cap - value) / cap # How near are we to our skill cap
Index: macro_opendoor.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/macro_opendoor.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** macro_opendoor.py 1 Jul 2004 22:28:52 -0000 1.1
--- macro_opendoor.py 7 Jul 2004 03:14:32 -0000 1.2
***************
*** 18,22 ****
def openDoor( socket, packet ):
! if packet.size != 5 and packet.getShort(3) != 0x5800:
return 0
--- 18,22 ----
def openDoor( socket, packet ):
! if packet.size != 5 and packet.getshort(3) != 0x5800:
return 0
|