Update of /cvsroot/wpdev/xmlscripts/scripts/skills
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25568/skills
Modified Files:
bowcraft.py
Log Message:
Fixed crafting of stackable bowcrafting items.
Index: bowcraft.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/bowcraft.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** bowcraft.py 20 Sep 2004 04:27:07 -0000 1.16
--- bowcraft.py 20 Sep 2004 04:32:19 -0000 1.17
***************
*** 91,103 ****
chance = chance * .01
return chance
-
- #
- # Don't consume any material if the item is marked as stackable.
- #
- def consumematerial(self, player, arguments, half = 0):
- if self.stackable:
- return True
- else:
- return CraftItemAction.consumematerial(player, arguments, half)
#
--- 91,94 ----
|