Update of /cvsroot/wpdev/xmlscripts/scripts/skills
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28767/skills
Modified Files:
blacksmithing.py tinkering.py
Log Message:
removed WEIGHTBONUS
Index: tinkering.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/tinkering.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tinkering.py 16 May 2004 22:04:23 -0000 1.10
--- tinkering.py 9 Oct 2004 23:31:02 -0000 1.11
***************
*** 128,136 ****
item.health = item.maxhealth
- weightbonus = fromitem(item, WEIGHTBONUS)
- if weightbonus != 0:
- bonus = int(math.ceil(item.weight * (weightbonus / 100.0)))
- item.weight = max(0, item.weight + bonus)
-
# Reduce the uses remain count
checktool(player, wolfpack.finditem(arguments[0]), 1)
--- 128,131 ----
Index: blacksmithing.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/blacksmithing.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** blacksmithing.py 8 Sep 2004 04:16:24 -0000 1.21
--- blacksmithing.py 9 Oct 2004 23:30:48 -0000 1.22
***************
*** 179,187 ****
item.health = item.maxhealth
- #weightbonus = fromitem(item, WEIGHTBONUS)
- #if weightbonus != 0:
- #bonus = int(math.ceil(item.weight * (weightbonus / 100.0)))
- #item.weight = max(0, item.weight + bonus)
-
# Distribute another 6 points randomly between the resistances this armor already has
if exceptional:
--- 179,182 ----
|