[wpdev-commits] xmlscripts/scripts/wolfpack utilities.py,1.57,1.58
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-06-27 10:17:29
|
Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19770/wolfpack Modified Files: utilities.py Log Message: Documentation. Index: utilities.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/utilities.py,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** utilities.py 24 May 2004 14:14:56 -0000 1.57 --- utilities.py 27 Jun 2004 10:17:19 -0000 1.58 *************** *** 22,29 **** """ \function wolfpack.utilities.rolldice ! \param dice ! \param sides ! \param bonus ! \return Integer \description Rolls some dice and returns a result. """ --- 22,32 ---- """ \function wolfpack.utilities.rolldice ! \param dice This is either the number of dice you want to roll or a string representation of the number of dice, the sides ! and the bonus. One of the following would be valid: <code>"2d8+4", "2d8", "1d4-1", "20d10"</code>. ! \param sides Defaults to 6. ! The number of sides each dice should have. ! \param bonus Defaults to 0. ! The bonus that should be added to the result after the dice have been rolled. ! \return The result of the roll as an integer. \description Rolls some dice and returns a result. """ |