Update booleancondition.cpp

getLastRolledValue API calls