Update of /cvsroot/wpdev/xmlscripts/scripts/magic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19562/magic
Modified Files:
circle2.py spellbook.py
Log Message:
spellbook updates
Index: spellbook.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/spellbook.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** spellbook.py 14 Sep 2004 03:58:05 -0000 1.11
--- spellbook.py 17 Sep 2004 18:06:53 -0000 1.12
***************
*** 204,208 ****
# This is annoying and eats bandwith but its the only way to "reopen" the spellbook
# once its already open.
! char.socket.removeobject(item)
char.socket.sendobject(item)
--- 204,210 ----
# This is annoying and eats bandwith but its the only way to "reopen" the spellbook
# once its already open.
! #char.socket.removeobject(item)
! if item.container and item.container.isitem():
! char.socket.sendobject(item.container)
char.socket.sendobject(item)
Index: circle2.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/circle2.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** circle2.py 25 Aug 2004 17:03:05 -0000 1.11
--- circle2.py 17 Sep 2004 18:06:53 -0000 1.12
***************
*** 155,159 ****
# Remove Magic Resistance Skill
! amount = 35 - int(char.skill[INSCRIPTION] / 200)
if char.skill[MAGICRESISTANCE] - amount < 0:
amount = char.skill[MAGICRESISTANCE]
--- 155,159 ----
# Remove Magic Resistance Skill
! amount = 350 - int(char.skill[INSCRIPTION] / 200)
if char.skill[MAGICRESISTANCE] - amount < 0:
amount = char.skill[MAGICRESISTANCE]
|