[wpdev-commits] xmlscripts/scripts/skills fishing.py,1.10,1.11
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-14 01:22:59
|
Update of /cvsroot/wpdev/xmlscripts/scripts/skills In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8980/skills Modified Files: fishing.py Log Message: Fishing fix. Index: fishing.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/fishing.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** fishing.py 2 Sep 2004 00:44:27 -0000 1.10 --- fishing.py 14 Sep 2004 01:22:50 -0000 1.11 *************** *** 10,13 **** --- 10,14 ---- import wolfpack.time import wolfpack.utilities + import wolfpack.console from math import floor import random *************** *** 280,288 **** # Success! if not spawnmonster: ! socket.clilocmessage( 0xf61fc, "", 0x3b2, 3, 0, str(itemname) ) # You pull out an item : else: ! socket.clilocmessage( 0xf61fd, "", 0x3b2, 3, 0, str(itemname) ) # You pull out an item along with a monster : ! def resourceDecayTimer( resource, args ): resource.delete() return --- 281,289 ---- # Success! if not spawnmonster: ! socket.clilocmessage( 0xf61fc, "", 0x3b2, 3, None, str(itemname) ) # You pull out an item : else: ! socket.clilocmessage( 0xf61fd, "", 0x3b2, 3, None, str(itemname) ) # You pull out an item along with a monster : ! def resourceDecayTimer( resource, args ): resource.delete() return |