Update rerolldicenode.cpp

adding previous result API