D3 (script function)

// Get the total from rolling (nNumDice x d3 dice). // - nNumDice: If this is less than 1, the value 1 will be used. int d3(int nNumDice=1);