BSKSetValueDice

Module: BSKValue
void BSKSetValueDice( BSKValue* value, 
                      BSKI16  count, 
                      BSKUI16 type,
                      BSKCHAR op,
                      BSKI16  modifier );
Inputs:

Description: Creates a new VT_DICE value using the given count and type of dice, the given operator (must be '+' or '*'), and the given modifier (must be 1 if not used). This allows dice definitions of the type 1d8, 3d10, 1d4+1 and 2d6*100.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)