[wpdev-commits] xmlscripts/scripts/skills blacksmithing.py,1.20,1.21
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-08 04:16:44
|
Update of /cvsroot/wpdev/xmlscripts/scripts/skills In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26075/skills Modified Files: blacksmithing.py Log Message: Weightbonus had to be removed. Index: blacksmithing.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/blacksmithing.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** blacksmithing.py 9 Jul 2004 10:30:26 -0000 1.20 --- blacksmithing.py 8 Sep 2004 04:16:24 -0000 1.21 *************** *** 179,186 **** 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 --- 179,186 ---- 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 |