@vttforge/core / countSuccesses
Function: countSuccesses() ​
countSuccesses(
roll,target,options?):SuccessCount
Count successes on any evaluated roll, from the active results of every die term. Independent of the formula, so it works on a plain 5d6 as well as on a pool built with cs.
Parameters ​
roll ​
target ​
number
options? ​
failAt? ​
number