[wpdev-commits] xmlscripts/scripts blades.py,1.6,1.7
Brought to you by:
rip,
thiagocorrea
From: Richard M. <dr...@us...> - 2004-07-12 01:24:56
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7008 Modified Files: blades.py Log Message: Make sure the sheep are npcs. Index: blades.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/blades.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** blades.py 9 Jul 2004 21:47:45 -0000 1.6 --- blades.py 12 Jul 2004 01:24:48 -0000 1.7 *************** *** 27,31 **** def regrow_wool(char, arguments): ! if char: char.baseid = 'sheep_unsheered' char.id = 207 --- 27,31 ---- def regrow_wool(char, arguments): ! if char.npc: char.baseid = 'sheep_unsheered' char.id = 207 *************** *** 65,69 **** # This is for sheering only ! elif target.char: if target.char.baseid == 'sheep_unsheered': target.char.id = 223 --- 65,69 ---- # This is for sheering only ! elif target.char and target.char.npc: if target.char.baseid == 'sheep_unsheered': target.char.id = 223 |